/**
 * Vanilla Climate Calculator - Styles
 */

:root {
    --vanilla-green: #2C4A3E;
    --amber: #8B6914;
    --gold: #D4A853;
    --cream: #FDF8F3;
    --light-green: #E8F0EC;
    --text-dark: #1A2E24;
    --text-muted: #5A6B63;
    --success: #22A55B;
    --warning: #E9A526;
    --danger: #DC3545;
}

.vanilla-climate-container {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    background: linear-gradient(135deg, var(--cream) 0%, var(--light-green) 100%);
    min-height: 400px;
    border-radius: 20px;
}

.vanilla-climate-header {
    text-align: center;
    margin-bottom: 35px;
}

.vanilla-climate-logo {
    font-size: 1.1rem;
    color: var(--vanilla-green);
    margin-bottom: 12px;
    font-weight: 600;
}

.vanilla-climate-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--vanilla-green);
    margin-bottom: 15px;
    line-height: 1.2;
}

.vanilla-climate-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.vanilla-climate-card {
    background: white;
    border-radius: 20px;
    padding: 35px 30px;
    box-shadow: 0 15px 50px rgba(44, 74, 62, 0.12);
    margin-bottom: 25px;
}

.vanilla-climate-label {
    font-weight: 600;
    color: var(--vanilla-green);
    margin-bottom: 12px;
    font-size: 1rem;
}

.vanilla-climate-input-group {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
}

.vanilla-climate-input {
    flex: 1;
    padding: 16px 20px;
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.vanilla-climate-input:focus {
    outline: none;
    border-color: var(--vanilla-green);
}

.vanilla-climate-btn {
    padding: 16px 30px;
    background: var(--vanilla-green);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.vanilla-climate-btn:hover {
    background: var(--amber);
    transform: translateY(-2px);
}

.vanilla-climate-hint {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.vanilla-climate-quick {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #E5E7EB;
}

.vanilla-climate-quick-title {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.vanilla-climate-quick-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.vanilla-climate-quick-btn {
    padding: 8px 14px;
    background: var(--cream);
    border: 2px solid transparent;
    border-radius: 20px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-dark);
}

.vanilla-climate-quick-btn:hover {
    border-color: var(--vanilla-green);
    background: var(--light-green);
}

/* Results */
.vanilla-climate-results {
    display: none;
}

.vanilla-climate-results.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.vanilla-climate-location {
    background: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 10px 40px rgba(44, 74, 62, 0.1);
    margin-bottom: 20px;
    text-align: center;
}

.vanilla-climate-location-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--light-green);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--vanilla-green);
    font-weight: 600;
    margin-bottom: 12px;
}

.vanilla-climate-location-name {
    font-size: 1.8rem;
    color: var(--vanilla-green);
    margin-bottom: 5px;
}

.vanilla-climate-location-coords {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.vanilla-climate-score {
    background: linear-gradient(135deg, var(--vanilla-green) 0%, #1a3a2d 100%);
    border-radius: 24px;
    padding: 35px;
    color: white;
    margin-bottom: 20px;
    text-align: center;
}

.vanilla-climate-score-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.9;
    margin-bottom: 8px;
}

.vanilla-climate-score-value {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.vanilla-climate-score-text {
    font-size: 1.2rem;
    margin-bottom: 15px;
    opacity: 0.95;
}

.vanilla-climate-score-bar {
    height: 10px;
    background: rgba(255,255,255,0.2);
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 12px;
}

.vanilla-climate-score-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--gold), #F5D98E);
    border-radius: 5px;
    transition: width 1s ease;
}

.vanilla-climate-score-desc {
    font-size: 0.95rem;
    opacity: 0.9;
    max-width: 500px;
    margin: 0 auto;
}

.vanilla-climate-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.vanilla-climate-metric {
    background: white;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 5px 25px rgba(44, 74, 62, 0.08);
}

.vanilla-climate-metric-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.vanilla-climate-metric-icon {
    width: 40px;
    height: 40px;
    background: var(--light-green);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.vanilla-climate-metric-title {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.vanilla-climate-metric-value {
    font-size: 1.8rem;
    color: var(--vanilla-green);
    font-weight: 700;
    margin-bottom: 3px;
}

.vanilla-climate-metric-detail {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.vanilla-climate-metric-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.vanilla-climate-metric-status.good {
    background: rgba(34, 165, 91, 0.1);
    color: var(--success);
}

.vanilla-climate-metric-status.warning {
    background: rgba(233, 165, 38, 0.1);
    color: var(--warning);
}

.vanilla-climate-metric-status.danger {
    background: rgba(220, 53, 69, 0.1);
    color: var(--danger);
}

.vanilla-climate-requirements {
    background: white;
    border-radius: 18px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(44, 74, 62, 0.1);
    margin-bottom: 20px;
}

.vanilla-climate-requirements-title {
    font-size: 1.3rem;
    color: var(--vanilla-green);
    margin-bottom: 20px;
    text-align: center;
}

.vanilla-climate-requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
}

.vanilla-climate-requirement {
    padding: 15px;
    background: var(--cream);
    border-radius: 10px;
    text-align: center;
}

.vanilla-climate-requirement-icon {
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.vanilla-climate-requirement-name {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
    font-size: 0.9rem;
}

.vanilla-climate-requirement-value {
    font-size: 1rem;
    color: var(--vanilla-green);
    font-weight: 600;
}

.vanilla-climate-requirement-match {
    margin-top: 8px;
    font-size: 0.8rem;
    font-weight: 600;
}

.vanilla-climate-requirement-match.yes { color: var(--success); }
.vanilla-climate-requirement-match.partial { color: var(--warning); }
.vanilla-climate-requirement-match.no { color: var(--danger); }

.vanilla-climate-recommendations {
    background: linear-gradient(135deg, var(--vanilla-green) 0%, var(--amber) 100%);
    border-radius: 18px;
    padding: 30px;
    color: white;
    margin-bottom: 20px;
}

.vanilla-climate-recommendations-title {
    font-size: 1.3rem;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.vanilla-climate-recommendation {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.vanilla-climate-recommendation:last-child {
    border-bottom: none;
}

.vanilla-climate-recommendation-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
}

.vanilla-climate-recommendation-text {
    font-size: 0.95rem;
    line-height: 1.6;
}

.vanilla-climate-cta {
    background: white;
    border-radius: 18px;
    padding: 35px;
    box-shadow: 0 15px 50px rgba(44, 74, 62, 0.12);
    text-align: center;
}

.vanilla-climate-cta-title {
    font-size: 1.6rem;
    color: var(--vanilla-green);
    margin-bottom: 12px;
}

.vanilla-climate-cta-desc {
    color: var(--text-muted);
    margin-bottom: 20px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.vanilla-climate-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.vanilla-climate-cta-btn {
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.vanilla-climate-cta-btn.primary {
    background: var(--vanilla-green);
    color: white;
}

.vanilla-climate-cta-btn.primary:hover {
    background: var(--amber);
    transform: translateY(-2px);
}

.vanilla-climate-cta-btn.secondary {
    background: transparent;
    border: 2px solid var(--vanilla-green);
    color: var(--vanilla-green);
}

.vanilla-climate-cta-btn.secondary:hover {
    background: var(--light-green);
}

/* Info Section */
.vanilla-climate-info {
    background: white;
    border-radius: 18px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(44, 74, 62, 0.1);
    margin-top: 25px;
}

.vanilla-climate-info-title {
    font-size: 1.3rem;
    color: var(--vanilla-green);
    margin-bottom: 18px;
}

.vanilla-climate-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.vanilla-climate-info-card {
    padding: 18px;
    background: var(--cream);
    border-radius: 10px;
}

.vanilla-climate-info-card-title {
    font-weight: 600;
    color: var(--vanilla-green);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.vanilla-climate-info-card-text {
    font-size: 0.9rem;
    color: var(--text-dark);
    line-height: 1.7;
}

.vanilla-climate-hidden {
    display: none;
}

/* Mobile */
@media (max-width: 600px) {
    .vanilla-climate-title {
        font-size: 1.6rem;
    }

    .vanilla-climate-input-group {
        flex-direction: column;
    }

    .vanilla-climate-btn {
        width: 100%;
    }

    .vanilla-climate-score-value {
        font-size: 2.8rem;
    }
}