body {
    font-family: Arial, sans-serif;
    background: #0f2027;
    background: linear-gradient(to right, #2c5364, #203a43, #0f2027);
    color: #fff;
    margin: 0;
    padding: 0;
}

.container {
    width: 80%;
    margin: 40px auto;
    background: rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 10px;
}

h1, h2 {
    text-align: center;
    color: #00e0ff;
}

form label {
    display: block;
    margin-bottom: 6px;
    font-weight: bold;
}

form input, form select, form button {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: none;
    box-sizing: border-box;
}

form button {
    background: #00e0ff;
    color: #000;
    font-weight: bold;
    cursor: pointer;
    margin-top: 15px;
}

form button:hover {
    background: #00aaff;
}

/* Inline form untuk Nama, Jenjang, Tanggal */
.form-inline {
    display: flex;
    gap: 30px;
    justify-content: space-between;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
    min-width: 200px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
}

/* Tabel */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    background: rgba(0,0,0,0.3);
    border-radius: 8px;
    overflow: hidden;
    table-layout: fixed;
}

table th {
    background: #00e0ff;
    color: #000;
    text-align: center;
    padding: 12px;
    font-weight: bold;
    font-size: 1rem;
}

table td {
    text-align: center;
    padding: 12px;
    border-bottom: 1px solid #444;
    color: #fff;
    word-wrap: break-word;
    white-space: normal;
}

table tr:nth-child(even) {
    background: rgba(255,255,255,0.05);
}

table tr:hover {
    background: rgba(0,224,255,0.2);
}

/* Tombol aksi lebih kecil */
.btn {
    display: inline-block;
    min-width: 70px;       /* lebih kecil */
    padding: 6px 8px;      /* padding lebih kecil */
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.85rem;    /* font lebih kecil */
    text-align: center;
}

.approve {
    background: #00ff88;
    color: #000;
}

.delete {
    background: #ff4444;
    color: #fff;
}

.success {
    background: #00ff88;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
}

/* Popup konfirmasi submit */
.popup {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
}

.popup-content {
    background: #00ff88;
    color: #000;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    width: 300px;
    margin: 15% auto;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 0 20px #00ff88;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {opacity: 0; transform: scale(0.8);}
    to {opacity: 1; transform: scale(1);}
}

.menu-icons {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-bottom: 15px;
}

.menu-icons .btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    font-size: 0.9rem;
}

.reset {
    background: #ffaa00;
    color: #000;
}

.export {
    background: #ff0000;
    color: #fff;
}

/* Sticky footer */
/* Sticky footer */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #00e0ff;
    color: #000;
    text-align: center;
    padding: 8px;
    font-weight: bold;
    font-size: 0.5rem;   /* diperkecil */
    font-style: italic;  /* italic */
    box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
}

/* Tombol kembali */
.back {
    background: #007bff;
    color: #fff;
}
.back:hover {
    background: #0056b3;
}