/* ===== VEXO Careers GLOBAL CSS ===== */

/* Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background: #F8FAFC; color: #1E293B; }

/* ===== NAVBAR ===== */
.navbar { background: white; padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; box-shadow: 0 1px 4px rgba(0,0,0,0.08); position: sticky; top: 0; z-index: 100; }
.navbar .logo { color: #2563EB; font-size: 22px; font-weight: 800; text-decoration: none; }
.logo-link { text-decoration: none; display: flex; align-items: center; }
.nav-logo { height: 40px; width: auto; object-fit: contain; }
@media (max-width: 480px) { .nav-logo { height: 32px; } }
.logo-link { text-decoration: none; display: flex; align-items: center; }
.nav-logo { height: 40px; width: auto; object-fit: contain; }
@media (max-width: 480px) { .nav-logo { height: 32px; } }
.navbar .nav-right { display: flex; align-items: center; gap: 16px; }
.navbar .nav-right a { color: #64748B; text-decoration: none; font-size: 14px; font-weight: 500; }
.navbar .logout { color: #DC2626 !important; font-weight: 600 !important; }
.hamburger { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: #1E293B; }
.mobile-menu { display: none; background: white; padding: 16px 24px; border-top: 1px solid #E2E8F0; flex-direction: column; gap: 12px; }
.mobile-menu a { color: #64748B; text-decoration: none; font-size: 15px; font-weight: 500; padding: 8px 0; border-bottom: 1px solid #F1F5F9; }
.mobile-menu.open { display: flex; }

/* ===== BUTTONS ===== */
.btn { display: inline-block; padding: 12px 24px; border-radius: 8px; font-size: 15px; font-weight: 600; cursor: pointer; border: none; text-decoration: none; text-align: center; transition: all 0.2s; }
.btn-primary { background: #2563EB; color: white; }
.btn-primary:hover { background: #1E40AF; }
.btn-outline { background: white; color: #2563EB; border: 2px solid #2563EB; }
.btn-outline:hover { background: #EFF6FF; }
.btn-danger { background: #FEE2E2; color: #DC2626; }
.btn-success { background: #DCFCE7; color: #16A34A; }
.btn-full { width: 100%; }

/* ===== CARDS ===== */
.card { background: white; border-radius: 16px; padding: 28px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }

/* ===== FORMS ===== */
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: #374151; margin-bottom: 6px; }
.form-control { width: 100%; padding: 11px 14px; border: 2px solid #E2E8F0; border-radius: 8px; font-size: 14px; outline: none; font-family: inherit; transition: border 0.2s; background: white; }
.form-control:focus { border-color: #2563EB; }
textarea.form-control { resize: vertical; min-height: 100px; }

/* ===== ALERTS ===== */
.alert { padding: 12px 16px; border-radius: 8px; font-size: 14px; margin-bottom: 20px; }
.alert-error { background: #FEE2E2; color: #DC2626; }
.alert-success { background: #DCFCE7; color: #16A34A; }
.alert-info { background: #EFF6FF; color: #1E40AF; }
.alert-warning { background: #FEF9C3; color: #92400E; }

/* ===== BADGES ===== */
.badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 700; }
.badge-active { background: #DCFCE7; color: #16A34A; }
.badge-locked { background: #FEE2E2; color: #DC2626; }
.badge-none { background: #F1F5F9; color: #64748B; }
.badge-monthly { background: #DBEAFE; color: #1D4ED8; }
.badge-annual { background: #EDE9FE; color: #6D28D9; }
.badge-lifetime { background: #FEF9C3; color: #92400E; }

/* ===== AUTH PAGES ===== */
.auth-body { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; }
.auth-card { background: white; padding: 40px; border-radius: 16px; box-shadow: 0 4px 24px rgba(0,0,0,0.08); width: 100%; max-width: 420px; }
.auth-logo { text-align: center; margin-bottom: 32px; }
.auth-logo h1 { color: #2563EB; font-size: 28px; font-weight: 800; }
.auth-logo p { color: #64748B; font-size: 14px; margin-top: 4px; }
.auth-footer { text-align: center; margin-top: 24px; font-size: 14px; color: #64748B; }
.auth-footer a { color: #2563EB; text-decoration: none; font-weight: 600; }

/* ===== DASHBOARD ===== */
.dashboard-container { max-width: 1100px; margin: 32px auto; padding: 0 24px; }
.dashboard-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }

/* ===== TWO COLUMN LAYOUT ===== */
.two-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; max-width: 1200px; margin: 32px auto; padding: 0 24px; }

/* ===== ADMIN SIDEBAR ===== */
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar { width: 240px; background: #0F172A; padding: 24px 0; position: fixed; top: 0; left: 0; height: 100vh; overflow-y: auto; z-index: 200; transition: transform 0.3s; }
.admin-sidebar .logo { color: white; font-size: 20px; font-weight: 700; padding: 0 24px 24px; border-bottom: 1px solid #1E293B; display: block; }
.admin-sidebar .logo span { color: #3B82F6; }
.admin-sidebar nav { padding: 16px 0; }
.admin-sidebar a { display: flex; align-items: center; gap: 10px; padding: 12px 24px; color: #94A3B8; text-decoration: none; font-size: 14px; font-weight: 500; transition: all 0.2s; }
.admin-sidebar a:hover, .admin-sidebar a.active { background: #1E293B; color: white; }
.admin-sidebar .logout-link { position: absolute; bottom: 24px; width: 100%; }
.admin-sidebar .logout-link a { color: #EF4444; }
.admin-main { margin-left: 240px; padding: 32px; flex: 1; }
.admin-toggle { display: none; position: fixed; top: 16px; left: 16px; z-index: 300; background: #2563EB; color: white; border: none; border-radius: 8px; padding: 8px 12px; font-size: 18px; cursor: pointer; }
.admin-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 199; }

/* ===== TABLES ===== */
.table-wrapper { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 500px; }
th { font-size: 12px; font-weight: 700; color: #64748B; text-align: left; padding: 10px 16px; background: #F8FAFC; }
td { font-size: 13px; color: #374151; padding: 12px 16px; border-bottom: 1px solid #F1F5F9; }
tr:hover td { background: #F8FAFC; }

/* ===== LOADING ===== */
.loading { text-align: center; padding: 40px; }
.spinner { font-size: 36px; animation: spin 1s linear infinite; display: inline-block; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* ===== COOKIE BANNER ===== */
.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; background: #1E293B; color: white; padding: 16px 24px; z-index: 9999; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.cookie-banner p { font-size: 14px; margin: 0; }
.cookie-banner a { color: #60A5FA; }
.cookie-banner button { background: #2563EB; color: white; border: none; padding: 8px 20px; border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap; }

/* ===== RESPONSIVE ===== */

/* Tablet */
@media (max-width: 1024px) {
    .two-panel { grid-template-columns: 1fr; }
    .admin-main { margin-left: 0; padding: 80px 20px 32px; }
    .admin-sidebar { transform: translateX(-100%); }
    .admin-sidebar.open { transform: translateX(0); }
    .admin-toggle { display: block; }
    .admin-overlay.show { display: block; }
}

/* Mobile */
@media (max-width: 768px) {
    .navbar .nav-right { display: none; }
    .hamburger { display: block; }
    .auth-card { padding: 28px 20px; }
    .card { padding: 20px; }
    .dashboard-container { margin: 20px auto; padding: 0 16px; }
    .two-panel { padding: 0 16px; margin: 20px auto; }
    .admin-main { padding: 70px 16px 24px; }
    .form-group label { font-size: 14px; }
    .btn { padding: 11px 20px; font-size: 14px; }
}

/* Small Mobile */
@media (max-width: 480px) {
    .auth-card { padding: 24px 16px; }
    .auth-logo h1 { font-size: 24px; }
    .cookie-banner { flex-direction: column; align-items: flex-start; }
}