/* Global Styles */
body {
    background-color: #f8f9fa;
    font-family: 'Poppins', sans-serif;
    display: flex;
    min-height: 100vh;
    margin: auto;
    
}

/* Centering the form */
.container {
    display: block;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap; 
    max-width: 1400px; 
    margin: auto; 
    padding-left: 20px;
    padding-top: 30px;
    padding-bottom: 30px;
}

/* Tabel */
.table {
    width: 100%;
    border-collapse: collapse !important;
    background-color: #f8f9fa;
}

.table-bordered th,
.table-bordered td {
    border: 1px solid #dee2e6 !important;
    padding: 12px;
    text-align: center;
    vertical-align: middle;
}

.table thead th {
    background-color: #e0f0ff;
    font-weight: bold;
    color: #000;
}

/* Zebra Striping */
.table-striped tbody tr:nth-of-type(odd) {
    background-color: #f1f9ff;
}

/* Hover Effect */
.table-hover tbody tr:hover {
    background-color: #d6ecff;
}

.login-wrapper,
.register-wrapper,
.reset-wrapper {
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-card,
.register-card,
.reset-card {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    background-color: white;
}

/* Sidebar */
.sidebar {
    width: 250px;
    background: linear-gradient(to bottom, #3b82f6, #60a5fa);
    color: white;
    padding: 20px;
}
.sidebar h4 {
    font-weight: bold;
}
.sidebar a {
    display: block;
    padding: 10px 15px;
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

.sidebar a:hover {
    text-decoration: underline;
}

.sidebar a.active {
    background-color: #3674B5;
    color: white;
    font-weight: bold;
    border-radius: 5px;
}
.main-content {
    flex-grow: 1;
    background-color: #f0f9ff;
    padding: 10px;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.hamburger-btn {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    background-color: transparent;
    border: none;
    cursor: pointer;
}

#sidebar.hidden + .main-content {
    margin-left: 0; 
}

/* Logout Button */
.logout-btn {
    position: absolute;
    top: 10px;
    right: 10px;
}

.logout-btn button {
    padding: 8px 16px;
    border-radius: 5px;
    border: none;
    background: #ff4d4d;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.logout-btn button:hover {
    background: #cc0000;
}

/* Tombol Back */
.btn-secondary {
    padding: 8px 16px;
    border-radius: 6px;
    background-color: #6c757d;
    border: none;
    font-weight: 500;
    
}

.btn-secondary:hover {
    background-color: #5a6268;
}

.bg-orange {
    background-color: #fd7e14 ; 
    color: #fff ;
}
.bg-dark-yellow {
    background-color: #d4ac0d ; 
    color: #fff ;
}

.bg-lightred {
    background-color: rgba(246, 19, 68, 0.693);
    color: #fff
}

.bg-maroon {
    background-color: #800000; 
    color: white;
}
.nowrap {
    white-space: nowrap;
}
