body{
margin:0;
font-family: 'Segoe UI', sans-serif;
background: linear-gradient(135deg,#0f172a,#1e40af);
color:white;
display:flex;
justify-content:center;
align-items:center;
min-height:100vh;
}

.card, .result-card{
width:420px;
padding:30px;
border-radius:20px;
background: rgba(255,255,255,0.08);
backdrop-filter: blur(15px);
box-shadow:0 20px 50px rgba(0,0,0,0.5);
}

h1{
text-align:center;
}

input, textarea, select{
width:100%;
padding:12px;
margin:10px 0;
border:none;
border-radius:10px;
}

button{
width:100%;
padding:12px;
margin-top:10px;
border:none;
border-radius:10px;
cursor:pointer;
font-weight:bold;
}

.btn-primary{background:#22c55e;color:white;}
.btn-secondary{background:#3b82f6;color:white;}
.btn-pdf{background:#f97316;color:white;}

.bar{
background:#ddd;
border-radius:20px;
overflow:hidden;
}

.fill{
background:#22c55e;
padding:8px;
text-align:center;
}

.obat-list{
    display:flex;
    flex-direction:column;
    gap:15px;
    margin-top:20px;
}

.obat-card{
    background:white;
    color:#1e3c72;
    padding:15px;
    border-radius:15px;
    font-weight:bold;
    font-size:18px;
}   

.btn-group{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:20px;
    margin-top:30px;
}

.btn{
    padding:14px 28px;
    border-radius:12px;
    text-decoration:none;
    font-weight:bold;
    font-size:18px;
    transition:0.3s;
    display:flex;
    align-items:center;
    justify-content:center;
    min-width:260px;
}

/* BUTTON PDF */

.btn-pdf{
    background:linear-gradient(135deg,#ff7b00,#ff9500);
    color:white;
    box-shadow:0 8px 20px rgba(255,123,0,0.3);
}

.btn-pdf:hover{
    transform:translateY(-3px);
}

/* BUTTON KEMBALI */

.btn-back{
    background:linear-gradient(135deg,#2563eb,#3b82f6);
    color:white;
    box-shadow:0 8px 20px rgba(37,99,235,0.3);
}

.btn-back:hover{
    transform:translateY(-3px);
}

a.btn-back{
    background:linear-gradient(135deg,#2563eb,#3b82f6);
    color:white !important;
    padding:14px 28px;
    border-radius:12px;
    text-decoration:none;
    font-weight:bold;
    font-size:18px;
    display:flex;
    align-items:center;
    justify-content:center;
    min-width:220px;
    box-shadow:0 8px 20px rgba(37,99,235,0.3);
    transition:0.3s;
}

a.btn-back:hover{
    transform:translateY(-3px);
}

.btn-group a{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    text-decoration:none !important;
}

/* BUTTON KEMBALI */

.btn-back{
    background:#3b82f6 !important;
    color:white !important;
    padding:14px 30px !important;
    border-radius:12px !important;
    font-size:18px !important;
    font-weight:bold !important;
    min-width:220px !important;
    height:60px !important;
    box-shadow:0 8px 20px rgba(37,99,235,0.3) !important;
}

/* BUTTON PDF */

.btn-pdf{
    background:#ff7b00 !important;
    color:white !important;
    padding:14px 30px !important;
    border-radius:12px !important;
    font-size:18px !important;
    font-weight:bold !important;
    min-width:320px !important;
    height:60px !important;
    box-shadow:0 8px 20px rgba(255,123,0,0.3) !important;
}

/* GROUP */

.btn-group{
    display:flex !important;
    justify-content:center !important;
    align-items:center !important;
    gap:20px !important;
    margin-top:30px !important;
}

/* BUTTON AREA */

.btn-group{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:20px;
    margin-top:30px;
}

/* BUTTON PDF */

.btn-pdf{
    background:#ff7b00;
    color:white;
    padding:16px 28px;
    border-radius:14px;
    text-decoration:none;
    font-size:18px;
    font-weight:bold;
    min-width:320px;
    height:60px;

    display:flex;
    justify-content:center;
    align-items:center;

    box-shadow:0 8px 20px rgba(255,123,0,0.3);
}

/* BUTTON KEMBALI */

.btn-back{
    background:#3b82f6;
    color:white;
    padding:16px 28px;
    border-radius:14px;
    text-decoration:none;
    font-size:18px;
    font-weight:bold;
    min-width:220px;
    height:60px;

    display:flex;
    justify-content:center;
    align-items:center;

    box-shadow:0 8px 20px rgba(37,99,235,0.3);
}

/* =========================
   BUTTON FIX
========================= */

.btn-wrapper{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:20px;
    margin-top:30px;
    flex-wrap:wrap;
}

.medical-btn{
    display:flex;
    justify-content:center;
    align-items:center;

    text-decoration:none;

    padding:16px 28px;

    border-radius:14px;

    font-size:18px;

    font-weight:bold;

    color:white;

    transition:0.3s;
}

.pdf-btn{
    background:linear-gradient(135deg,#ff7b00,#ff9500);

    min-width:320px;

    box-shadow:0 8px 20px rgba(255,123,0,0.3);
}

.back-btn{
    background:linear-gradient(135deg,#2563eb,#3b82f6);

    min-width:220px;

    box-shadow:0 8px 20px rgba(37,99,235,0.3);
}

.medical-btn:hover{
    transform:translateY(-3px);
}

