/* ========================
   GLOBAL RESET
======================== */
body {
    margin: 0;
    font-family: 'Inter', 'Segoe UI', sans-serif;
    background: #f5f7fb;
    color: #333;
}

h1, h2, h3 {
    margin: 0;
}

/* button {
    padding: 10px 14px;
    border: none;
    background: #2a5298;
    color: #fff;
    cursor: pointer;
    border-radius: 6px;
    transition: 0.3s;
}

button:hover {
    background: #1e3c72;
}

input {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    width: 100%;
} */

/* ========================
   LOGIN PAGE
======================== */
.login-container {
    display: flex;
    height: 100vh;
}

.login-left {
    flex: 1;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    z-index: 1;
    position:relative;
    pointer-events: none;
}



.login-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.login-box {
    width: 350px;
    padding: 40px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.brand h1 {
    font-size: 42px;
}
.subtitle {
    font-size: 14px;
    color: #777;
    margin-bottom: 20px;
}

/* ========================
   HEADER
======================== */
 /* .header {
    height: 60px;
    background: white;
    border-bottom: 1px solid #eee;

    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;

   
    z-index: 1000;
} 
.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: 10px;
    
}
.icon {
    cursor: pointer;
}

.user-menu {
    position: relative;
    cursor: pointer;
} */
/* .header {
    height: 60px;
    background: #0f172a;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
} */
/* .logo {
    font-weight: 600;
    color: #2a5298;
} */

/* ========================
   LAYOUT
======================== */

/* .app-container {
    display: flex;
    height: calc(100vh - 60px);
    transition: all 0.3s ease;  
} */
/* .main-content {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
} */
/* .sidebar {
    width: 240px;
    height: calc(100vh - 60px);

    background: linear-gradient(180deg, #1e3c72, #2a5298);
    color: white;

    position: fixed;
    top: 60px;
    left: 0;

    padding: 20px;
} */
 /* 
.sidebar {
    width: 250px;
    background: #1e293b;
    transition: width 0.3s ease;
    overflow: hidden;

    height: 100%;
    flex-shrink: 0;   
}
.sidebar a {
    display: flex;
    align-items: center;
    gap: 10px;

    padding: 12px;
    border-radius: 8px;
    color: white;
    text-decoration: none;

    transition: 0.3s;
}

.sidebar a:hover {
    background: #334155;
}
/* COLLAPSED STATE */
/* .app-container.collapsed .sidebar {
    width: 70px;
}
.app-container.collapsed .sidebar .menu-text {
    display: none;
} */ */



/* ========================
   DASHBOARD
======================== */
/* .dashboard {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* CARDS */
/* .cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.card {
    background: white;
    border-radius: 12px;
    padding: 20px;

    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: 0.3s;
}

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

.card h3 {
    font-size: 14px;
    color: #888;
}

.card p {
    font-size: 26px;
    font-weight: bold;
    margin-top: 10px;
} */

/* PANELS */
.dashboard-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

.panel {
    background: white;
    padding: 20px;
    border-radius: 12px;

    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.panel ul {
    padding-left: 20px;
}

.panel li {
    margin-bottom: 10px;
} */

/* ========================
   UTILITIES
======================== */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

/* HEADER RIGHT */
/* .header-right {
    display: flex;
    align-items: center;
    gap: 20px;
} */

/* ICON */
/* .icon {
    cursor: pointer;
    font-size: 18px;
} */

/* USER MENU */
/* .user-menu {
    position: relative;
    cursor: pointer;
    font-weight: 500;
} */

/* DROPDOWN */
/* .dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: 35px;

    background: white;
    min-width: 150px;

    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);

    overflow: hidden;
}

.dropdown a {
    display: block;
    padding: 10px;
    color: #333;
    text-decoration: none;
}

.dropdown a:hover {
    background: #f5f7fb;
} */
#captchaCode {
    font-weight: bold;
    background: #eee;
    padding: 5px 10px;
    border-radius: 5px;
    letter-spacing: 3px;
}
#captchaImg {
    display: inline-block !important;
    width: 120px !important;
    height: 40px !important;
    object-fit: contain;
}
#globalMessage {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 12px 20px;
    border-radius: 6px;
    color: #fff;
    font-size: 14px;
    z-index: 9999;
    display: none;
}

.message.success { background: #28a745; }
.message.error { background: #dc3545; }
.message.info { background: #007bff; }

/* BASE BUTTON */
.btn {
    padding: 8px 14px;
    border-radius: 6px;
    border: none;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.btn-sm {
    padding: 6px 14px;
    border-radius: 6px;
    border: none;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* PRIMARY (Edit / Main action) */
.btn-primary {
    background: #2563eb;
    color: #fff;
}
.btn-primary:hover {
    background: #1e4ed8;
}

/* SUCCESS (Save / Submit) */
.btn-success {
    background: #16a34a;
    color: #fff;
}
.btn-success:hover {
    background: #15803d;
}

/* DANGER (Delete) */
.btn-danger {
    background: #dc2626;
    color: #fff;
}
.btn-danger:hover {
    background: #b91c1c;
}

/* WARNING */
.btn-warning {
    background: #f59e0b;
    color: #fff;
}
.btn-warning:hover {
    background: #d97706;
}

/* INFO */
.btn-info {
    background: #0891b2;
    color: #fff;
}
.btn-info:hover {
    background: #0e7490;
}

/* SECONDARY (Cancel / Neutral) */
.btn-secondary {
    background: #6b7280;
    color: #fff;
}
.btn-secondary:hover {
    background: #4b5563;
}

/* DISABLED */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}