/* ----------------------------- */
/* GLOBAL LOCK (NO SCROLLING)    */
/* ----------------------------- */

html, body {
    margin: 0;
    height: 100%;
    overflow-x: hidden;
}

/* ----------------------------- */
/* APP SHELL */
/* ----------------------------- */

body {
    font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
    background: radial-gradient(circle at top, #14121c 0%, #0a0810 100%);
    color: #eae9ed;
}

/* ========================================= */
/* LOGIN PAGE                                */
/* ========================================= */

.center-wrapper {
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 20;
    pointer-events: none;
}

.glass-card {
    pointer-events: auto;
    width: 100%;
    max-width: 420px;
    padding: 45px 40px;

    background: rgba(255, 255, 255, 0.01);
    border-radius: 30px;

    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);

    border: 1px solid rgba(255, 255, 255, 0.18);

    box-shadow:
        0 0 40px rgba(0, 0, 0, 0.45),
        inset 0 0 50px rgba(255, 255, 255, 0.04);

    text-align: center;
    animation: glassFade 0.7s ease;
}

@keyframes glassFade {
    from { opacity: 0; transform: scale(0.95); }
    to   { opacity: 1; transform: scale(1); }
}

.logo-container {
    margin-bottom: 25px;
}

.server-logo {
    width: 150px;
    height: 150px;
    object-fit: contain;
    filter: drop-shadow(0 8px 20px rgba(0,0,0,0.4));
}

.glass-card h1 {
    font-size: 32px;
    font-weight: 700;
    margin-top: 10px;
}

.login-btn {
    display: inline-block;
    background: linear-gradient(135deg, #7b5cf9, #8a4fff);
    color: white;
    padding: 18px 32px;
    border-radius: 16px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    transition: 0.35s ease;
    box-shadow: 0 10px 25px rgba(0,0,0,0.35);
}

.login-btn:hover {
    transform: translateY(-4px);
    filter: brightness(1.2);
}

.error-message {
    background: rgba(255, 0, 0, 0.25);
    border: 1px solid rgba(255, 0, 0, 0.35);
    color: #ff8686;
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-size: 14px;
}

.background-image {
    position: fixed;
    inset: 0;
    background: url('images/background.jpg') center/cover no-repeat;
    z-index: 1;
}

.background-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    backdrop-filter: brightness(0.85);
}

/* ----------------------------- */
/* SIDEBAR NAV */
/* ----------------------------- */

.sidebar {
    width: 270px;
    height: 100vh;
    position: fixed;
    inset: 0 auto 0 0;

    background: linear-gradient(180deg, #12101a 0%, #0c0a11 100%);
    border-right: 1px solid rgba(255,255,255,0.05);

    padding: 20px 16px;
    display: flex;
    flex-direction: column;

    box-sizing: border-box;
    box-shadow: 6px 0 24px rgba(0,0,0,0.6);
}

/* ----------------------------- */
/* Brand */
/* ----------------------------- */

.logo {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 18px;
}

.logo-icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.logo-text div:first-child {
    font-weight: 800;
    font-size: 20px;
}

.logo-text div:last-child {
    font-size: 12px;
    letter-spacing: .06em;
    color: #a79cff;
}

/* ----------------------------- */
/* NAVIGATION */
/* ----------------------------- */

.nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-links li {
    margin-bottom: 6px;
}

.nav-links li a {
    display: block;
    padding: 10px 14px;
    border-radius: 10px;

    color: #cfcfe7;
    font-size: 14px;
    text-decoration: none;
    font-weight: 500;

    transition: background .15s ease, color .15s ease;
}

.nav-links li a:hover {
    background: rgba(120,105,255,0.12);
    color: #fff;
}

.nav-links li.active a {
    background: linear-gradient(90deg, rgba(120,105,255,0.28), rgba(120,105,255,0.08));
    border-left: 3px solid #8f70ff;
    color: #fff;
}

.nav-section {
    margin: 18px 0 6px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .1em;
    opacity: .45;
}

/* ----------------------------- */
/* USER PANEL */
/* ----------------------------- */

.sidebar-footer {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.user-card {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pfp {
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

.user-info {
    flex: 1;
}

.user-info .name {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 1px;
}

.user-info .role {
    opacity: .6;
    font-size: 11px;
}

.logout {
    color: #aaa;
    text-decoration: none;
    font-size: 11px;
    opacity: .7;
}

.logout:hover {
    opacity: 1;
    color: #ff6d6d;
}

/* ----------------------------- */
/* DASHBOARD LAYOUT */
/* ----------------------------- */

.dash-row {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 20px;
    margin-bottom: 22px;
}

.dash-card {
    background: rgba(20,18,30,0.9);
    padding: 20px;
    border-radius: 14px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05);
}

/* ----------------------------- */
/* PROFILE */
/* ----------------------------- */

.profile-card {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;

    gap: 22px;
    padding: 24px;

    background: rgba(24,22,34,0.92);
    border-radius: 16px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05);
}

.profile-left {
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-right {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.profile-pfp {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid #8f70ff;
    box-shadow: 0 0 14px rgba(143,112,255,0.35);
}

.profile-welcome {
    font-size: 22px;
    margin: 0;
    font-weight: 700;
}

.profile-rank {
    margin: 0;
    font-size: 14px;
    opacity: .85;
}

.profile-rank .label {
    opacity: .65;
}

.profile-roles {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.role-tag {
    padding: 6px 12px;
    font-size: 12px;

    background: linear-gradient(90deg,#8f70ff,#6f56ff);
    border-radius: 20px;

    white-space: nowrap;
}

.role-tag.none {
    background: rgba(255,255,255,0.1);
    opacity: .65;
}

/* ----------------------------- */
/* STATS */
/* ----------------------------- */

.stats-card h3 {
    margin-top: 0;
}

.stats-list {
    list-style: none;
    padding: 0;
    margin: 0 0 15px;
}

.stats-list li {
    margin-bottom: 6px;
}

.status {
    padding: 3px 8px;
    border-radius: 8px;
    font-size: 11px;
}

.status.online {
    background: rgba(0,255,140,0.15);
    color: #39ffb2;
}

.status.offline {
    background: rgba(255,80,80,0.15);
    color: #ff6b6b;
}

/* Downtime */

.schedule {
    padding-left: 16px;
    opacity: .8;
}

.schedule li {
    margin-bottom: 4px;
}

/* ----------------------------- */
/* QUICK LINKS */
/* ----------------------------- */

.quick-links {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.quick-row {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;

    padding: 14px 16px;
    background: rgba(120,105,255,0.06);
    border-radius: 12px;
}

.quick-info .title {
    font-weight: 700;
    margin-bottom: 2px;
}

.quick-info p {
    font-size: 13px;
    opacity: .75;
}

.quick-btn {
    padding: 8px 16px;
    background: linear-gradient(90deg,#8f70ff,#6f56ff);
    border-radius: 10px;

    color: white;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}

.quick-btn:hover {
    filter: brightness(1.15);
}

/* ============================= */
/* APPLICATIONS PAGE STYLES      */
/* ============================= */
#search-input {
    width: 100%;
    max-width: 400px;
    padding: 12px 16px;
    margin-bottom: 20px;
    font-size: 14px;
    border-radius: 12px;
    border: 1px solid #2c2435;
    background: #1b1823;
    color: #eae9ed;
    box-shadow: inset 0 0 5px rgba(0,0,0,0.3);
    transition: 0.3s all ease;
}

#search-input:focus {
    outline: none;
    border-color: #8f70ff;
    box-shadow: 0 0 10px rgba(143,112,255,0.4);
    background: #211b2c;
}

.apps-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 25px;
    background: #14121a;
    border: 1px solid #1f1b29;
}

.apps-table th {
    background: #1f1b29;
    padding: 12px;
    text-align: left;
    font-weight: bold;
    border-bottom: 1px solid #2c2738;
}

.apps-table td {
    padding: 10px;
    border-bottom: 1px solid #1f1b29;
}

.submission-box {
    background: #14121a;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    margin-top: 20px;
}

.submission-entry {
    background: #1b1823;
    border: 1px solid #2a2435;
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 25px;
}

.sub-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sub-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.answers-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 15px;
}

.answer-block {
    background: #121018;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #2a2238;
}

.answers-pre {
    background: #0e0c13;
    padding: 10px;
    border-radius: 8px;
    white-space: pre-wrap; 
    word-wrap: break-word; 
    overflow-x: auto;      
    margin-top: 10px;
    max-height: 300px; 
}

.status-tag {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    text-transform: capitalize;
}

.status-pending { background: #564300; color: #ffd65c; }
.status-viewed  { background: #00385a; color: #6accff; }
.status-approved{ background: #005a15; color: #6cff82; }
.status-denied  { background: #5a0000; color: #ff6c6c; }

.form-inline {
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-inline select {
    background: #14121a;
    color: #ffffff;
    border: 1px solid #2e2838;
    padding: 6px;
    border-radius: 8px;
}

.save-btn {
    background: #00a86b;
    padding: 6px 14px;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.2s;
}

.save-btn:hover { background: #00c47c; }

.update-banner {
    background: #003b19;
    color: #7bffb5;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #007f49;
    margin-bottom: 20px;
}

.small-muted {
    opacity: 0.7;
    font-size: 0.9rem;
}

.divider {
    border: 0;
    border-bottom: 1px solid #2c2435;
    margin: 15px 0;
}

/* ============================= */
/* MANAGE APPLICATIONS           */
/* ============================= */

.manage-card {
    background: #14121a;             
    border: 1px solid #1f1b29;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.35);
}

.manage-card input[type="text"],
.manage-card textarea,
.manage-card select {
    background: #1b1823;     
    border: 1px solid #2c2435;
    padding: 8px 12px;        
    border-radius: 12px;
    color: #eae9ed;
    font-size: 13px;
    width: 100%;
    box-sizing: border-box;
    transition: 0.3s all ease;
}

.manage-card input[type="text"]:focus,
.manage-card textarea:focus,
.manage-card select:focus {
    outline: none;
    border-color: #8f70ff;
    box-shadow: 0 0 8px rgba(143,112,255,0.4);
    background: #211b2c;
}

.add-question-btn,
.save-btn,
.remove-btn {
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    background: linear-gradient(135deg, #7b5cf9, #8a4fff);
    color: #fff;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.add-question-btn:hover,
.save-btn:hover,
.remove-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.35);
    background: linear-gradient(135deg, #9560ff, #a04fff);
}

.question-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px;
    background: #121018;                 
    border: 1px solid #2a2238;
    border-radius: 12px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05);
    margin-bottom: 12px;
    align-items: center;
}

.manage-card .save-btn-inline {
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    background: #00a86b;
    color: #fff;
    transition: 0.3s ease;
}

.manage-card .save-btn-inline:hover {
    background: #00c47c;
}

.manage-card select.inline-select {
    background: #1b1823;
    border: 1px solid #2c2435;
    color: #eae9ed;
    padding: 8px 12px;
    border-radius: 12px;
    font-size: 13px;
    transition: 0.3s ease;
}

.manage-card select.inline-select:focus {
    outline: none;
    border-color: #8f70ff;
    box-shadow: 0 0 8px rgba(143,112,255,0.4);
    background: #211b2c;
}

.manage-card .apps-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 14px;
    background: #14121a;
    border: 1px solid #1f1b29;
}

.manage-card .apps-table th,
.manage-card .apps-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #1f1b29;
    font-size: 13px;
}

.manage-card .apps-table th {
    background: #1f1b29;
    text-align: left;
    font-weight: 600;
}

.manage-card .apps-table tr:hover {
    background: rgba(143,112,255,0.06);
}

.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    text-transform: capitalize;
    display: inline-block;
}

.status-open    { background: rgba(0,255,140,0.15); color: #39ffb2; }
.status-closed  { background: rgba(255,80,80,0.15); color: #ff6b6b; }
.status-hidden  { background: rgba(255,255,255,0.1); color: #aaa; }

.manage-card .update-banner {
    background: #003b19;
    color: #7bffb5;
    border: 1px solid #007f49;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 20px;
    font-size: 13px;
}

.answers-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 12px;
}

.answer-block {
    background: #121018;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid #2a2238;
}

.answers-pre {
    background: #0e0c13;
    padding: 8px;
    border-radius: 8px;
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-x: auto;
    max-height: 250px;
    font-size: 13px;
}

.divider {
    border: 0;
    border-bottom: 1px solid #2c2435;
    margin: 12px 0;
}

.dash-card input[type="text"],
.dash-card textarea,
.dash-card select {
    background: #1b1823;            
    border: 1px solid #2c2435;
    padding: 12px 16px;           
    border-radius: 12px;
    color: #eae9ed;
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
    transition: 0.3s all ease;
}

.dash-card input[type="text"]:focus,
.dash-card textarea:focus,
.dash-card select:focus {
    outline: none;
    border-color: #8f70ff;
    box-shadow: 0 0 10px rgba(143,112,255,0.4);
    background: #211b2c;
}

/* ----------------------------- */
/* Table Layout      */
/* ----------------------------- */
.staff-table {
    table-layout: fixed;
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
    background: #14121a;
    border: 1px solid #2c2738;
    margin-left: auto;
    margin-right: auto;
}

.staff-table th {
    padding: 12px;
    font-size: 14px;
    color: #eae9ed;
    text-align: center;
    vertical-align: middle;
    border-bottom: 1px solid #2c2738;
}

.staff-table td {
    padding: 0;
    width: 20%;
    height: 50px;
    vertical-align: middle;
    box-sizing: border-box;
    text-align: center;
    border-bottom: 1px solid #2c2738;
}

/* ----------------------------- */
/* Status Badge Styling          */
/* ----------------------------- */

.staff-table .status {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    border-radius: 0;
    box-sizing: border-box;
    text-align: center;
    padding: 18px;
    background-color: transparent;
    color: inherit;
}

.staff-table .status.active {
    background-color: #28a745;
    color: white;
}

.staff-table .status.inactive {
    background: rgba(255, 80, 80, 0.2);
    color: #ff6b6b;
}

.staff-table .vacant {
    color: #ff6b6b;
    font-style: italic;
    background: rgba(255, 107, 107, 0.1);
    font-weight: bold;
    text-align: center;
}

/* ============================= */
/* Action Logs Page Styles       */
/* ============================= */

.logs-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: #14121a;
    border: 1px solid #2c2738;
}

.logs-table th {
    background: #1f1b29;
    padding: 12px;
    font-size: 14px;
    text-align: left;
    color: #eae9ed;
    border-bottom: 1px solid #2c2738;
}

.logs-table td {
    padding: 12px;
    font-size: 13px;
    color: #eae9ed;
    border-bottom: 1px solid #1f1b29;
}

.logs-table tr:hover {
    background: rgba(143,112,255,0.08);
}

.logs-table th, .logs-table td {
    text-align: left;
    vertical-align: middle;
}

.logs-table .username {
    font-weight: 700;
    color: #8f70ff;
}

.logs-table .timestamp {
    font-size: 12px;
    color: #999;
}

.log-card {
    background: rgba(20,18,30,0.9);
    padding: 20px;
    border-radius: 14px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05);
}

/* ----------------------------- */
/* Section Title Styling         */
/* ----------------------------- */

h1, h2 {
    text-align: center;
    color: #eae9ed;
}

p {
    text-align: center;
    color: #eae9ed;
}

h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

h2 {
    font-size: 24px;
    font-weight: 700;
    margin-top: 30px;
    margin-bottom: 10px;
    color: #bfa9ff;
    text-transform: uppercase;
}

/* ----------------------------- */
/* Padding and Margin Adjustment */
/* ----------------------------- */

section {
    width: 90%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 20px;
}

/* ============================= */
/* MISCONDUCT REPORTS PANELS      */
/* ============================= */

#add-report-box,
#view-report-box {
    display: none;
    width: 100%;     
    margin: 20px 0;     
    padding: 25px;
    border-radius: 14px;
    background: rgba(20,18,30,0.9);
    box-shadow: 0 0 18px rgba(0,0,0,0.55);
    animation: dropdownFade 0.35s ease;
    box-sizing: border-box; 
}


#add-report-box h2,
#view-report-box h2 {
    margin-top: 0;
    margin-bottom: 18px;
    font-size: 20px;
    color: #cbb4ff;
    text-align: left;
}

#add-report-box form label,
#view-report-box label {
    display: block;
    margin-top: 10px;
    font-weight: 600;
    opacity: 0.85;
}

#add-report-box input[type="text"],
#add-report-box input[type="datetime-local"],
#add-report-box textarea,
#add-report-box select,
#add-report-box input[type="file"],
#view-report-box textarea {
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 14px;
    border-radius: 10px;
    border: 1px solid #2c2435;
    background: #1b1823;
    color: #eae9ed;
    font-size: 14px;
    box-sizing: border-box;
    transition: 0.3s all ease;
}

#add-report-box input:focus,
#add-report-box textarea:focus,
#add-report-box select:focus,
#view-report-box textarea:focus {
    outline: none;
    border-color: #8f70ff;
    background: #221c2c;
    box-shadow: 0 0 8px rgba(143,112,255,0.35);
}

#add-report-box textarea,
#view-report-box textarea {
    resize: vertical;
    min-height: 110px;
}

#add-report-box button.save-btn {
    width: 100%;
    margin-top: 10px;
    padding: 12px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    background: linear-gradient(135deg, #00a86b, #00c47c);
}

#add-report-box button.save-btn:hover {
    filter: brightness(1.15);
}

#view-report-box img {
    max-width: 150px;
    margin: 5px;
    border: 1px solid #333;
    border-radius: 5px;
}

.submission-box {
    border-radius: 14px;
    padding: 20px;
    background: rgba(20,18,30,0.9);
    box-shadow: 0 0 18px rgba(0,0,0,0.55);
}


/* ----------------------------- */
/* MAIN CONTENT */
/* ----------------------------- */

.main-content {
    margin-left: 270px;
    min-height: 100vh; 
    padding: 45px 60px;
    padding-bottom: 80px; 
    background: linear-gradient(
        180deg,
        rgba(16,14,23,0.95) 0%,
        rgba(9,7,14,0.95) 100%
    );
    overflow-y: auto;
    overflow-x: hidden;
}

/* ----------------------------- */
/* MAIN TEXT */
/* ----------------------------- */

.main-content h1 {
    font-size: 32px;
    letter-spacing: -0.5px;
    margin-bottom: 10px;
}

.main-content p {
    opacity: .85;
}

/* ----------------------------- */
/* NOTIFICATION MODULE & AI DETC */
/* ----------------------------- */

.notification-banner {
    position: fixed;
    top: 25px;
    right: 25px;
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 600;
    z-index: 9999;
    opacity: 1;
    transition: opacity 1s ease, transform 0.5s ease;
}

.notification-banner.success { background: #003b19; color: #7bffb5; border: 1px solid #007f49; }
.notification-banner.error   { background: #5a0000; color: #ff6c6c; border: 1px solid #8f0000; }
.notification-banner.info    { background: #00385a; color: #6accff; border: 1px solid #0060a0; }

.ai-detected {
    color: red;
}

/* ----------------------------- */
/* MODAL STYLES */
/* ----------------------------- */

.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

.modal {
    background: rgba(24, 22, 34, 0.95);
    padding: 30px 25px;
    border-radius: 18px;
    max-width: 500px;
    width: 90%;
    color: #eae9ed;
    box-shadow: 0 12px 45px rgba(0, 0, 0, 0.6);
    text-align: center;
    transform: scale(0.8);
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

.modal-backdrop.active .modal {
    transform: scale(1);
    opacity: 1;
}

.modal h2 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 24px;
}

.modal p {
    margin-bottom: 25px;
    font-size: 15px;
    opacity: 0.85;
}

.modal .modal-close-btn {
    background: linear-gradient(135deg, #7b5cf9, #8a4fff);
    padding: 12px 24px;
    border-radius: 12px;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal .modal-close-btn:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #9560ff, #a04fff);
}

.modal-confirm-btn {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    padding: 12px 24px;
    border-radius: 12px;
    color: #fff;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-confirm-btn:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #4fe39c, #2ecc71);
}

.modal-actions{
    margin-top:15px;
    display:flex;
    justify-content:center;
    gap:10px;
}

/* ----------------------------- */
/* CUSTOM SCROLL BAR OVERRIDE    */
/* ----------------------------- */

::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 8px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #8f70ff, #6f56ff);
    border-radius: 8px;
    border: 3px solid rgba(0, 0, 0, 0.1);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #9560ff, #a04fff);
}

::-webkit-scrollbar-corner {
    background: rgba(0, 0, 0, 0.2);
}

/* ----------------------------- */
/* PAGINATION                    */
/* ----------------------------- */

.pagination {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
}

.pagination a {
    text-decoration: none;
    padding: 8px 12px;
    margin: 0 5px;
    background-color: #2c2435;
    color: #eae9ed;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.pagination a:hover {
    background-color: #8f70ff;
}

.pagination span {
    margin: 0 10px;
}
