*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial;
}

body{
    background:
        radial-gradient(circle at 20% 30%, rgba(255,200,0,0.15), transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(255,200,0,0.1), transparent 40%),
        #020617;

    color:#fff;
}

/* WRAPPER */
.container{
    max-width:1000px;
    margin:auto;
    padding:40px 20px;
}

/* TITLE */
h1{
    text-align:center;
    margin-bottom:25px;
    color:#ffd60a;
    text-shadow:0 0 15px #ffd60a;
}

/* BOX */
.box{
    background: rgba(2,6,23,0.95);
    border:1px solid rgba(255,214,10,0.4);
    border-radius:16px;
    padding:20px;

    box-shadow:
        0 0 20px rgba(255,214,10,0.4),
        0 0 50px rgba(255,214,10,0.2);
}

/* TOP BAR */
.top-bar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:15px;
}

/* BUTTON */
.btn{
    padding:10px 18px;
    border-radius:10px;
    border:none;
    font-weight:bold;
    cursor:pointer;

    background: linear-gradient(135deg,#ffd60a,#ffb703);
    color:#000;

    box-shadow:0 0 15px #ffd60a;
}

/* LOGOUT */
.logout{
    text-decoration:none;
    color:#ffd60a;

    padding:8px 14px;
    border-radius:10px;
    border:1px solid #ffd60a;

    box-shadow:0 0 10px #ffd60a;
}

/* FORM */
input{
    width:100%;
    padding:10px;
    margin-top:10px;
    border-radius:8px;
    border:1px solid rgba(255,214,10,0.4);
    background:#020617;
    color:#fff;
}

/* TABLE */
.table-wrap{
    overflow-x:auto;
}

table{
    width:100%;
    border-collapse:collapse;
    margin-top:20px;
}

th{
    text-align:left;
    padding:10px;
    color:#ffd60a;
    border-bottom:1px solid rgba(255,214,10,0.4);
}

td{
    padding:10px;
    border-bottom:1px solid rgba(255,214,10,0.1);
}

tr:hover{
    background:rgba(255,214,10,0.06);
}


.hapus{
    background: linear-gradient(135deg,#ffd60a,#ffb703);
    color:#000;

    padding:6px 12px;
    border-radius:8px;
    border:none;
    cursor:pointer;

    font-weight:700; /* INI KUNCI */

    box-shadow:
        0 0 10px #ffd60a,
        0 0 25px rgba(255,214,10,0.6);

    transition:0.2s;
}
/* FORM SPACING */
form{
    margin-top:15px;
}

form input{
    display:block;
    width:100%;
    margin-bottom:5px; /* jarak antar input */
}

form .btn{
    margin-top:5px; /* jarak tombol dari input */
}
/* COPY BUTTON */
.copy-btn{
    background: transparent;
    color:#ffd60a;

    border:1px solid #ffd60a;
    padding:6px 12px;
    border-radius:8px;
    cursor:pointer;

    font-weight:600;
    margin-right:6px;

    box-shadow:0 0 10px #ffd60a;
    transition:0.2s;
}

.copy-btn:hover{
    background:#ffd60a;
    color:#000;
}

/* TOAST */
#toast{
    position:fixed;
    bottom:30px;
    left:50%;
    transform:translateX(-50%) translateY(20px);

    background:#ffd60a;
    color:#000;
    padding:10px 20px;
    border-radius:10px;

    font-weight:bold;
    box-shadow:0 0 20px #ffd60a;

    opacity:0;
    transition:0.3s;
}

#toast.show{
    opacity:1;
    transform:translateX(-50%) translateY(0);
}
/* CENTER PAKSA */
.login-wrap{
    position:fixed;
    top:50%;
    left:50%;
    transform:translate(-50%, -50%);
    z-index:2;
}

/* LOGIN CARD */
.login-card{
    width:100%;
    max-width:380px;

    background: rgba(2,6,23,0.9);
    border:1px solid rgba(255,214,10,0.4);
    border-radius:16px;

    padding:25px;

    box-shadow:
        0 0 20px rgba(255,214,10,0.4),
        0 0 50px rgba(255,214,10,0.2);

    text-align:center;
}

/* TITLE */
.login-card h2{
    margin-bottom:15px;
    color:#ffd60a;
    text-shadow:0 0 10px #ffd60a;
}

/* INPUT */
.login-card input{
    width:100%;
    margin-bottom:12px;
}

/* BUTTON */
.login-card .btn{
    width:100%;
    margin-top:5px;
}

/* ERROR */
.err{
    color:#ff4d4d;
    margin-bottom:10px;
}
/* ===== HOME PAGE FIX ===== */

.home-wrap{
    min-height:100vh;

    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;

    text-align:center;
}

/* TITLE */
.home-wrap h1{
    color:#ffd60a;
    text-shadow:0 0 15px #ffd60a;
    margin-bottom:10px;
}

/* TEXT */
.home-wrap p{
    margin-bottom:20px;
    color:#ccc;
}

/* BUTTON */
.home-btn{
    text-decoration:none;

    padding:12px 25px;
    border-radius:10px;

    background: linear-gradient(135deg,#ffd60a,#ffb703);
    color:#000;
    font-weight:bold;

    box-shadow:
        0 0 10px #ffd60a,
        0 0 25px rgba(255,214,10,0.6);

    transition:0.2s;
}

.home-btn:hover{
    box-shadow:
        0 0 20px #ffd60a,
        0 0 40px #ffd60a;
}