/* ==========================================================================
   Cat Age Calculator - Fun Playful Theme
   Teal/Purple gradient palette with playful styling
   ========================================================================== */

/* Override primary colors for fun teal/purple theme */
.calculator-wrapper h1 {
    background: linear-gradient(135deg, #06b6d4 0%, #8b5cf6 100%);
    color: white;
}

/* Action Button - Fun teal to purple gradient */
.action-button {
    width: 100%;
    padding: 8px 16px;
    background: linear-gradient(135deg, #06b6d4 0%, #8b5cf6 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, #0891b2 0%, #7c3aed 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 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, #ecfeff 0%, #f3e8ff 100%);
    border: 1px solid #a5f3fc;
    border-radius: 4px;
    padding: 0 8px;
    color: #0891b2;
    font-size: 14px;
    font-weight: 500;
}

/* Type hint text */
.type-hint {
    margin-top: 6px;
    font-size: 13px;
    color: #7c3aed;
    font-style: italic;
}

/* Primary result - Human Age Display */
.primary-result {
    text-align: center;
    padding: 24px 16px;
    background: linear-gradient(135deg, #ecfeff 0%, #f3e8ff 100%);
    border-radius: 12px;
    border: 2px solid #a5f3fc;
}

.human-age-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.human-age-value {
    font-size: 56px;
    font-weight: 700;
    background: linear-gradient(135deg, #06b6d4 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.human-age-label {
    font-size: 18px;
    color: #0891b2;
    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;
}

/* Kitten - Playful pink */
.life-stage-badge.kitten {
    background: linear-gradient(135deg, #fce7f3 0%, #fbcfe8 100%);
    color: #9d174d;
    border: 2px solid #f9a8d4;
}

/* Junior - Energetic cyan */
.life-stage-badge.junior {
    background: linear-gradient(135deg, #cffafe 0%, #a5f3fc 100%);
    color: #0e7490;
    border: 2px solid #67e8f9;
}

/* Adult - Confident teal */
.life-stage-badge.adult {
    background: linear-gradient(135deg, #ccfbf1 0%, #99f6e4 100%);
    color: #0f766e;
    border: 2px solid #5eead4;
}

/* Mature - Dignified purple */
.life-stage-badge.mature {
    background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%);
    color: #6d28d9;
    border: 2px solid #c4b5fd;
}

/* Senior - Wise indigo */
.life-stage-badge.senior {
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
    color: #4338ca;
    border: 2px solid #a5b4fc;
}

/* Geriatric - Distinguished slate with purple */
.life-stage-badge.geriatric {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    color: #475569;
    border: 2px solid #cbd5e1;
}

.life-stage-description {
    margin-top: 16px;
    font-size: 14px;
    color: #4c1d95;
    line-height: 1.6;
    padding: 12px 16px;
    background: white;
    border-radius: 8px;
    border: 1px solid #c4b5fd;
}

/* Care Tips Section */
.care-tips-section {
    margin-top: 16px;
}

.care-tips {
    font-size: 14px;
    color: #0f766e;
    line-height: 1.6;
    padding: 12px 16px;
    background: linear-gradient(135deg, #f0fdfa 0%, #ccfbf1 100%);
    border-radius: 8px;
    border: 1px solid #5eead4;
    margin-top: 12px;
}

/* 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: #4c1d95;
    padding: 12px;
    background: white;
    border-radius: 8px;
    border: 1px solid #c4b5fd;
}

.results-value {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #7c3aed;
    margin-top: 4px;
}

/* FAQ section with fun theme */
.faq-section {
    background: linear-gradient(135deg, #ecfeff 0%, #f3e8ff 100%);
    border: 2px solid #a5f3fc;
    border-radius: 12px;
}

.faq-section h2 {
    color: #7c3aed;
}

.faq-item {
    background: white;
    border: 1px solid #c4b5fd;
}

.faq-question {
    color: #0891b2;
}

.faq-question:hover {
    background: linear-gradient(135deg, #ecfeff 0%, #f3e8ff 100%);
}

.faq-question::after {
    border-color: #7c3aed;
}

/* Override results section title color */
.results-section-title {
    color: #7c3aed;
}

/* 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;
    }
}
