
/* =========================
   SAME DESIGN SYSTEM YOU USE
========================= */

.hero-card {
    background: rgba(255,255,255,0.03);
    border-radius: 14px;
    padding: 20px;
    border: 1px solid rgba(255,255,255,0.08);
}

.workspace-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

input, select {
    width: 100%;
    padding: 10px;
    margin-top: 8px;
    border-radius: 8px;
    border: none;
    background: #111;
    color: #fff;
}

button {
    margin-top: 10px;
    padding: 10px 14px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    background: #4f46e5;
    color: white;
}

/* =========================
   BREAKDOWN TABLE (REUSED STYLE)
========================= */

.breakdown-grid {
    display: table;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
}

.breakdown-row {
    display: table-row;
    background: rgba(255,255,255,0.03);
}

.breakdown-row span,
.breakdown-row strong {
    display: table-cell;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.breakdown-row span {
    opacity: 0.85;
}

.breakdown-row strong {
    text-align: right;
}

/* =========================
   RESULT BOX
========================= */

.result-box {
    margin-top: 15px;
    padding: 15px;
    border-radius: 12px;
    background: rgba(255,255,255,0.04);
}

h1 { font-size: 40px; }

.hidden { display:none; }

/* =========================
   CUSTOM ALERT (CALORIE STYLE)
========================= */

.custom-alert {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);

    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 999999;
}

.custom-alert.hidden {
    display: none;
}

.custom-alert-box {
    width: 340px;
    background: #111;
    color: #fff;

    padding: 20px;
    border-radius: 14px;

    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    text-align: center;

    animation: pop 0.2s ease;
    border: 1px solid rgba(255,255,255,0.08);
}

.custom-alert-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #fff;
}

.custom-alert-message {
    font-size: 14px;
    opacity: 0.85;
    margin-bottom: 15px;
    white-space: pre-line;
}

.custom-alert-btn {
    padding: 10px 14px;
    border: none;
    border-radius: 10px;
    cursor: pointer;

    background: #4f46e5;
    color: white;
    font-weight: 500;

    transition: 0.2s;
}

.custom-alert-btn:hover {
    background: #4338ca;
}

@keyframes pop {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

#hipContainer{
    transition:.25s;
}
        /* ==========================================
        Conversion Tables
        ========================================== */

        .conversion-table{
            margin:40px 0;
            overflow-x:auto;
            border-radius:18px;
            border:1px solid rgba(255,255,255,.08);
            background:rgba(255,255,255,.03);
            backdrop-filter:blur(14px);
        }

        .conversion-grid{
            width:100%;
            border-collapse:collapse;
            min-width:520px;
        }

        .conversion-grid thead{
            background:linear-gradient(
                90deg,
                #6366f1,
                #8b5cf6
            );
        }

        .conversion-grid th{
            color:#fff;
            font-size:16px;
            font-weight:700;
            padding:18px 24px;
            text-align:left;
        }

        .conversion-grid td{
            padding:18px 24px;
            border-bottom:1px solid rgba(255,255,255,.06);
            font-size:16px;
            color:#e5e7eb;
        }

        .conversion-grid tbody tr{
            transition:.25s;
        }

        .conversion-grid tbody tr:hover{
            background:rgba(99,102,241,.12);
        }

        .conversion-grid tbody tr:last-child td{
            border-bottom:none;
        }

        .conversion-grid td:first-child{
            font-weight:700;
            color:#60a5fa;
            font-size:17px;
        }

        .conversion-grid td:last-child{
            font-weight:700;
            color:#4ade80;
            font-size:17px;
        }
