body {
    background-color: #f4f7fe;
    font-family: 'Roboto', sans-serif;
    color: #2b3674;
    margin: 0;
    padding: 0;
}
/* ===================================
   1. LOGIN PAGE ONLY (Background & Box)
   =================================== */
.login-page {
    font-family: "Roboto", sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(rgba(26, 88, 162, 0.11), rgba(27, 95, 170, 0.14)), url('../img/bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.login-page .box_1 {
    background: #ffffff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.login-page .logo_area .logo {
    width: 120px;
}

.login-page .top_text {
    color: #1b4332;
    font-weight: 700;
    font-size: 1.6rem;
    margin-top: 10px;
}

.login-page .form-control {
    height: 48px !important;
    border-radius: 25px;
    padding: 10px 20px;
    border: 1px solid #ddd;
}

.login-page .btn-custom {
    height: 48px;
    border-radius: 25px;
    font-weight: bold;
    background-color: #2276d2;
    border: none;
    color: #fff;
}

.login-page .btn-custom:hover {
    background-color: #1b4332;
    color: #fff;
}

#error_login, #success_login, .button4 {
    display: none;
}




/* ===================================
   2. DASHBOARD PAGE (Clean Background)
   =================================== */

/* Header & Navigation */
.dashboard-header {
    background: #ffffff;
    padding: 15px 30px;
    border-radius: 16px;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.03);
    margin-top: 20px;
    margin-bottom: 25px;
}

.dashboard-logo {
    max-width: 140px;
    height: auto;
}

.dashboard-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1b2559;
    margin: 0;
}

/* Custom Action Buttons */
.action-btn {
    border-radius: 10px;
    padding: 8px 18px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: none;
}

.btn-generate {
    background-color: #4318ff;
    color: #ffffff !important;
}

.btn-generate:hover {
    background-color: #3311cc;
    box-shadow: 0px 6px 15px rgba(67, 24, 255, 0.3);
}

.btn-list {
    background-color: #01b574;
    color: #ffffff !important;
}

.btn-list:hover {
    background-color: #01935e;
    box-shadow: 0px 6px 15px rgba(1, 181, 116, 0.3);
}

.btn-logout-custom {
    background-color: #ee5d50;
    color: #ffffff !important;
}

.btn-logout-custom:hover {
    background-color: #e33626;
    box-shadow: 0px 6px 15px rgba(238, 93, 80, 0.3);
}

/* Table Card Container */
.table-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.03);
    margin-bottom: 40px;
}

.table-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1b2559;
    margin-bottom: 20px;
    text-align: left;
}

/* Modern Styled Table */
.custom-table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
}

.custom-table thead th {
    background-color: #f8f9fa !important;
    color: #a3b2c7 !important;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none !important;
    padding: 14px 16px;
}

.custom-table tbody tr {
    transition: all 0.2s ease;
}

.custom-table tbody tr:hover {
    background-color: #f8fafc;
}

.custom-table tbody td {
    padding: 14px 16px;
    vertical-align: middle !important;
    border-top: 1px solid #f1f5f9 !important;
    border-bottom: none !important;
    border-left: none !important;
    border-right: none !important;
    color: #2b3674;
    font-weight: 500;
}

.qr-thumb {
    width: 45px;
    height: 45px;
    object-fit: contain;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    padding: 3px;
    background: #fff;
}