/* RESET */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, sans-serif;
}

/* BODY */
body{
    background:#f1f5f9;
    min-height:100vh;
}

/* CONTAINER */
.container{
    width:95%;
    max-width:1000px;
    margin:auto;
    padding:20px;
    padding-bottom:100px;
}

/* HEADER */
.header{
    background:#2563eb;
    color:white;
    text-align:center;
    padding:18px;
    border-radius:15px;
    font-size:28px;
    font-weight:bold;
    margin-bottom:20px;
}

/* CARD */
.card{
    background:white;
    padding:20px;
    border-radius:15px;
    margin-bottom:20px;
    box-shadow:0 4px 10px rgba(0,0,0,0.1);
}

/* TITLE */
.title{
    font-size:22px;
    font-weight:bold;
    color:#2563eb;
    margin-bottom:15px;
}

/* LABEL */
.label{
    font-weight:bold;
    margin-top:10px;
    margin-bottom:8px;
}

/* INPUT */
input,
select{
    width:100%;
    padding:12px;
    border:1px solid #ccc;
    border-radius:10px;
    margin-bottom:15px;
    font-size:15px;
}

/* BUTTON */
button{
    width:100%;
    padding:13px;
    border:none;
    border-radius:10px;
    background:#2563eb;
    color:white;
    font-size:16px;
    cursor:pointer;
    transition:0.3s;
}

button:hover{
    background:#1d4ed8;
}

/* MENU DASHBOARD */
.menu{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:15px;
}

/* ALERT */
.alert-success{
    background:#dcfce7;
    color:#166534;
    padding:15px;
    border-radius:10px;
    margin-bottom:15px;
}

.alert-error{
    background:#fee2e2;
    color:#991b1b;
    padding:15px;
    border-radius:10px;
    margin-bottom:15px;
}

/* TABLE */
.table-responsive{
    overflow-x:auto;
}

table{
    width:100%;
    border-collapse:collapse;
}

table th{
    background:#2563eb;
    color:white;
    padding:12px;
}

table td{
    background:white;
    padding:12px;
    border-bottom:1px solid #ddd;
}

/* STATUS */
.status-menunggu{
    background:#f59e0b;
    color:white;
    padding:6px 12px;
    border-radius:20px;
    font-size:13px;
}

.status-dipanggil{
    background:#3b82f6;
    color:white;
    padding:6px 12px;
    border-radius:20px;
    font-size:13px;
}

.status-selesai{
    background:#22c55e;
    color:white;
    padding:6px 12px;
    border-radius:20px;
    font-size:13px;
}

/* GAMBAR */
img{
    max-width:100%;
    height:auto;
    border-radius:10px;
}

/* LINK */
a{
    text-decoration:none;
}

/* NAVBAR */
.navbar{
    position:fixed;
    bottom:0;
    left:0;
    width:100%;
    background:white;
    display:flex;
    justify-content:space-around;
    align-items:center;
    padding:15px 0;
    box-shadow:0 -2px 10px rgba(0,0,0,0.1);
}

.navbar a{
    color:#2563eb;
    font-weight:bold;
    font-size:14px;
}

/* MOBILE */
@media (max-width:768px){

    body{
        padding:10px;
    }

    .container{
        width:100%;
        padding:10px;
        padding-bottom:90px;
    }

    .menu{
        grid-template-columns:1fr;
    }

    .header{
        font-size:22px;
    }

    .title{
        font-size:18px;
    }

    button{
        width:100%;
    }

}

/* DESKTOP */
@media (min-width:769px){

    .container{
        max-width:1100px;
    }

    .menu{
        grid-template-columns:repeat(4,1fr);
    }

    .card{
        padding:25px;
    }

    .navbar{
        position:static;
        margin-top:20px;
        border-radius:15px;
    }

    .navbar a{
        font-size:16px;
    }

    button{
        width:auto;
        min-width:150px;
        padding:12px 25px;
    }

}