/* =========================================
   AGE CALCULATOR
   Modern SmartMyTools Design
========================================= */

/* Main Page */

.calculator-page {
    max-width: none;
    margin: 0;
    padding: 45px 20px 80px;

    background: #f5f7fb;
}


/* Main Content Width */

.calculator-page .container {
    max-width: 1000px;
    margin: 0 auto;
}


/* Breadcrumb */

.breadcrumb {
    margin-bottom: 30px;
}


/* =========================================
   Tool Header
========================================= */

.calculator-intro {
    text-align: center;
    margin-bottom: 35px;
}


.calculator-intro h1 {
    margin: 0 0 12px;

    font-size: 42px;
    color: #2f3e52;
}


.calculator-intro p {
    max-width: 700px;
    margin: 0 auto;

    font-size: 18px;
    color: #526070;

    line-height: 1.6;
}


/* =========================================
   Calculator Card
========================================= */

.calculator-card {
    max-width: 700px;

    margin: 0 auto 40px;

    padding: 35px;

    background: #ffffff;

    border: 1px solid #d9e0e7;

    border-radius: 14px;

    box-shadow: none;
}


.calculator-card h2 {
    margin-bottom: 28px;

    font-size: 26px;

    color: #2f3e52;
}


/* =========================================
   Form
========================================= */

.calculator-form {
    gap: 22px;
}


.form-group {
    gap: 9px;
}


.form-group label {
    font-size: 16px;

    font-weight: 600;

    color: #2f3e52;
}


.form-group input {
    padding: 14px 16px;

    border: 1px solid #cfd8e3;

    border-radius: 8px;

    font-size: 16px;

    color: #2f3e52;

    background: #ffffff;
}


.form-group input:focus {
    border-color: #0f3b66;

    box-shadow:
        0 0 0 3px rgba(15, 59, 102, 0.10);
}


/* =========================================
   Calculate Button
========================================= */

.calculate-btn {
    margin-top: 5px;

    padding: 16px 20px;

    border-radius: 8px;

    background: #ff3131;

    font-size: 17px;

    font-weight: 700;
}


.calculate-btn:hover {
    background: #e62828;
}


/* =========================================
   Results
========================================= */

.results-section {
    max-width: 850px;

    margin: 0 auto 35px;
}


.results-section h2 {
    font-size: 30px;

    color: #2f3e52;

    margin-bottom: 25px;
}


/* Main Result Cards */

.result-card {
    padding: 25px 15px;

    background: #ffffff;

    border: 1px solid #d9e0e7;

    border-radius: 12px;
}


.result-value {
    color: #ff3131;

    font-size: 32px;
}


.result-label {
    color: #667085;
}


/* Total Results */

.total-result {
    background: #ffffff;

    border: 1px solid #d9e0e7;

    border-radius: 8px;
}


.total-result strong {
    color: #526070;
}


.total-result span {
    color: #0f3b66;
}


/* =========================================
   Birthday Result
========================================= */

.birthday-result {
    background: #ffffff;

    border: 1px solid #d9e0e7;

    border-radius: 12px;

    padding: 25px;
}


.birthday-result h3 {
    color: #2f3e52;
}


.birthday-result p {
    color: #667085;
}


/* =========================================
   Mobile
========================================= */

@media (max-width: 768px) {

    .calculator-page {
        padding: 35px 15px 60px;
    }


    .calculator-intro h1 {
        font-size: 32px;
    }


    .calculator-intro p {
        font-size: 16px;
    }


    .calculator-card {
        padding: 22px;
    }


    .calculator-card h2 {
        font-size: 23px;
    }

}

