body {
    background-color: #f8f9fa;
}

.card {
    border-radius: 10px;
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card-header {
    border-radius: 10px 10px 0 0 !important;
}

.btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
}

.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.dropdown-menu {
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
/* CAPTCHA Styling */
.captcha-container {
    border-radius: 5px;
    border: 1px dashed #ccc;
    user-select: none;
}

.captcha-text {
    letter-spacing: 5px;
    color: #0d6efd;
    font-family: 'Courier New', monospace;
}

/* Password toggle button */
.input-group-text {
    cursor: pointer;
}

/* Refresh CAPTCHA button */
#refreshCaptcha {
    cursor: pointer;
}

/* Sidebar Styling */
.sidebar {
    height: 100vh;
    position: sticky;
    top: 0;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.sidebar .nav-link {
    border-radius: 5px;
    margin-bottom: 5px;
}

.sidebar .nav-link.active {
    background-color: #0d6efd;
}

.sidebar .nav-link:hover:not(.active) {
    background-color: #f8f9fa;
}

/* Main Content */
.main-content {
    background-color: #f8f9fa;
    min-height: 100vh;
}

/* Card Styling */
.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .sidebar {
        position: fixed;
        z-index: 1040;
        transform: translateX(-100%);
    }
    
    .sidebar.show {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
    }
}

/* Toggle Button */
.toggle-sidebar {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1050;
    display: none;
}

@media (max-width: 992px) {
    .toggle-sidebar {
        display: block;
    }
}
/* Warna khusus untuk badge perempuan */
.badge.bg-pink {
    background-color: #ff66b2;
    color: white;
}

/* Hover effect untuk tombol aksi */
.btn-detail:hover {
    background-color: #17a2b8;
    color: white;
}

.btn-edit:hover {
    background-color: #ffc107;
    color: #212529;
}

.btn-hapus:hover {
    background-color: #dc3545;
    color: white;
}

/* Responsif tabel */
@media (max-width: 768px) {
    .table-responsive {
        border: 0;
    }
    
    .table-responsive thead {
        display: none;
    }
    
    .table-responsive tr {
        margin-bottom: 10px;
        display: block;
        border: 1px solid #dee2e6;
        border-radius: 5px;
    }
    
    .table-responsive td {
        display: block;
        text-align: right;
        padding-left: 50%;
        position: relative;
        border-bottom: 1px solid #dee2e6;
    }
    
    .table-responsive td::before {
        content: attr(data-label);
        position: absolute;
        left: 10px;
        width: 45%;
        padding-right: 10px;
        font-weight: bold;
        text-align: left;
    }
}