:root {
    --navy: #0B2545; --navy-light: #13376e;
    --teal: #0ea5b5; --teal-light: #22d3ee; --teal-pale: #e0f7fa;
    --white: #ffffff; --gray-50: #f8fafc; --gray-100: #f1f5f9;
    --gray-200: #e2e8f0; --gray-400: #94a3b8; --gray-600: #475569;
    --gray-800: #1e293b; --danger: #ef4444;
}
* { margin:0; padding:0; box-sizing:border-box; }
body { font-family:'DM Sans',sans-serif; background:linear-gradient(135deg,var(--navy) 0%,#0e3a6e 50%,#0a6b7c 100%); min-height:100vh; display:flex; position:relative; overflow:hidden; }
body::before { content:''; position:absolute; width:600px; height:600px; border-radius:50%; background:radial-gradient(circle,rgba(14,165,181,.18) 0%,transparent 70%); top:-100px; right:-100px; }
body::after  { content:''; position:absolute; width:400px; height:400px; border-radius:50%; background:radial-gradient(circle,rgba(14,165,181,.12) 0%,transparent 70%); bottom:-80px; left:-80px; }
.auth-left { flex:1; display:flex; flex-direction:column; justify-content:center; padding:60px 80px; color:white; position:relative; z-index:1; }
.brand { display:flex; align-items:center; gap:14px; margin-bottom:52px; }
.brand-icon { width:48px; height:48px; background:var(--teal); border-radius:12px; display:flex; align-items:center; justify-content:center; font-size:24px; }
.brand-name { font-family:'Syne',sans-serif; font-size:22px; font-weight:700; }
.auth-left h1 { font-family:'Syne',sans-serif; font-size:40px; font-weight:800; line-height:1.15; margin-bottom:16px; letter-spacing:-1px; }
.auth-left p { font-size:16px; color:rgba(255,255,255,.7); line-height:1.7; max-width:360px; }
.features { margin-top:40px; display:flex; flex-direction:column; gap:14px; }
.feature { display:flex; align-items:center; gap:14px; background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.1); border-radius:10px; padding:14px 18px; }
.feature-icon { width:36px; height:36px; background:rgba(14,165,181,.25); border-radius:8px; display:flex; align-items:center; justify-content:center; font-size:16px; flex-shrink:0; }
.feature span { font-size:14px; color:rgba(255,255,255,.85); }
.auth-contact { margin-top: auto; padding-top: 40px; display: flex; flex-direction: column; gap: 8px; }
.contact-item { font-size: 13px; color: rgba(255,255,255,.6); display: flex; align-items: center; gap: 8px; }
.contact-item a { color: rgba(255,255,255,.8); text-decoration: none; }
.contact-item a:hover { text-decoration: underline; color: white; }
.auth-right { width:460px; display:flex; align-items:center; justify-content:center; padding:40px; position:relative; z-index:1; }
.auth-card { background:white; border-radius:20px; padding:44px 40px; width:100%; box-shadow:0 24px 64px rgba(0,0,0,.3); }
.auth-card h2 { font-family:'Syne',sans-serif; font-size:26px; font-weight:700; color:var(--navy); margin-bottom:6px; }
.auth-card .subtitle { font-size:14px; color:var(--gray-400); margin-bottom:28px; }
.form-group { margin-bottom:16px; }
.form-group label { display:block; font-size:13px; font-weight:600; color:var(--navy); margin-bottom:7px; }
.form-group input, .form-group select { width:100%; padding:12px 16px; border:1.5px solid var(--gray-200); border-radius:10px; font-size:14px; font-family:'DM Sans',sans-serif; color:var(--gray-800); outline:none; transition:border .2s; }
.form-group input:focus, .form-group select:focus { border-color:var(--teal); box-shadow:0 0 0 3px rgba(14,165,181,.12); }
.btn-submit { width:100%; padding:14px; background:linear-gradient(135deg,var(--navy),var(--navy-light)); color:white; border:none; border-radius:10px; font-family:'DM Sans',sans-serif; font-size:15px; font-weight:600; cursor:pointer; transition:all .2s; margin-top:6px; }
.btn-submit:hover { background:linear-gradient(135deg,var(--navy-light),var(--teal)); transform:translateY(-1px); box-shadow:0 6px 20px rgba(11,37,69,.3); }
.auth-link { text-align:center; margin-top:18px; font-size:13px; color:var(--gray-600); }
.auth-link a { color:var(--teal); font-weight:600; text-decoration:none; }
.auth-link a:hover { text-decoration:underline; }
.error-list { background:#fef2f2; border:1px solid #fca5a5; border-radius:10px; padding:12px 16px; margin-bottom:16px; }
.error-list li { font-size:13px; color:#991b1b; list-style:none; }
.alert-success { background:#f0fdf4; border:1px solid #86efac; border-radius:10px; padding:12px 16px; margin-bottom:16px; font-size:13px; color:#15803d; }
.role-tabs {
        display: flex;
        gap: 8px;
        margin-bottom: 28px;
        background: var(--gray-100);
        border-radius: 10px;
        padding: 4px;
      }
      .role-tab {
        flex: 1;
        padding: 9px 12px;
        border: none;
        background: transparent;
        border-radius: 8px;
        cursor: pointer;
        font-family: "DM Sans", sans-serif;
        font-size: 13px;
        font-weight: 500;
        color: var(--gray-600);
        transition: all 0.2s;
      }
      .role-tab.active {
        background: white;
        color: var(--navy);
        font-weight: 600;
        box-shadow: 0 1px 6px rgba(11, 37, 69, 0.12);
      }



/* =========================================
   Extra Large Screens / 4K / Wide Monitors
========================================= */
@media (min-width: 1600px) {
.features {
    width: 50%;
}
body::before {
    display:none;
}
}


/* =========================================
   Large Desktop Screens
========================================= */
@media (min-width: 1400px) and (max-width: 1599px) {
.features {
    width: 60%;
}
body::before {
    display:none;
}
}


/* =========================================
   Desktop / Large Laptop
========================================= */
@media (min-width: 1200px) and (max-width: 1399px) {
body::before {
    display:none;
}
}


/* =========================================
   Small Laptop / Notebook
========================================= */
@media (min-width: 992px) and (max-width: 1199px) {
body::before {
    display:none;
}
}


/* =========================================
   Tablet / iPad
========================================= */
@media (min-width: 768px) and (max-width: 991px) {
body::before {
    display:none;
}
.auth-left {
    padding: 20px 30px;
    min-width: 390px;
}
.auth-left h1 {
    font-size: 28px;
    margin-top: 65px;
}
.brand-name {
    font-size: 18px;
}
.auth-card {
    padding: 30px 20px;
}
.role-tab {
    padding: 9px 9px;
    font-size: 12px;
}
}


/* =========================================
   Large Mobile Devices
========================================= */
@media (min-width: 576px) and (max-width: 767px) {
body::before {
    display:none;
}
body {
    overflow: scroll;
    flex-direction: column;
}
.auth-left {
    padding: 40px;
}
.auth-right {
    width: 100%;
}
.contact-item a {
    width: 350px;
}
.auth-left h1 {
    font-size: 30px;
}
}


/* =========================================
   Mobile Devices
========================================= */
@media (max-width: 575px) {
.auth-right{width:100%;} 
    body {
    display: block;
    overflow: auto;
}
body::before {
    display: none;
}
.auth-left {
    padding: 30px 15px;
}
.auth-left h1 {
    font-size: 28px;
}
.auth-card {
    padding: 25px;
} 
.role-tab {
    padding: 9px 2px;
    font-size: 12px;
}
.auth-left h1, .auth-left p {
    text-align: center;
}
.brand-name {
    font-size: 20px;
}
.db-table {
    overflow: scroll !important;
}
.db-table table {
    width: 140% !important;
}

}

