/* css/pages/problem_solving.css */

/* =========================================
   Top Section
   ========================================= */

.section-title {
    text-align: left;
}

.section-title .line {
    margin: 0;
    width: 100px;
    height: 4px;
    background: linear-gradient(to right, #74b9ff, #a29bfe); /* Re-creating probable style.css gradient */
    border-radius: 2px;
}

.section-title h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #1e293b, #334155);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.content-body {
    margin-top: 2rem;
    line-height: 1.8;
    color: #475569;
}

.gradient-text-sub {
    /* was h3, now h2 - class handles style */
    background: linear-gradient(135deg, #10b981, #3b82f6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

/* =========================================
   Visual Concept Area
   ========================================= */
.visual-concept {
    margin: 4rem 0;
    text-align: center;
}

.visual-concept h3 {
    color: var(--accent-color);
    margin-bottom: 2rem;
    font-size: 1rem; /* Match typical H4 size */
    font-weight: bold;
}

.visual-concept p.text-left {
    text-align: left;
}

/* =========================================
   Badges (Shout Bubbles)
   ========================================= */
.feeling-shout {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.badge {
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: bold;
    display: inline-block;
}

.badge-orange {
    background: #fef3c7;
    color: #d97706;
    border: 1px solid #fcd34d;
}

.badge-green {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #86efac;
}

.badge-blue {
    background: #dbeafe;
    color: #1e40af;
    border: 1px solid #93c5fd;
}

/* =========================================
   Imagination CheckBox
   ========================================= */
.imagination-box {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
    text-align: left;
    border: 1px dashed #cbd5e1;
}

.imagination-list {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.imagination-list li {
    margin-bottom: 0.5rem;
}

/* =========================================
   Formula Section
   ========================================= */
.formula-box {
    margin: 4rem 0;
    padding: 2.5rem;
    background: #f8fafc;
    border-radius: 16px;
    border: 2px solid #e2e8f0;
    text-align: center;
}

.formula-box h3 {
    margin-bottom: 2rem;
    color: #1e293b;
    font-size: 1rem; /* Match H4 */
    font-weight: bold;
}

.formula-box span {
    display: inline-block;
    transition: transform 0.3s ease;
}

.formula-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 1.2rem;
    flex-wrap: wrap;
}

.bad-formula {
    margin-bottom: 3rem;
}

.bad-formula .label {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.bad-formula .item {
    background: #fee2e2;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.bad-formula .result {
    font-weight: bold;
    color: #ef4444;
}

.bad-formula .desc {
    margin-top: 1rem;
    font-size: 0.9rem;
}

.good-formula .label {
    color: #059669;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.good-formula .item {
    background: #d1fae5;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.good-formula .item.bold {
    font-weight: bold;
}

.good-formula .method {
    border: 2px dashed #10b981;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    color: #059669;
    font-weight: bold;
}

.good-formula .desc {
    margin-top: 1rem;
    font-size: 0.9rem;
}

.good-formula span:hover {
    transform: scale(1.05);
}

/* =========================================
   Example Box
   ========================================= */
.example-box {
    background: #f1f5f9;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.example-list {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

/* =========================================
   Method Section
   ========================================= */
.method-section {
    margin-top: 4rem;
    padding: 2rem;
    background: #f0fdf4;
    border-radius: 12px;
    border: 1px solid #dcfce7;
}

.method-section h3 {
    color: #166534;
    font-size: 1.3rem; /* Preserved from original */
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.hints-area {
    margin-top: 1.5rem;
    border-top: 1px dashed #86efac;
    padding-top: 1.5rem;
}

.hints-list {
    margin-left: 1.5rem;
}

/* =========================================
   Conclusion Messages
   ========================================= */
.message-bold {
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
    color: #1e293b;
    margin-top: 3rem;
}

.final-message {
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
    color: #ea580c;
    margin-top: 3rem;
    background: #fff7ed;
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid #fed7aa;
}

/* =========================================
   Others (Sidebar etc)
   ========================================= */
.sidebar .profile-mini .placeholder-img {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    aspect-ratio: 1/1;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eee;
    color: #888;
}

/* Legacy nav footer override if needed */
.method-nav .btn {
    /* Specific overrides if base.css btn behaves differently */
}

/* =========================================
   Additional Typography matching legacy inline
   ========================================= */
.section-sub-title {
    color: #1e293b;
    margin-top: 3rem;
    margin-bottom: 1rem;
    font-size: 1rem; /* Match H4 */
    font-weight: bold;
}
