/* ==========================================
   Age Calculator Page Stylesheet
   File Location: css/age-calculator.css
   ========================================== */

.hero-section {
    text-align: center;
    margin-bottom: 2rem;
}

.tool-box-container {
    max-width: 550px;
    margin: 0 auto;
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

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

.input-group label {
    display: block;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.input-group input[type="date"] {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 1rem;
    color: #0f172a;
    outline: none;
    box-sizing: border-box;
}

.tool-box-container .btn {
    width: 100%;
    padding: 0.8rem;
    background: #2563eb;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.tool-box-container .btn:hover {
    background: #1d4ed8;
}

/* Result Box Styles */
#result {
    margin-top: 1.5rem;
}

.result-card {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    padding: 1.25rem;
    border-radius: 8px;
    text-align: center;
}

.result-card .result-title {
    margin: 0;
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
}

.result-card .result-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2563eb;
    margin-top: 0.5rem;
}

.result-card .result-unit {
    font-size: 1rem;
    color: #334155;
    font-weight: normal;
}

.error-msg {
    color: #ef4444;
    text-align: center;
    font-weight: 500;
    margin: 0;
}

/* SEO Article & Content Styling */
.seo-article-container {
    max-width: 800px;
    margin: 3rem auto;
    line-height: 1.7;
    color: #334155;
}

.seo-article-container h2 {
    font-size: 1.8rem;
    color: #0f172a;
    margin-bottom: 0.75rem;
}

.seo-article-container h3 {
    font-size: 1.3rem;
    color: #1e293b;
    margin-top: 1.5rem;
}

.seo-article-container ul, 
.seo-article-container ol {
    padding-left: 1.25rem;
}

.faq-section {
    margin-top: 2rem;
}

.faq-section h3 {
    font-size: 1.4rem;
    color: #0f172a;
}

.faq-item {
    border-bottom: 1px solid #e2e8f0;
    padding: 0.75rem 0;
}

.faq-item h4 {
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
}

.faq-item p {
    margin: 0;
    font-size: 0.95rem;
}