:root {
    --primary-black: #0B0B0B;
    --secondary-black: #151515;
    --dark-gray: #202020;
    --red: #E50914;
    --dark-red: #B20710;
    --light-red: #FF3B3B;
    --white: #FFFFFF;
    --light-gray: #F5F5F5;
    --text-gray: #A0A0A0;
    --success: #22C55E;
    --warning: #F59E0B;
    --danger: #EF4444;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--primary-black);
    color: var(--white);
    min-height: 100vh;
}

a {
    color: var(--red);
    text-decoration: none;
}

a:hover {
    color: var(--light-red);
}

.text-center {
    text-align: center;
}

.mt-2 {
    margin-top: 10px;
}

.mb-2 {
    margin-bottom: 10px;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
}

.btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--red);
    color: white;
}

.btn-secondary {
    background: var(--dark-gray);
    color: white;
}

.btn-success {
    background: var(--success);
    color: white;
}

.btn-warning {
    background: var(--warning);
    color: black;
}

.btn-danger {
    background: var(--danger);
    color: white;
}

.btn-outline-danger {
    background: transparent;
    border: 1px solid var(--red);
    color: var(--red);
}

.btn-sm {
    padding: 6px 12px;
    font-size: 12px;
}

.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.badge-aktif,
.badge-lunas,
.badge-sudah-dicetak,
.badge-sudah-diserahkan {
    background: rgba(34, 197, 94, 0.2);
    color: var(--success);
}

.badge-akan-expired,
.badge-belum-lunas,
.badge-belum-dicetak {
    background: rgba(245, 158, 11, 0.2);
    color: var(--warning);
}

.badge-expired,
.badge-dibatalkan,
.badge-hilang,
.badge-rusak,
.badge-tidak-aktif {
    background: rgba(239, 68, 68, 0.2);
    color: var(--danger);
}

.badge-admin {
    background: rgba(229, 9, 20, 0.2);
    color: var(--red);
}

.badge-pegawai {
    background: rgba(245, 158, 11, 0.2);
    color: var(--warning);
}

.alert {
    padding: 12px 20px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.alert-danger {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid var(--danger);
    color: #fff;
}

.alert-success {
    background: rgba(34, 197, 94, 0.2);
    border: 1px solid var(--success);
    color: #fff;
}

.card {
    background: var(--secondary-black);
    border: 1px solid var(--dark-gray);
    border-radius: 10px;
    margin-bottom: 20px;
}

.card-header {
    padding: 15px 20px;
    border-bottom: 1px solid var(--dark-gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-header h3 {
    font-size: 18px;
}

.card-body {
    padding: 20px;
}

/* Untuk detail member */
.member-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #E50914;
    margin-bottom: 15px;
}

.member-photo-placeholder {
    font-size: 120px;
    color: #202020;
    margin-bottom: 15px;
}

.member-name {
    font-size: 20px;
    font-weight: bold;
    color: #fff;
}

.table-detail td {
    border: none;
    padding: 6px 0;
    text-align: left;
    white-space: nowrap;
}

.table-detail td:first-child {
    font-weight: bold;
    color: #A0A0A0;
}