/* ==========================================================================
   Dog Age Calculator - Fun Playful Theme
   Warm orange/amber palette with playful styling
   ========================================================================== */

/* Override primary colors for fun theme */
.calculator-wrapper h1 {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: white;
}

/* Action Button - Fun orange */
.action-button {
    width: 100%;
    padding: 8px 16px;
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.action-button:hover {
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

/* Age Input Group - Years and Months side by side */
.age-input-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* Input with unit label */
.input-unit-group {
    display: flex;
    gap: 8px;
    align-items: stretch;
}

.input-unit-group .form-input {
    flex: 1;
}

.unit-label {
    min-width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    border: 1px solid #fed7aa;
    border-radius: 4px;
    padding: 0 8px;
    color: #c2410c;
    font-size: 14px;
    font-weight: 500;
}

/* Size hint text */
.size-hint {
    margin-top: 6px;
    font-size: 13px;
    color: #ea580c;
    font-style: italic;
}

/* Primary result - Human Age Display */
.primary-result {
    text-align: center;
    padding: 24px 16px;
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    border-radius: 12px;
    border: 2px solid #fed7aa;
}

.human-age-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.human-age-value {
    font-size: 56px;
    font-weight: 700;
    color: #ea580c;
    line-height: 1;
}

.human-age-label {
    font-size: 18px;
    color: #c2410c;
    font-weight: 500;
}

/* Life Stage Display */
.life-stage-display {
    text-align: center;
    margin-top: 16px;
}

.life-stage-badge {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    text-transform: capitalize;
}

.life-stage-badge.puppy {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #92400e;
    border: 2px solid #fcd34d;
}

.life-stage-badge.adolescent {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #1e40af;
    border: 2px solid #93c5fd;
}

.life-stage-badge.adult {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    color: #166534;
    border: 2px solid #86efac;
}

.life-stage-badge.mature {
    background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%);
    color: #6b21a8;
    border: 2px solid #d8b4fe;
}

.life-stage-badge.senior {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #991b1b;
    border: 2px solid #fca5a5;
}

.life-stage-description {
    margin-top: 16px;
    font-size: 14px;
    color: #78350f;
    line-height: 1.6;
    padding: 12px 16px;
    background: white;
    border-radius: 8px;
    border: 1px solid #fed7aa;
}

/* Results grid */
.results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 16px;
}

.results-item {
    text-align: center;
    font-size: 14px;
    color: #78350f;
    padding: 12px;
    background: white;
    border-radius: 8px;
    border: 1px solid #fed7aa;
}

.results-value {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #ea580c;
    margin-top: 4px;
}

/* FAQ section with fun theme */
.faq-section {
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    border: 2px solid #fed7aa;
    border-radius: 12px;
}

.faq-section h2 {
    color: #ea580c;
}

.faq-item {
    background: white;
    border: 1px solid #fed7aa;
}

.faq-question {
    color: #c2410c;
}

.faq-question:hover {
    background: #fff7ed;
}

.faq-question::after {
    border-color: #ea580c;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .age-input-group {
        grid-template-columns: 1fr;
    }

    .results-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .human-age-value {
        font-size: 48px;
    }
}

@media (max-width: 480px) {
    .human-age-value {
        font-size: 42px;
    }

    .human-age-label {
        font-size: 16px;
    }
}
