:root {
    --brand-blue: #1800ad;
    --brand-green: #00ed11;
    --bg: #ffffff;
    --text-dark: #222;
    --radius: 14px;
    font-family: 'Nunito Sans', sans-serif;
}

/* Container */
.age-tool-container {
    max-width: 420px;
    margin: auto;
    background: #fff;
    padding: 25px;
    border-radius: var(--radius);
    box-shadow: 0 0 18px rgba(0,0,0,0.08);
}

/* Title */
.tool-title {
    text-align: center;
    font-size: 24px;
    font-weight: 800;
    color: var(--brand-blue);
}

/* Input */
.dob-input {
    width: 100%;
    padding: 13px;
    border-radius: var(--radius);
    border: 2px solid #ddd;
    font-size: 16px;
    margin: 8px 0 18px;
}

/* Buttons */
.btn-primary {
    background: var(--brand-blue);
    color: #fff;
    padding: 12px;
    width: 48%;
    border-radius: var(--radius);
    border: none;
    font-weight: 700;
}

.btn-secondary {
    background: #888;
    color: #fff;
    padding: 12px;
    width: 48%;
    border-radius: var(--radius);
    border: none;
}

.btn-tertiary {
    background: var(--brand-green);
    color: #fff;
    width: 100%;
    padding: 12px;
    border-radius: var(--radius);
    margin-top: 12px;
    border: none;
    font-weight: 700;
}

/* Button Row */
.btn-row {
    display: flex;
    justify-content: space-between;
}

/* Result Box */
.result-box {
    padding: 15px;
    background: #f5f4ff;
    border-left: 5px solid var(--brand-blue);
    border-radius: var(--radius);
    margin-bottom: 18px;
    font-size: 16px;
}

/* History */
.history-box {
    margin-top: 20px;
    font-size: 14px;
    color: #555;
}

/* Popup */
.share-popup {
    position: fixed;
    top:0; left:0;
    width:100%; height:100%;
    background: rgba(0,0,0,0.6);
    display:none;
    justify-content:center;
    align-items:center;
}

.share-content {
    background:#fff;
    padding:20px;
    width: 300px;
    text-align:center;
    border-radius: var(--radius);
}

.popup-logo {
    width:70px;
    margin-bottom:10px;
}

.share-option {
    width:100%;
    padding:10px;
    margin:6px 0;
    border-radius: var(--radius);
    border:none;
    font-size:16px;
    background: var(--brand-blue);
    color:#fff;
}
