/* ==========================
   My Tools Framework
   ========================== */

:root{

    --primary:#10b981;
    --primary-dark:#059669;

    --bg:#f5f7fb;

    --card:#ffffff;

    --border:#e5e7eb;

    --text:#1f2937;

    --text-light:#6b7280;

    --radius:16px;

    --shadow:0 10px 30px rgba(0,0,0,.08);

}

.mtf-card{

    max-width:850px;

    margin:40px auto;

    background:var(--card);

    border-radius:var(--radius);

    overflow:hidden;

    box-shadow:var(--shadow);

}

.mtf-header{

    background:linear-gradient(135deg,var(--primary),var(--primary-dark));

    padding:30px;

    color:white;

}

.mtf-header h2{

    margin:0;

    font-size:34px;

}

.mtf-header p{

    margin-top:10px;

    opacity:.95;

}

.mtf-body{

    padding:35px;

}

.mtf-body label{

    display:block;

    font-weight:600;

    margin-bottom:12px;

}

.mtf-input{

    width:100%;

    height:55px;

    border:1px solid var(--border);

    border-radius:12px;

    padding:0 15px;

    font-size:17px;

    margin-bottom:20px;

}

.mtf-btn{

    width:100%;

    height:55px;

    border:none;

    border-radius:12px;

    cursor:pointer;

    background:linear-gradient(135deg,var(--primary),var(--primary-dark));

    color:white;

    font-size:18px;

    font-weight:600;

    transition:.3s;

}

.mtf-btn:hover{

    transform:translateY(-2px);

    box-shadow:0 12px 25px rgba(16,185,129,.35);

}

.mtf-result{

    margin:35px;

    padding:30px;

    border-radius:14px;

    background:#f8fafc;

}

.mtf-result h3{

    text-align:center;

    margin-bottom:30px;

}

.mtf-age{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:20px;

}

.mtf-age div{

    background:white;

    border-radius:14px;

    text-align:center;

    padding:25px;

    box-shadow:0 5px 15px rgba(0,0,0,.05);

}

.mtf-age span{

    display:block;

    font-size:42px;

    font-weight:700;

    color:var(--primary);

}

.mtf-age small{

    display:block;

    margin-top:10px;

    color:#666;

    font-size:16px;

}

/* Mobile */

@media(max-width:768px){

.mtf-body{

padding:20px;

}

.mtf-header{

padding:22px;

}

.mtf-header h2{

font-size:28px;

}

.mtf-age{

grid-template-columns:1fr;

}

.mtf-result{

margin:20px;

}

}
/* ===== More Details ===== */

.mtf-details{
    margin-top:30px;
    background:#fff;
    border:1px solid var(--border);
    border-radius:12px;
    overflow:hidden;
}

.mtf-details h4{
    margin:0;
    padding:16px 20px;
    background:#f8fafc;
    border-bottom:1px solid var(--border);
}

.mtf-detail-row{
    display:flex;
    justify-content:space-between;
    padding:14px 20px;
    border-bottom:1px solid #eef2f7;
}

.mtf-detail-row:last-child{
    border-bottom:none;
}

/* ===== Action Buttons ===== */

.mtf-actions{
    margin-top:25px;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:15px;
}

.mtf-action-btn{
    height:48px;
    border:none;
    border-radius:10px;
    cursor:pointer;
    font-weight:600;
    background:#f3f4f6;
    transition:.3s;
}

.mtf-action-btn:hover{
    background:var(--primary);
    color:#fff;
}

@media(max-width:768px){

    .mtf-actions{
        grid-template-columns:1fr;
    }

}