/* FIRE Calculator Specific Styles */

.calculator-container {
    max-width: 800px;
    margin: 0 auto;
}

.input-section {
    background: #f8fffe;
    border: 1px solid #e1f5e1;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.input-section h3 {
    color: #2d5a3d;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #3d8a59;
    font-size: 1.2rem;
}

.input-group {
    margin-bottom: 1.2rem;
}

.input-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: #2d5a3d;
    font-size: 0.95rem;
}

.input-group input {
    width: 100%;
    padding: 0.7rem;
    border: 1px solid #cfd8dc;
    border-radius: 6px;
    font-size: 1rem;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.input-group input:focus {
    border-color: #3d8a59;
    box-shadow: 0 0 0 2px rgba(61, 138, 89, 0.1);
    outline: none;
}

.input-group small {
    display: block;
    color: #666;
    font-size: 0.85rem;
    margin-top: 0.3rem;
    font-style: italic;
}

.professional-btn {
    background: linear-gradient(135deg, #3d8a59 0%, #2d5a3d 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0.9rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 1rem;
    box-shadow: 0 2px 4px rgba(61, 138, 89, 0.2);
}

.professional-btn:hover {
    background: linear-gradient(135deg, #2d5a3d 0%, #1e3d29 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(61, 138, 89, 0.3);
}

.professional-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(61, 138, 89, 0.2);
}

.professional-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.results-section {
    background: #fff;
    border: 1px solid #e1f5e1;
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.results-section h3 {
    color: #2d5a3d;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    text-align: center;
}

.fire-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.fire-metric {
    background: linear-gradient(135deg, #f8fffe 0%, #e8f5e8 100%);
    border: 1px solid #3d8a59;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
}

.fire-metric h4 {
    color: #2d5a3d;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.fire-metric .value {
    font-size: 1.4rem;
    font-weight: bold;
    color: #3d8a59;
}

.fire-scenarios {
    margin-top: 2rem;
    padding: 1rem;
    background: #f4f8fb;
    border-radius: 6px;
}

.fire-scenarios h4 {
    color: #2d5a3d;
    margin-bottom: 1rem;
    text-align: center;
}

.scenarios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.scenario-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 1rem;
    text-align: center;
    transition: all 0.2s;
}

.scenario-card:hover {
    border-color: #3d8a59;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.scenario-card h5 {
    color: #2d5a3d;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.scenario-card .amount {
    font-size: 1.2rem;
    font-weight: bold;
    color: #3d8a59;
    margin-bottom: 0.3rem;
}

.scenario-card .timeline {
    color: #666;
    font-size: 0.9rem;
}

.projection-details {
    margin-top: 2rem;
    padding: 1rem;
    background: #fff;
    border: 1px solid #e1e1e1;
    border-radius: 6px;
}

.projection-details h4 {
    color: #2d5a3d;
    margin-bottom: 1rem;
}

.projection-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.projection-item:last-child {
    border-bottom: none;
}

.projection-label {
    font-weight: 500;
    color: #333;
}

.projection-value {
    font-weight: bold;
    color: #3d8a59;
}

.warning-box {
    background: #fff3cd;
    border: 2px solid #856404;
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
    color: #856404;
}

.warning-box strong {
    display: block;
    margin-bottom: 0.5rem;
}

.success-box {
    background: #d4edda;
    border: 2px solid #28a745;
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
    color: #155724;
}

.success-box strong {
    display: block;
    margin-bottom: 0.5rem;
}

.seo-content {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #e1f5e1;
}

.seo-content h2 {
    color: #2d5a3d;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.seo-content h3 {
    color: #3d8a59;
    font-size: 1.4rem;
    margin: 1.5rem 0 0.8rem 0;
}

.seo-content h4 {
    color: #2d5a3d;
    font-size: 1.1rem;
    margin: 1rem 0 0.5rem 0;
}

.seo-content p {
    line-height: 1.6;
    margin-bottom: 1rem;
    color: #333;
}

.seo-content ul,
.seo-content ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

.seo-content li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

/* Dark Mode Styles */
[data-theme="dark"] .input-section {
    background: #1a2a1a;
    border-color: #3d8a59;
}

[data-theme="dark"] .input-group input {
    background: #2a2a2a;
    border-color: #444;
    color: #fff;
}

[data-theme="dark"] .input-group input:focus {
    border-color: #3d8a59;
    box-shadow: 0 0 0 2px rgba(61, 138, 89, 0.2);
}

[data-theme="dark"] .results-section {
    background: #1a1a1a;
    border-color: #3d8a59;
}

[data-theme="dark"] .fire-metric {
    background: linear-gradient(135deg, #1a2a1a 0%, #2a3a2a 100%);
    border-color: #3d8a59;
}

[data-theme="dark"] .scenario-card {
    background: #2a2a2a;
    border-color: #444;
}

[data-theme="dark"] .scenario-card:hover {
    border-color: #3d8a59;
}

[data-theme="dark"] .projection-details {
    background: #2a2a2a;
    border-color: #444;
}

[data-theme="dark"] .projection-item {
    border-bottom-color: #444;
}

[data-theme="dark"] .fire-scenarios {
    background: #1a1a1a;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .calculator-container {
        margin: 0;
        padding: 0 0.5rem;
    }
    
    .input-section {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .fire-summary {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .scenarios-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .fire-metric {
        padding: 0.8rem;
    }
    
    .fire-metric .value {
        font-size: 1.2rem;
    }
    
    .professional-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .projection-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
    }
}