/* ===============================================
   RETIREMENT CALCULATOR - USING MODERNTOOLS UNIFIED THEME
   =============================================== */

/* Use modern tools color scheme */
:root {
    --primary-color: #3B82F6;
    --secondary-color: #10B981;
    --accent-color: #8B5CF6;
    --text-color: #111827;
    --text-secondary: #4B5563;
    --text-tertiary: #6B7280;
    --bg-primary: #FFFFFF;
    --bg-secondary: #F9FAFB;
    --bg-tertiary: #F3F4F6;
    --border-color: #E5E7EB;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --radius-base: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;    
    --radius-2xl: 1.5rem;
    
    /* Gray color scale for consistency */
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    
    /* Additional colors for retirement calculator functionality */
    --success-color: #10B981;
    --warning-color: #F59E0B;
    --danger-color: #EF4444;
    --info-color: #3B82F6;
    
    /* Chart colors */
    --chart-primary: #3B82F6;
    --chart-secondary: #10B981;
    --chart-tertiary: #8B5CF6;
    --chart-quaternary: #F59E0B;
    
    /* Aliases for compatibility */
    --brand-primary: var(--primary-color);
    --brand-secondary: var(--secondary-color);
    --text-primary: var(--text-color);
}

/* Dark theme using exact same colors as percentage calculator */
[data-theme="dark"] {
    --text-color: #F9FAFB;
    --text-secondary: #D1D5DB;
    --text-tertiary: #9CA3AF;
    --bg-primary: #111827;
    --bg-secondary: #1F2937;
    --bg-tertiary: #374151;
    --border-color: #374151;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    
    /* Gray color scale for dark theme */
    --gray-100: #374151;
    --gray-200: #4B5563;
    --gray-300: #6B7280;
    --gray-400: #9CA3AF;
    
    /* Aliases for compatibility */
    --brand-primary: var(--primary-color);
    --brand-secondary: var(--secondary-color);
    --text-primary: var(--text-color);
}

/* Theme-aware background support */
body {
    background: var(--bg-primary);
}

[data-theme="dark"] body {
    background: var(--bg-primary);
}

/* Main Layout */
.main-content {
    min-height: 100vh;
}

/* ===============================================
   HERO SECTION STYLES (Based on percentage calculator)
   =============================================== */

.tool-hero {
    margin-top: 0;
    padding: 120px 0 80px;
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, var(--bg-primary) 0%, rgba(59, 130, 246, 0.1) 30%, rgba(16, 185, 129, 0.1) 70%, var(--bg-primary) 100%);
    overflow: hidden;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 3;
}

.hero-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    margin: 0 auto 30px auto;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--accent-color) 100%);
    border-radius: 50%;
    box-shadow: 
        0 15px 35px rgba(59, 130, 246, 0.4),
        0 0 0 10px rgba(59, 130, 246, 0.1),
        0 0 0 20px rgba(59, 130, 246, 0.05);
    /* animation: retirementIconFloat 4s ease-in-out infinite; */
    position: relative;
    overflow: hidden;
}

/* Remove hero icon float animation */
/* @keyframes retirementIconFloat {
    0%, 100% { transform: translateY(0px) scale(1) rotate(0deg); }
    25% { transform: translateY(-5px) scale(1.02) rotate(-2deg); }
    75% { transform: translateY(-2px) scale(1.01) rotate(2deg); }
} */

.hero-icon::before {
    content: '';
    position: absolute;
    inset: -5px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    border-radius: 50%;
    z-index: -1;
    opacity: 0.4;
    /* animation: heroIconGlow 3s ease-in-out infinite; */
}

/* Remove hero icon glow animation */
/* @keyframes heroIconGlow {
    0%, 100% { transform: scale(1); opacity: 0.4; }
    50% { transform: scale(1.2); opacity: 0.7; }
} */

.hero-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: conic-gradient(
        from 0deg, 
        var(--primary-color) 0%, 
        var(--secondary-color) 25%, 
        var(--accent-color) 50%, 
        var(--primary-color) 75%, 
        var(--secondary-color) 100%
    );
    border-radius: 50%;
    z-index: -2;
    opacity: 0.2;
    /* animation: retirementIconRotate 12s linear infinite; */
}

/* Remove hero icon rotate animation */
/* @keyframes retirementIconRotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
} */

.hero-icon i {
    font-size: 3rem;
    color: white;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    /* animation: retirementIconBounce 6s ease-in-out infinite; */
    z-index: 2;
}

/* Remove hero icon bounce animation */
/* @keyframes retirementIconBounce {
    0%, 100% { transform: scale(1) rotate(0deg); }
    25% { transform: scale(1.1) rotate(-5deg); }
    75% { transform: scale(1.05) rotate(5deg); }
} */

.hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-color);
    margin: 0 0 20px 0;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, var(--text-color) 0%, var(--primary-color) 50%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: heroTitleShine 4s ease-in-out infinite;
}

@keyframes heroTitleShine {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-content p {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    animation: heroDescriptionFade 3s ease-in-out infinite;
}

@keyframes heroDescriptionFade {
    0%, 100% { opacity: 0.9; }
    50% { opacity: 1; }
}

/* Responsive hero adjustments */
@media (max-width: 768px) {
    .hero-icon {
        width: 80px;
        height: 80px;
        margin-bottom: 25px;
    }
    
    .hero-icon i {
        font-size: 2.5rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }
    
    .hero-content p {
        font-size: 1.1rem;
        padding: 0 20px;
    }
}

@media (max-width: 480px) {    
    .hero-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }
    
    .hero-icon i {
        font-size: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
        margin-bottom: 12px;
    }
    
    .hero-content p {
        font-size: 1rem;
        padding: 0 15px;
    }
}

/* ===============================================
   CALCULATOR SECTION STYLES
   =============================================== */

.calculator-main {
    padding: 4rem 0;
    background: var(--bg-primary);
}

[data-theme="dark"] .calculator-main {
    background: var(--bg-primary);
}

/* Calculator Container */
.calculator-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Calculator Tabs */
.calculator-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
    background: var(--bg-secondary);
    padding: 0.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
}

[data-theme="dark"] .calculator-tabs {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tab-button {
    flex: 1;
    min-width: 120px;
    padding: 0.75rem 1rem;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    border-radius: var(--radius-lg);
    font-weight: 500;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.tab-button:hover {
    background: var(--gray-100);
    color: var(--text-primary);
}

.tab-button.active {
    background: var(--brand-primary);
    color: white;
    box-shadow: var(--shadow-sm);
}

[data-theme="dark"] .tab-button {
    color: rgba(255, 255, 255, 0.7);
}

[data-theme="dark"] .tab-button:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

[data-theme="dark"] .tab-button.active {
    background: var(--brand-primary);
    color: white;
}

/* Calculator Card */
.calculator-card {
    background: var(--bg-primary);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
    overflow: hidden;
}

[data-theme="dark"] .calculator-card {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Display Area */
.calculator-display {
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
    color: white;
    padding: 2rem;
    text-align: center;
}

.display-result {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    word-break: break-all;
}

.result-value {
    font-family: 'Inter', monospace;
}

.result-unit {
    font-size: 1.25rem;
    opacity: 0.8;
    margin-left: 0.5rem;
}

.display-formula {
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 500;
}

/* Input Sections */
.calculator-inputs {
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    margin: 0 2rem 1.5rem;
    margin-top: 1rem;
}

[data-theme="dark"] .calculator-inputs {
    background: rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.input-section {
    display: none;
}

.input-section.active {
    display: block;
}

/* Input Grid Layout */
.input-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    font-size: 1rem;
    font-weight: 500;
    background: var(--bg-secondary);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.input-group input:focus,
.input-group select:focus {
    outline: none;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    background: var(--bg-primary);
}

.input-group input::placeholder {
    color: var(--text-tertiary);
}

[data-theme="dark"] .input-group input,
[data-theme="dark"] .input-group select {
    background: rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
}

[data-theme="dark"] .input-group input:focus,
[data-theme="dark"] .input-group select:focus {
    background: rgba(0, 0, 0, 0.3);
    border-color: var(--brand-primary);
}

/* Social Security Optimization */
.ss-optimization,
.strategy-explanation {
    background: var(--bg-primary);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-top: 1.5rem;
}

[data-theme="dark"] .ss-optimization,
[data-theme="dark"] .strategy-explanation {
    background: rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.1);
}

.ss-optimization h4,
.strategy-explanation h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.optimization-results,
.strategy-explanation p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Scenario Tabs */
.scenario-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.scenario-btn {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid var(--gray-200);
    background: var(--bg-secondary);
    color: var(--text-secondary);
    border-radius: var(--radius-lg);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.scenario-btn:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
}

.scenario-btn.active {
    background: var(--brand-primary);
    color: white;
    border-color: var(--brand-primary);
}

[data-theme="dark"] .scenario-btn {
    background: rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
}

[data-theme="dark"] .scenario-btn.active {
    background: var(--brand-primary);
    color: white;
}

/* Action Buttons */
.calculator-actions {
    display: flex;
    gap: 1rem;
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    margin: 0 2rem 1.5rem;
}

[data-theme="dark"] .calculator-actions {
    background: rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-calculator {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-clear {
    background: var(--gray-100);
    color: var(--text-secondary);
    border: 2px solid var(--gray-200);
}

.btn-clear:hover {
    background: var(--gray-200);
    color: var(--text-primary);
    transform: translateY(-1px);
}

.btn-calculate {
    background: var(--brand-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-calculate:hover {
    background: var(--brand-secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

[data-theme="dark"] .btn-clear {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    border-color: rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .btn-clear:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

/* Results Summary */
.results-summary {
    background: var(--bg-primary);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 1.5rem 2rem;
    margin: 0 2rem 1.5rem;
    box-shadow: var(--shadow-sm);
    display: none; /* Initially hidden for fade-in animation */
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

[data-theme="dark"] .results-summary {
    background: rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.1);
}

.results-summary h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--gray-100);
}

[data-theme="dark"] .results-summary h3 {
    border-color: rgba(255, 255, 255, 0.1);
}

.result-items {
    display: grid;
    gap: 1rem;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
}

[data-theme="dark"] .result-item {
    background: rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.1);
}

.result-label {
    font-weight: 500;
    color: var(--text-secondary);
}

.result-value {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1.1rem;
}

/* Charts Container */
.charts-container {
    margin: 0 2rem 1.5rem;
    display: none; /* Initially hidden for fade-in animation */
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

.chart-section {
    background: var(--bg-primary);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

[data-theme="dark"] .chart-section {
    background: rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.1);
}

.chart-section h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.chart-section canvas {
    max-width: 100%;
    height: 300px;
}

/* Specific chart heights */
#savingsChart {
    height: 450px !important; /* Savings growth needs more height */
}

#strategyChart {
    height: 480px !important; /* Strategy comparison is compact */
}

#incomeChart {
    height: 450px !important; /* Income projection - prevent stretching */
}

/* Detailed Breakdown */
.detailed-breakdown {
    background: var(--bg-primary);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 1.5rem 2rem;
    margin: 0 2rem 1.5rem;
    box-shadow: var(--shadow-sm);
    display: none; /* Initially hidden for fade-in animation */
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

[data-theme="dark"] .detailed-breakdown {
    background: rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.1);
}

.detailed-breakdown h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--gray-100);
}

[data-theme="dark"] .detailed-breakdown h3 {
    border-color: rgba(255, 255, 255, 0.1);
}

.breakdown-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.breakdown-tab {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid var(--gray-200);
    background: var(--bg-secondary);
    color: var(--text-secondary);
    border-radius: var(--radius-lg);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.breakdown-tab:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
}

.breakdown-tab.active {
    background: var(--brand-primary);
    color: white;
    border-color: var(--brand-primary);
}

[data-theme="dark"] .breakdown-tab {
    background: rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
}

[data-theme="dark"] .breakdown-tab.active {
    background: var(--brand-primary);
    color: white;
}

.breakdown-content {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    min-height: 200px;
}

[data-theme="dark"] .breakdown-content {
    background: rgba(0, 0, 0, 0.15);
}

/* Quick Tips */
.quick-tips {
    background: var(--bg-primary);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    box-shadow: var(--shadow-sm);
}

[data-theme="dark"] .quick-tips {
    background: rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.1);
}

.quick-tips h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.tip-item {
    background: var(--bg-secondary);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}

[data-theme="dark"] .tip-item {
    background: rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.1);
}

.tip-item h4 {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.tip-item p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .calculator-container {
        padding: 0 1rem;
    }
    
    .calculator-tabs {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .tab-button {
        min-width: auto;
        text-align: center;
    }
    
    .input-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .calculator-inputs,
    .calculator-actions,
    .results-summary,
    .charts-container,
    .detailed-breakdown {
        margin: 0 1rem 1rem;
        padding: 1.5rem;
    }
    
    .calculator-actions {
        flex-direction: column;
    }
    
    .tips-grid {
        grid-template-columns: 1fr;
    }
    
    .scenario-tabs,
    .breakdown-tabs {
        flex-direction: column;
    }
      .chart-section canvas {
        height: 250px;
    }
    
    /* Adjust specific chart heights for mobile */
    #savingsChart {
        height: 280px !important;
    }
    
    #strategyChart {
        height: 220px !important;
    }
    
    #incomeChart {
        height: 200px !important;
    }
}

@media (max-width: 480px) {
    .display-result {
        font-size: 2rem;
    }
    
    .result-unit {
        font-size: 1rem;
    }
    
    .calculator-inputs,
    .calculator-actions,
    .results-summary,
    .charts-container,
    .detailed-breakdown {
        margin: 0 0.5rem 1rem;
        padding: 1rem;
    }
    
    .quick-tips {
        margin: 1rem 0;
        padding: 1rem;
    }
      .chart-section canvas {
        height: 200px;
    }
    
    /* Even smaller chart heights for very small screens */
    #savingsChart {
        height: 220px !important;
    }
    
    #strategyChart {
        height: 180px !important;
    }
    
    #incomeChart {
        height: 160px !important;
    }
}

/* Loading and Animation States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.fade-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Color coding for results */
.positive-result {
    color: var(--success-color);
}

.negative-result {
    color: var(--danger-color);
}

.warning-result {
    color: var(--warning-color);
}

/* Utility classes */
.text-center {
    text-align: center;
}

.mt-2 {
    margin-top: 1rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.hidden {
    display: none;
}

.show-more {
    grid-template-columns: 1fr;
    text-align: center;
    font-style: italic;
    color: var(--primary-color);
    background: linear-gradient(90deg, var(--bg-secondary) 60%, var(--accent-color) 100%);
    border: 1.5px dashed var(--primary-color);
    border-radius: var(--radius-base);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    margin: 0.5rem 0;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border 0.2s;
}

.show-more:hover, .show-more:focus {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--accent-color);
    outline: none;
}

[data-theme="dark"] .show-more {
    color: var(--accent-color);
    background: linear-gradient(90deg, var(--bg-secondary) 60%, var(--primary-color) 100%);
    border-color: var(--accent-color);
}

[data-theme="dark"] .show-more:hover, [data-theme="dark"] .show-more:focus {
    background: var(--accent-color);
    color: #fff;
    border-color: var(--primary-color);
}
