* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #0c0a09;
    color: #ffffff;
}

button,
select,
input,
textarea {
    font-family: inherit;
}

.takusi-select {
    width: 100%;
    height: 48px;
    padding: 0 44px 0 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    background:
        linear-gradient(180deg, rgba(28, 25, 23, 0.96), rgba(12, 10, 9, 0.96));
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    outline: none;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.22);
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.takusi-select:focus {
    border-color: rgba(245, 158, 11, 0.75);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.12), 0 16px 32px rgba(0, 0, 0, 0.32);
}

.takusi-select:disabled {
    color: #78716c;
    background: rgba(28, 25, 23, 0.55);
    cursor: not-allowed;
}

.takusi-select option {
    background: #1c1917;
    color: #ffffff;
}

.takusi-table {
    width: 100%;
    min-width: 1180px;
    border-collapse: collapse;
    color: #d6d3d1;
}

.takusi-table thead th {
    padding: 16px 14px;
    text-align: left;
    vertical-align: middle;
    background:
        linear-gradient(135deg, rgba(220, 38, 38, 0.92), rgba(127, 29, 29, 0.92));
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    white-space: nowrap;
}

.takusi-table tbody td {
    padding: 16px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    vertical-align: top;
    font-size: 14px;
    line-height: 1.5;
}

.takusi-table tbody tr {
    background: rgba(12, 10, 9, 0.56);
    transition: background .2s ease, transform .2s ease;
}

.takusi-table tbody tr:hover {
    background: rgba(41, 37, 36, 0.74);
}

.empty-state {
    text-align: center;
    padding: 36px 16px !important;
    color: #a8a29e;
    font-weight: 700;
}

.takusi-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 76px;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border: 1px solid transparent;
}

.takusi-badge.active {
    color: #bbf7d0;
    background: rgba(22, 163, 74, 0.16);
    border-color: rgba(34, 197, 94, 0.28);
}

.takusi-badge.inactive {
    color: #fecaca;
    background: rgba(220, 38, 38, 0.16);
    border-color: rgba(248, 113, 113, 0.28);
}

/* Kompatibilitas class lama jika masih dipakai di halaman lain */
.container {
    width: 92%;
    max-width: 1200px;
    margin: 40px auto;
}

.card {
    background: rgba(28, 25, 23, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
}

.admin-login-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    padding: 10px 14px;
    background: #ffffff;
    color: #0c0a09;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 900;
}

.admin-login-link:hover {
    background: #dc2626;
    color: #ffffff;
}

@media (max-width: 700px) {
    .takusi-table {
        min-width: 980px;
    }

    .card {
        padding: 20px;
    }
}
