/* =============================================
   Pediatric Drug Calculator — Module Styles
   (ped_drug.css)
   Global theme loaded from style.css
   ============================================= */

/* --- Module-Specific Overrides --- */
.container {
    padding: 15px;
}

/* Ped Drug uses Pale Blue as default text instead of White */
body {
    color: var(--text-pale);
}

/* Popup input styling override — centered, navy bg */
.popup-box input, .popup-box select {
    flex: 1;
    padding: 15px 5px;
    border: 1px solid #007BA7;
    background: var(--surface);
    text-align: center;
    font-size: 1.1rem;
}

.input-row {
    display: flex;
    gap: 10px;
    justify-content: space-between;
    margin-bottom: 20px;
}

/* --- Drug Card Layout --- */
.drug-card {
    padding-right: 40px; /* Space for the fav-icon */
}

.fav-icon {
    position: absolute;
    top: 10px;
    right: 12px;
    cursor: pointer;
    font-size: 1.2rem;
    user-select: none;
    z-index: 10;
}

.fav-hint {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 15px 0;
    padding: 0 10px;
}

/* --- Result Text Overrides --- */
.result-box {
    font-weight: normal;
    overflow: hidden;
}

/* Dose text uses pale blue with no background */
.highlight-dose {
    color: var(--text-pale);
    background-color: transparent;
    padding: 0;
}

.alt-text {
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: normal;
}

/* Age Warning */
.age-warning {
    float: right;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: normal;
    margin-left: 10px;
}

/* --- Button Group --- */
.button-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 30px auto;
    width: 90%;
    max-width: 400px;
}

.btn-refresh { background-color: var(--surface); border: 1px solid #007BA7; }
.btn-refresh:active { background-color: var(--card-bg); }

.btn-whatsapp { background-color: #25D366; }
.btn-whatsapp:active { background-color: #16a34a; }