*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family: Arial, Helvetica, sans-serif;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
}

body{
    background: radial-gradient(circle at top, #0f172a, #020617);
    color:white;
}

/* HEADER */

.header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:wrap;
    gap:15px;
    margin-bottom:25px;

    padding:20px;
    border-radius:16px;

    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.08);
}

.title{
    font-size:42px;
    font-weight:bold;
    color:#00ffcc;
    text-shadow: 0 0 10px rgba(0,255,204,0.4);
    animation: float 3s ease-in-out infinite;
}

.clock{
    font-size:28px;
    font-weight:bold;
}

/* BUTTON */

.btn-area{
    margin-bottom:20px;
}

.btn{
    display:inline-block;
    padding:14px 24px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color:white;
    text-decoration:none;
    border-radius:12px;
    font-size:22px;
    font-weight:bold;
    margin-right:10px;
    transition:0.3s;

    box-shadow: 0 8px 20px rgba(37,99,235,0.3);
}

.btn:hover{
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(37,99,235,0.5);
}

/* TABLE */

.table-container{
    width:100%;
    overflow-x:auto;

    border-radius:16px;
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(10px);
    padding:10px;
}

table{
    width:100%;
    border-collapse:collapse;
    border-radius:16px;
    overflow:hidden;
}

th{
    background:#1f2937;
    color:white;
    font-size:30px;
    padding:20px;
    border:2px solid #374151;
}

td{
    text-align:center;
    font-size:34px;
    font-weight:bold;
    padding:25px;
    border:2px solid #374151;
    transition:0.2s;
}

tr:nth-child(even){
    background:#1e293b;
}

tr:nth-child(odd){
    background:#111827;
}

tr:hover td{
    background:#0b1220;
    transform: scale(1.01);
}

/* WARNA STATUS */

.green{
    background:#16a34a;
    color:white;
    font-weight:bold;
}

.yellow{
    background:#eab308;
    color:black;
    font-weight:bold;
}

.red{
    background:#dc2626;
    color:white;
    font-weight:bold;
}

.grey{
    background:#374151;
    color:#9ca3af;
    font-weight:bold;
}

.purple{
    background:#7c3aed;
    color:white;
    font-weight:bold;
}

.blue{
    background:#2563eb;
    color:white;
    font-weight:bold;
}

@keyframes blink{
    50%{
        opacity:0.5;
    }
}

/* FORM & CARD */

.container{
    width:100%;
    max-width:900px;
    margin:auto;

    background: rgba(17,24,39,0.85);
    backdrop-filter: blur(12px);

    padding:40px;
    border-radius:20px;
    border:1px solid rgba(255,255,255,0.08);
    box-shadow:0 0 20px rgba(0,0,0,0.5);
}

.form-group{
    margin-bottom:25px;
}

label{
    display:block;
    margin-bottom:10px;
    font-size:28px;
    font-weight:bold;
}

input,
select{
    width:100%;
    padding:18px;
    border-radius:12px;
    font-size:26px;
    outline:none;

    background:#0b1220;
    color:white;
    border:1px solid rgba(255,255,255,0.08);
    transition:0.3s;
}

input:focus,
select:focus{
    border:1px solid #00ffcc;
    box-shadow: 0 0 10px rgba(0,255,204,0.2);
}

.row{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px;
}

.warna-box{
    display:grid;
    grid-template-columns:2fr 1fr;
    gap:15px;
}

/* CHART */

.chart-container{
    background: rgba(17,24,39,0.85);
    backdrop-filter: blur(12px);

    padding:30px;
    border-radius:20px;
    height:75vh;

    border:1px solid rgba(255,255,255,0.08);
    box-shadow:0 0 20px rgba(0,0,0,0.5);
}

canvas{
    width:100% !important;
    height:100% !important;
}

/* FOOTER */

.footer{
    margin-top:20px;
    text-align:center;
    font-size:20px;
    color:#9ca3af;
}

/* ANIMATION */

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-3px); }
    100% { transform: translateY(0px); }
}

/* RESPONSIVE */

@media(max-width:768px){

    .title{
        font-size:30px;
    }

    .clock{
        font-size:22px;
    }

    .btn{
        display:block;
        margin-bottom:10px;
        text-align:center;
    }

    .row{
        grid-template-columns:1fr;
    }

    .warna-box{
        grid-template-columns:1fr;
    }

    label{
        font-size:22px;
    }

    input,
    select{
        font-size:22px;
    }

    td{
        font-size:24px;
        padding:18px;
    }

    th{
        font-size:22px;
    }
}