/* ============================================
   DSA Partner Portal - Modern Minimalist Design
   Clean, Professional & Elegant UI
   ============================================ */

/* CSS Variables - Modern Color Palette */
:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --primary-50: #eef2ff;
    --secondary: #0f172a;
    --accent: #10b981;
    --accent-light: #34d399;
    
    /* Neutral Colors */
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    /* Status Colors */
    --success: #10b981;
    --success-light: #d1fae5;
    --warning: #f59e0b;
    --warning-light: #fef3c7;
    --danger: #ef4444;
    --danger-light: #fee2e2;
    --info: #3b82f6;
    --info-light: #dbeafe;
    
    /* Layout */
    --sidebar-width: 260px;
    --sidebar-collapsed: 80px;
    --topbar-height: 64px;
    --border-radius: 12px;
    --border-radius-lg: 16px;
    --border-radius-xl: 20px;
    
    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 200ms ease;
    --transition-slow: 300ms ease;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--gray-50);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--gray-900);
    line-height: 1.3;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.125rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.875rem; }

/* ============================================
   Login Page - Split Screen Design
   ============================================ */

.login-page {
    
    background: var(--gray-50);
}

/* Left Panel - Hero/Branding */
.login-hero {
    flex: 1;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, #312e81 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.login-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='50' cy='50' r='1' fill='rgba(255,255,255,0.1)'/%3E%3C/svg%3E");
    background-size: 30px 30px;
}

.login-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 480px;
    color: white;
}

.login-hero .brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 3rem;
}

.login-hero .brand-icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-hero .brand-icon svg {
    width: 28px;
    height: 28px;
    stroke: white;
}

.login-hero .brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.login-hero h1 {
    font-size: 2.75rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.2;
    letter-spacing: -1px;
}

.login-hero h1 span {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.login-hero p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1rem 1.25rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-feature svg {
    width: 20px;
    height: 20px;
    stroke: var(--accent-light);
    flex-shrink: 0;
}

.hero-feature span {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.95);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-stat {
    text-align: center;
}

.hero-stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
}

.hero-stat-label {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 4px;
}

/* Right Panel - Login Form */
.login-form-panel {
    width: 520px;
    min-width: 420px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem;
    background: white;
}

.login-form-container {
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
}

.login-form-header {
    margin-bottom: 2rem;
}

.login-form-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.login-form-header p {
    color: var(--gray-500);
    font-size: 0.9375rem;
}

/* Auth Tabs */
.auth-tabs {
    display: flex;
    background: var(--gray-100);
    border-radius: var(--border-radius);
    padding: 4px;
    margin-bottom: 1.5rem;
}

.auth-tab {
    flex: 1;
    padding: 0.75rem 1rem;
    text-align: center;
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--gray-600);
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.auth-tab.active {
    background: white;
    color: var(--gray-900);
    box-shadow: var(--shadow-sm);
}

.auth-tab:hover:not(.active) {
    color: var(--gray-900);
}

/* Form Styles */
.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
    color: var(--gray-900);
    background: var(--gray-50);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--border-radius);
    transition: all var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px var(--primary-50);
}

.form-control::placeholder {
    color: var(--gray-400);
}

.form-control-icon {
    position: relative;
}

.form-control-icon .form-control {
    padding-left: 2.75rem;
}

.form-control-icon svg {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    stroke: var(--gray-400);
}

.form-control-icon .toggle-password {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: var(--gray-400);
}

.form-control-icon .toggle-password:hover {
    color: var(--gray-600);
}

.form-select {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
    color: var(--gray-900);
    background: var(--gray-50);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--border-radius);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-select:focus {
    outline: none;
    border-color: var(--primary);
    background-color: white;
    box-shadow: 0 0 0 4px var(--primary-50);
}

/* OTP Input */
.otp-inputs {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin: 1.5rem 0;
}

.otp-input {
    width: 56px;
    height: 64px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    border: 2px solid var(--gray-200);
    border-radius: var(--border-radius);
    background: var(--gray-50);
    transition: all var(--transition-fast);
}

.otp-input:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px var(--primary-50);
}

.otp-timer {
    text-align: center;
    color: var(--gray-500);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.otp-timer span {
    color: var(--primary);
    font-weight: 600;
}

.resend-link {
    color: var(--primary);
    cursor: pointer;
    font-weight: 500;
}

.resend-link:hover {
    text-decoration: underline;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: var(--border-radius);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn svg {
    width: 18px;
    height: 18px;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: var(--gray-100);
    color: var(--gray-700);
}

.btn-secondary:hover {
    background: var(--gray-200);
}

.btn-outline {
    background: transparent;
    border: 1.5px solid var(--gray-200);
    color: var(--gray-700);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-lg {
    padding: 1rem 1.5rem;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
}

.btn-icon {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 10px;
}

/* Form Footer */
.form-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-200);
}

.form-footer p {
    color: var(--gray-500);
    font-size: 0.875rem;
}

.form-footer a {
    font-weight: 500;
}

/* ============================================
   Dashboard Layout
   ============================================ */

.dashboard-page {
    display: flex;
 
}

/* Sidebar */
.sidebar {
    width: var(--sidebar-width);
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    background: white;
    border-right: 1px solid var(--gray-200);
    display: flex;
    flex-direction: column;
    z-index: 1000;
    transition: all var(--transition-slow);
}

.sidebar-header {
    height: var(--topbar-height);
    display: flex;
    align-items: center;
    padding: 0 1.25rem;
    border-bottom: 1px solid var(--gray-100);
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--gray-900);
}

.sidebar-brand:hover {
    color: var(--gray-900);
}

.sidebar-brand .brand-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-brand .brand-icon svg {
    width: 22px;
    height: 22px;
    stroke: white;
}

.sidebar-brand .brand-text {
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: -0.25px;
}

.sidebar-nav {
    flex: 1;
    padding: 1rem 0.75rem;
    overflow-y: auto;
}

.nav-section {
    margin-bottom: 1.5rem;
}

.nav-section-title {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0 0.75rem;
    margin-bottom: 0.5rem;
}

.nav {
    list-style: none;
}

.nav-item {
    margin-bottom: 2px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0.75rem 0.75rem;
    color: var(--gray-600);
    border-radius: 10px;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: all var(--transition-fast);
}

.nav-link svg {
    width: 20px;
    height: 20px;
    stroke-width: 1.75;
    flex-shrink: 0;
}

.nav-link:hover {
    background: var(--gray-100);
    color: var(--gray-900);
}

.nav-link.active {
    background: var(--primary-50);
    color: var(--primary);
}

.nav-link.active svg {
    stroke: var(--primary);
}

.sidebar-footer {
    padding: 1rem;
    border-top: 1px solid var(--gray-100);
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: var(--sidebar-width);

    display: flex;
    flex-direction: column;
}

/* Topbar */
.topbar {
    height: var(--topbar-height);
    background: white;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    position: sticky;
    top: 0;
    z-index: 100;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sidebar-toggle {
    display: none;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    color: var(--gray-600);
}

.sidebar-toggle:hover {
    background: var(--gray-100);
}

.sidebar-toggle svg {
    width: 24px;
    height: 24px;
}

.page-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.topbar-search {
    position: relative;
    width: 280px;
    margin-right: 1rem;
}

.topbar-search input {
    width: 100%;
    padding: 0.5rem 1rem 0.5rem 2.5rem;
    font-size: 0.875rem;
    background: var(--gray-100);
    border: 1px solid transparent;
    border-radius: 10px;
    transition: all var(--transition-fast);
}

.topbar-search input:focus {
    outline: none;
    background: white;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-50);
}

.topbar-search svg {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    stroke: var(--gray-400);
}

.notification-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--gray-100);
    border: none;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    transition: all var(--transition-fast);
}

.notification-btn:hover {
    background: var(--gray-200);
    color: var(--gray-900);
}

.notification-btn svg {
    width: 20px;
    height: 20px;
}

.notification-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 8px;
    height: 8px;
    background: var(--danger);
    border-radius: 50%;
    border: 2px solid white;
}

.user-dropdown {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 12px 6px 6px;
    border-radius: 10px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.user-dropdown:hover {
    background: var(--gray-100);
}

.user-avatar {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 600;
}

.user-info {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-900);
}

.user-role {
    font-size: 0.75rem;
    color: var(--gray-500);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    min-width: 180px;
    padding: 0.5rem;
    display: none;
    z-index: 1000;
}

.dropdown-menu.show {
    display: block;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0.625rem 0.75rem;
    color: var(--gray-700);
    font-size: 0.875rem;
    border-radius: 8px;
    transition: all var(--transition-fast);
}

.dropdown-item:hover {
    background: var(--gray-100);
    color: var(--gray-900);
}

.dropdown-item svg {
    width: 16px;
    height: 16px;
}

.dropdown-divider {
    height: 1px;
    background: var(--gray-200);
    margin: 0.5rem 0;
}

/* Page Content */
.page-content {
    flex: 1;
    padding: 1.5rem;
}

/* Cards */
.card {
    background: white;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-xs);
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--gray-100);
}

.card-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-900);
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-title svg {
    width: 20px;
    height: 20px;
    stroke: var(--primary);
}

.card-body {
    padding: 1.5rem;
}

/* Stat Cards */
.stat-card {
    background: white;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--gray-200);
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: all var(--transition-fast);
}

.stat-card:hover {
    border-color: var(--gray-300);
    box-shadow: var(--shadow-sm);
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon svg {
    width: 24px;
    height: 24px;
}

.stat-icon.primary {
    background: var(--primary-50);
}

.stat-icon.primary svg {
    stroke: var(--primary);
}

.stat-icon.success {
    background: var(--success-light);
}

.stat-icon.success svg {
    stroke: var(--success);
}

.stat-icon.warning {
    background: var(--warning-light);
}

.stat-icon.warning svg {
    stroke: var(--warning);
}

.stat-icon.info {
    background: var(--info-light);
}

.stat-icon.info svg {
    stroke: var(--info);
}

.stat-content {
    flex: 1;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.2;
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--gray-500);
    margin-top: 2px;
}

.stat-trend {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-top: 6px;
    padding: 2px 8px;
    border-radius: 20px;
}

.stat-trend.up {
    background: var(--success-light);
    color: var(--success);
}

.stat-trend.down {
    background: var(--danger-light);
    color: var(--danger);
}

/* Quick Action Cards */
.action-card {
    background: white;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--gray-200);
    padding: 1.25rem;
    transition: all var(--transition-fast);
}

.action-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.action-card-icon {
    width: 44px;
    height: 44px;
    background: var(--primary-50);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.action-card-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--primary);
}

.action-card-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.action-card-desc {
    font-size: 0.8125rem;
    color: var(--gray-500);
}

/* Status Badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 20px;
}

.status-badge.approved,
.status-badge.success,
.status-badge.paid {
    background: var(--success-light);
    color: #047857;
}

.status-badge.pending {
    background: var(--warning-light);
    color: #b45309;
}

.status-badge.processing {
    background: var(--info-light);
    color: #1d4ed8;
}

.status-badge.rejected,
.status-badge.failed {
    background: var(--danger-light);
    color: #b91c1c;
}

/* DataTables Styling */
.dataTables_wrapper {
    font-size: 0.875rem;
}

.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter {
    margin-bottom: 1rem;
}

.dataTables_wrapper .dataTables_length select,
.dataTables_wrapper .dataTables_filter input {
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    background: white;
    font-size: 0.875rem;
}

.dataTables_wrapper .dataTables_filter input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-50);
}

.dataTables_wrapper .dataTables_info {
    color: var(--gray-500);
    font-size: 0.8125rem;
    padding-top: 1rem;
}

.dataTables_wrapper .dataTables_paginate {
    padding-top: 1rem;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    padding: 0.375rem 0.75rem;
    margin: 0 2px;
    border-radius: 6px;
    border: 1px solid var(--gray-200) !important;
    background: white !important;
    color: var(--gray-700) !important;
    cursor: pointer;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: var(--gray-100) !important;
    border-color: var(--gray-300) !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: white !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* DataTable Export Buttons */
.dt-buttons {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.dt-button {
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
    font-weight: 500;
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    color: var(--gray-700);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all var(--transition-fast);
}

.dt-button:hover {
    background: var(--gray-100);
    border-color: var(--gray-300);
}

.dt-button.buttons-excel {
    color: #217346;
}

.dt-button.buttons-pdf {
    color: #dc2626;
}

.dt-button.buttons-print {
    color: var(--gray-700);
}

/* Table Styles */
.table {
    width: 100%;
    border-collapse: collapse;
}

.table th {
    text-align: left;
    padding: 0.875rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
}

.table td {
    padding: 0.875rem 1rem;
    font-size: 0.875rem;
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-100);
    vertical-align: middle;
}

.table tbody tr:hover {
    background: var(--gray-50);
}

.table tbody tr:last-child td {
    border-bottom: none;
}

/* Copy Button */
.btn-copy {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    background: var(--gray-100);
    color: var(--gray-700);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-copy:hover {
    background: var(--primary-50);
    color: var(--primary);
}

.btn-copy svg {
    width: 14px;
    height: 14px;
}

/* UTM Form Card */
.utm-form-card {
    background: white;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--gray-200);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.utm-form-card .card-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Commission Cards */
.commission-card {
    background: white;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--gray-200);
    padding: 1.5rem;
    text-align: center;
}

.commission-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.commission-icon svg {
    width: 28px;
    height: 28px;
}

.commission-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.commission-label {
    font-size: 0.8125rem;
    color: var(--gray-500);
}

/* Filter Bar */
.filter-bar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.5rem 0.875rem;
    font-size: 0.8125rem;
    font-weight: 500;
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    color: var(--gray-700);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-btn:hover {
    border-color: var(--gray-300);
    background: var(--gray-50);
}

.filter-btn svg {
    width: 16px;
    height: 16px;
}

/* Responsive */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

@media (max-width: 1024px) {
    .sidebar {
        transform: translateX(-100%);
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .sidebar-overlay.active {
        display: block;
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .sidebar-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .topbar-search {
        display: none;
    }
}

@media (max-width: 768px) {
    .login-page {
        flex-direction: column;
    }
    
    .login-hero {
        padding: 2rem;
        min-height: auto;
    }
    
    .login-hero h1 {
        font-size: 2rem;
    }
    
    .hero-features {
        display: none;
    }
    
    .hero-stats {
        gap: 1.5rem;
    }
    
    .login-form-panel {
        width: 100%;
        min-width: auto;
        padding: 2rem;
    }
    
    .page-content {
        padding: 1rem;
    }
    
    .stat-card {
        padding: 1rem;
    }
    
    .stat-value {
        font-size: 1.25rem;
    }
    
    .user-info {
        display: none;
    }
}

@media (max-width: 576px) {
    .otp-inputs {
        gap: 8px;
    }
    
    .otp-input {
        width: 48px;
        height: 56px;
        font-size: 1.25rem;
    }
    
    .filter-bar {
        flex-direction: column;
        align-items: stretch;
    }
    
    .dt-buttons {
        flex-wrap: wrap;
    }
}

/* Toast Notifications */
.toast {
    position: fixed;
    top: 1rem;
    right: 1rem;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 1rem 1.25rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    border-left: 4px solid var(--primary);
    z-index: 9999;
    animation: slideInRight 0.3s ease;
}

.toast.success {
    border-left-color: var(--success);
}

.toast.error {
    border-left-color: var(--danger);
}

.toast.warning {
    border-left-color: var(--warning);
}

.toast svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.toast.success svg { stroke: var(--success); }
.toast.error svg { stroke: var(--danger); }
.toast.warning svg { stroke: var(--warning); }
.toast.info svg { stroke: var(--primary); }

.toast-message {
    font-size: 0.875rem;
    color: var(--gray-700);
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Hide Bootstrap Icons - We use Lucide */
.bi { display: none !important; }


.roecenter_align{
    align-items: center;
}
.mainbannerwrap {
	display: flex;
	align-items: center;
	justify-content: center;
	padding-top: 56px;
	position: relative;
  background-color: #0F3D3A;
  height: 92vh;
  --overlay-mix-blend-mode: overlay;
  align-content: normal;
	padding-bottom: 80px;
	height: 100vh;
}

.mainbannerwrap .container {
	z-index: 10;
}
.mainbannerwrap::before {
	position: absolute;
	content: var(--background-overlay);
	left: 0;
	mix-blend-mode: overlay;
	opacity: 0.6;
	position: absolute;
	top: 0;
	width: 100%;
	height: 100%;
	background-image: url("./GettyImages-1364777011_edit.png");
	--background-overlay: '';
	background-position: top center;
	background-repeat: repeat-x;
	background-size: auto;
}
      /* ============================================
   DSA Partner Portal - Modern Minimalist Design
   Clean, Professional & Elegant UI
   ============================================ */

        /* CSS Variables - Modern Color Palette */
        :root {
            --primary: #152E81;
            --primary-dark: #0F4F4A;
            --primary-light: #14B8A6;
            --primary-50: #F0FDFA;
            --secondary: #0f172a;
            --accent: #059669;
            --accent-light: #34d399;

            /* Neutral Colors */
            --gray-50: #f9fafb;
            --gray-100: #f3f4f6;
            --gray-200: #e5e7eb;
            --gray-300: #d1d5db;
            --gray-400: #9ca3af;
            --gray-500: #6b7280;
            --gray-600: #4b5563;
            --gray-700: #374151;
            --gray-800: #1f2937;
            --gray-900: #111827;

            /* Status Colors */
            --success: #10b981;
            --success-light: #d1fae5;
            --warning: #f59e0b;
            --warning-light: #fef3c7;
            --danger: #ef4444;
            --danger-light: #fee2e2;
            --info: #3b82f6;
            --info-light: #dbeafe;

            /* Layout */
            --sidebar-width: 260px;
            --sidebar-collapsed: 80px;
            --topbar-height: 64px;
            --border-radius: 8px;
            --border-radius-md: 12px;
            --border-radius-lg: 16px;
            --border-radius-xl: 24px;
            --border-radius-full: 9999px;

            /* Shadows */
            --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
            --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
            --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
            --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
            --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
            --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

            /* Transitions */
            --transition-fast: 150ms ease;
            --transition-base: 200ms ease;
            --transition-slow: 300ms ease;
        }

        /* Reset & Base */
        *,
        *::before,
        *::after {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            font-size: 16px;
            line-height: 1.6;
            color: var(--gray-800);
            background-color: var(--gray-50);
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        a {
            text-decoration: none;
            color: var(--primary);
            transition: color var(--transition-fast);
        }

        a:hover {
            color: var(--primary-dark);
        }

        img {
            max-width: 100%;
            height: auto;
            display: block;
        }

        /* Typography */
        h1,
        h2,
        h3,
        h4,
        h5,
        h6 {
            font-weight: 600;
            color: var(--gray-900);
            line-height: 1.3;
        }

        h1 {
            font-size: 2rem;
        }

        h2 {
            font-size: 1.5rem;
        }

        h3 {
            font-size: 1.25rem;
        }

        h4 {
            font-size: 1.125rem;
        }

        h5 {
            font-size: 1rem;
        }

        h6 {
            font-size: 0.875rem;
        }

        /* ============================================
   NEW MODERN LOGIN PAGE STYLES
   ============================================ */

        .login-page-new {
       
            background: var(--gray-50);
        }

        /* Top Banner */
        .top-banner {
            background: var(--primary);
            color: white;
            text-align: center;
            padding: 10px 20px;
            font-size: 14px;
        }

        .top-banner p {
            margin: 0;
        }

        .top-banner a {
            color: var(--primary-light);
            font-weight: 500;
            margin-left: 8px;
        }

        .top-banner a:hover {
            color: white;
        }

        /* Header */
        .login-header {
            background: white;
            border-bottom: 1px solid var(--gray-100);
            position: sticky;
            top: 0;
            z-index: 100;
        }

        .header-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 16px 40px;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .header-brand {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .header-brand .brand-icon {
            width: 36px;
            height: 36px;
            background: var(--primary);
            border-radius: var(--border-radius);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .header-brand .brand-icon svg {
            width: 20px;
            height: 20px;
            stroke: white;
        }

        .header-brand .brand-name {
            font-size: 22px;
            font-weight: 700;
            color: var(--primary);
        }

        .header-nav {
            display: flex;
            align-items: center;
            gap: 32px;
        }

        .header-nav .nav-link {
            font-size: 15px;
            font-weight: 500;
            color: var(--gray-600);
            transition: var(--transition-base);
        }

        .header-nav .nav-link:hover {
            color: var(--gray-900);
        }

        .header-actions {
            display: flex;
            align-items: center;
            gap: 12px;
        }

       .btn-header-login {
	padding: 10px 20px;
	font-size: 14px;
	font-weight: 500;
	color: var(--gray-700);
	background: #87c342;
	border: none;
	border-radius: var(--border-radius-full);
	cursor: pointer;
	transition: var(--transition-base);
	padding: 12px 16px 12px 16px;
	background-color: #7dbf2d;
	color: #ffffff;
	display: inline-flex;
	/* background-color: var(--e-global-color-vamtam_accent_2); */
	font-size: 14px;
	font-weight: 500;
	line-height: 1em;
	color: #fff;
	border-radius: 6px 6px 6px 6px;
	padding: 12px 25px 12px 25px;
	text-decoration: none !important;
}

        .btn-header-login:hover {
            background: #7dbf2d;
        }

        .btn-header-signup {
            padding: 10px 24px;
            font-size: 14px;
            font-weight: 500;
            color: white;
            background: var(--primary);
            border: none;
            border-radius: var(--border-radius-full);
            cursor: pointer;
            transition: var(--transition-base);
        }

        .btn-header-signup:hover {
            background: var(--primary-dark);
        }

        .mobile-menu-btn {
            display: none;
            width: 40px;
            height: 40px;
            background: transparent;
            border: none;
            cursor: pointer;
            align-items: center;
            justify-content: center;
        }

        .mobile-menu-btn svg {
            width: 24px;
            height: 24px;
            stroke: var(--gray-700);
        }

        /* Main Content */
        .login-main {
            padding: 60px 40px 80px;
        }

      
        /* Hero Section */
        .login-hero-section {
            padding-right: 40px;
        }

        .hero-badge {
            display: inline-block;
            background: var(--primary-50);
            color: var(--accent);
            font-size: 13px;
            font-weight: 600;
            padding: 6px 14px;
            border-radius: var(--border-radius-full);
            margin-bottom: 24px;
        }

      .hero-title {
	font-size: 55px;
	font-weight: 500;
	line-height: 1.1;
	color: #fff;
	margin-bottom: 24px;
	letter-spacing: -0.02em;
}

.text-gradient {
	background: linear-gradient(135deg, #fff 0%, #88C641 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

     .hero-description {
	font-size: 16px;
	color: #cdd2db;
	line-height: 1.7;
	margin-bottom: 32px;
	max-width: 480px;
}

        .hero-buttons {
            display: flex;
            align-items: center;
            gap: 16px;
            margin-bottom: 48px;
        }

        .btn-hero-primary {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 14px 28px;
            font-size: 15px;
            font-weight: 600;
            color: white;
            background: var(--primary);
            border-radius: var(--border-radius-full);
            transition: var(--transition-base);
            box-shadow: var(--shadow-md);
        }

        .btn-hero-primary:hover {
            background: var(--primary-dark);
            color: white;
            transform: translateY(-2px);
            box-shadow: var(--shadow-lg);
        }

        .btn-hero-secondary {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 14px 28px;
            font-size: 15px;
            font-weight: 600;
            color: var(--gray-700);
            background: white;
            border: 1px solid var(--gray-300);
            border-radius: var(--border-radius-full);
            transition: var(--transition-base);
        }

        .btn-hero-secondary:hover {
            background: var(--gray-50);
            color: var(--gray-800);
            border-color: var(--gray-400);
        }

        /* Social Proof */
        .social-proof {
            display: flex;
            align-items: center;
            gap: 16px;
        }

        .avatars {
            display: flex;
        }

        .avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
            font-weight: 600;
            color: white;
            border: 3px solid white;
            margin-left: -10px;
        }

        .avatar:first-child {
            margin-left: 0;
        }

        .proof-text {
            display: flex;
            flex-direction: column;
        }

       .proof-number {
	font-size: 18px;
	font-weight: 700;
	color: #fff;
}

       .proof-label {
	font-size: 13px;
	color: #cdd2db;
	line-height: 1.4;
	max-width: 300px;
}

        /* Form Section */
        .login-form-section {
            position: relative;
        }

        .hero-image-container {
            position: relative;
        }

        .hero-image {
            width: 100%;
            height: 600px;
            object-fit: cover;
            border-radius: var(--border-radius-xl);
            box-shadow: var(--shadow-2xl);
        }

        /* Floating Form Card */
        .floating-form-card {
            position: absolute;
            top: 50%;
            left: -40px;
            transform: translateY(-50%);
            background: white;
            border-radius: var(--border-radius-lg);
            padding: 32px;
            width: 360px;
            box-shadow: var(--shadow-2xl);
        }

        .floating-form-header {
            margin-bottom: 24px;
        }

        .floating-form-header h2 {
            font-size: 24px;
            font-weight: 700;
            color: var(--gray-900);
            margin-bottom: 6px;
        }

        .floating-form-header p {
            font-size: 14px;
            color: var(--gray-500);
        }

        .floating-form-group {
            margin-bottom: 16px;
        }

        .floating-input {
            width: 100%;
            padding: 14px 16px;
            font-size: 15px;
            font-family: inherit;
            color: var(--gray-800);
            background: white;
            border: 1px solid var(--gray-200);
            border-radius: var(--border-radius);
            transition: var(--transition-base);
        }

        .floating-input::placeholder {
            color: var(--gray-400);
        }

        .floating-input:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(17, 94, 89, 0.1);
        }

        .floating-checkbox {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 20px;
        }

        .floating-checkbox input {
            width: 18px;
            height: 18px;
            accent-color: var(--primary);
            cursor: pointer;
        }

        .floating-checkbox label {
            font-size: 14px;
            color: var(--gray-600);
            cursor: pointer;
        }

        .btn-floating-submit {
            width: 100%;
            padding: 14px;
            font-size: 15px;
            font-weight: 600;
            font-family: inherit;
            color: white;
            background: #3B82F6;
            border: none;
            border-radius: var(--border-radius);
            cursor: pointer;
            transition: var(--transition-base);
        }

        .btn-floating-submit:hover {
            background: #2563EB;
        }

        .floating-form-footer {
            text-align: center;
            margin-top: 20px;
            font-size: 14px;
            color: var(--gray-500);
        }

        .floating-form-footer a {
            color: #3B82F6;
            font-weight: 500;
        }

        .floating-form-footer a:hover {
            text-decoration: underline;
        }

        /* Floating Feature Cards */
        .floating-feature-card {
            position: absolute;
            display: flex;
            align-items: center;
            gap: 10px;
            background: white;
            padding: 12px 18px;
            border-radius: var(--border-radius-md);
            box-shadow: var(--shadow-lg);
            font-size: 13px;
            font-weight: 500;
            color: var(--gray-700);
            animation: float 3s ease-in-out infinite;
        }

        .floating-feature-1 {
            bottom: 140px;
            left: -20px;
            animation-delay: 0s;
        }

        .floating-feature-2 {
            bottom: 80px;
            right: 20px;
            animation-delay: 0.5s;
        }

        .floating-feature-3 {
            bottom: 20px;
            left: 40px;
            animation-delay: 1s;
        }

        .feature-check-icon {
            width: 24px;
            height: 24px;
            background: var(--primary-50);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .feature-check-icon svg {
            width: 14px;
            height: 14px;
            stroke: var(--accent);
        }

        @keyframes float {

            0%,
            100% {
                transform: translateY(0);
            }

            50% {
                transform: translateY(-8px);
            }
        }

        /* OTP Modal */
        .otp-modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.5);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transition: var(--transition-base);
        }

        .otp-modal-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        .otp-modal-card {
            background: white;
            border-radius: var(--border-radius-lg);
            padding: 40px;
            width: 100%;
            max-width: 400px;
            text-align: center;
            position: relative;
            transform: scale(0.9);
            transition: var(--transition-base);
        }

        .otp-modal-overlay.active .otp-modal-card {
            transform: scale(1);
        }

        .otp-modal-close {
            position: absolute;
            top: 16px;
            right: 16px;
            width: 36px;
            height: 36px;
            background: var(--gray-100);
            border: none;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: var(--transition-base);
        }

        .otp-modal-close:hover {
            background: var(--gray-200);
        }

        .otp-modal-close svg {
            width: 18px;
            height: 18px;
            stroke: var(--gray-600);
        }

        .otp-modal-icon {
            width: 72px;
            height: 72px;
            background: var(--primary-50);
            border-radius: var(--border-radius-lg);
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
        }

        .otp-modal-icon svg {
            width: 32px;
            height: 32px;
            stroke: var(--primary);
        }

        .otp-modal-card h3 {
            font-size: 22px;
            font-weight: 700;
            color: var(--gray-900);
            margin-bottom: 8px;
        }

        .otp-modal-card>p {
            font-size: 14px;
            color: var(--gray-500);
            margin-bottom: 28px;
        }

        .otp-inputs {
            display: flex;
            justify-content: center;
            gap: 12px;
            margin-bottom: 20px;
        }

        .otp-input {
            width: 56px;
            height: 56px;
            text-align: center;
            font-size: 24px;
            font-weight: 600;
            font-family: inherit;
            color: var(--gray-900);
            background: var(--gray-50);
            border: 2px solid var(--gray-200);
            border-radius: var(--border-radius);
            transition: var(--transition-base);
        }

        .otp-input:focus {
            outline: none;
            border-color: var(--primary);
            background: white;
        }

        .otp-timer {
            font-size: 14px;
            color: var(--gray-500);
            margin-bottom: 24px;
        }

        .otp-timer span {
            font-weight: 600;
            color: var(--primary);
        }

        .otp-resend-text {
            font-size: 14px;
            color: var(--gray-500);
            margin-top: 20px;
        }

        .otp-resend-text a {
            color: var(--primary);
            font-weight: 500;
        }

        .otp-resend-text a:hover {
            text-decoration: underline;
        }

        /* Toast Notifications */
        .toast-container {
            position: fixed;
            bottom: 24px;
            right: 24px;
            z-index: 1100;
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .toast {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 16px 20px;
            background: white;
            border-radius: var(--border-radius-md);
            box-shadow: var(--shadow-xl);
            min-width: 300px;
            animation: slideInRight 0.3s ease;
        }

        .toast.success {
            border-left: 4px solid var(--accent);
        }

        .toast.error {
            border-left: 4px solid var(--danger);
        }

        .toast.info {
            border-left: 4px solid var(--info);
        }

        .toast.warning {
            border-left: 4px solid var(--warning);
        }

        .toast svg {
            width: 24px;
            height: 24px;
            flex-shrink: 0;
        }

        .toast-message {
            flex: 1;
            font-size: 14px;
            color: var(--gray-700);
        }

        @keyframes slideInRight {
            from {
                transform: translateX(100%);
                opacity: 0;
            }

            to {
                transform: translateX(0);
                opacity: 1;
            }
        }

        @keyframes slideOutRight {
            from {
                transform: translateX(0);
                opacity: 1;
            }

            to {
                transform: translateX(100%);
                opacity: 0;
            }
        }

        /* Responsive Design */
        @media (max-width: 1200px) {
            .hero-title {
                font-size: 48px;
            }

            .floating-form-card {
                left: -20px;
                width: 320px;
                padding: 28px;
            }
        }

        @media (max-width: 992px) {
            .header-nav {
                display: none;
            }

            .mobile-menu-btn {
                display: flex;
            }

            .header-actions {
                display: none;
            }

            .login-container {
                grid-template-columns: 1fr;
                gap: 40px;
            }

            .login-hero-section {
                padding-right: 0;
                text-align: center;
            }

            .hero-description {
                margin: 0 auto 32px;
            }

            .hero-buttons {
                justify-content: center;
            }

            .social-proof {
                justify-content: center;
            }

            .login-form-section {
                max-width: 600px;
                margin: 0 auto;
            }

            .floating-form-card {
                position: relative;
                top: auto;
                left: auto;
                transform: none;
                width: 100%;
                max-width: 400px;
                margin: -120px auto 0;
            }

            .floating-feature-card {
                display: none;
            }
        }

        @media (max-width: 768px) {
            .login-main {
                padding: 40px 20px;
            }

            .header-container {
                padding: 12px 20px;
            }

            .hero-title {
                font-size: 36px;
            }

            .hero-description {
                font-size: 16px;
            }

            .hero-image {
                height: 400px;
            }

            .floating-form-card {
                margin-top: -80px;
                padding: 24px;
            }

            .social-proof {
                flex-direction: column;
                text-align: center;
            }

            .proof-label {
                max-width: 100%;
            }
        }

        @media (max-width: 480px) {
            .top-banner {
                font-size: 12px;
                padding: 8px 16px;
            }

            .hero-title {
                font-size: 32px;
            }

            .hero-buttons {
                flex-direction: column;
                width: 100%;
            }

            .btn-hero-primary,
            .btn-hero-secondary {
                width: 100%;
                justify-content: center;
            }

            .avatars {
                justify-content: center;
            }

            .otp-modal-card {
                margin: 20px;
                padding: 28px 24px;
            }

            .otp-input {
                width: 48px;
                height: 48px;
                font-size: 20px;
            }
        }

        /* ============================================
   LEGACY LOGIN PAGE STYLES (kept for compatibility)
   ============================================ */

        .login-page {
            
            background: var(--gray-50);
        }

        /* Left Panel - Hero/Branding */
        .login-hero {
            flex: 1;
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, #134e4a 100%);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            padding: 3rem;
            position: relative;
            overflow: hidden;
        }

        .login-hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='50' cy='50' r='1' fill='rgba(255,255,255,0.1)'/%3E%3C/svg%3E");
            background-size: 30px 30px;
        }

        .login-hero-content {
            position: relative;
            z-index: 1;
            text-align: center;
            max-width: 480px;
            color: white;
        }

        .login-hero .brand {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            margin-bottom: 3rem;
        }

        .login-hero .brand-icon {
            width: 56px;
            height: 56px;
            background: rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(10px);
            border-radius: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .login-hero .brand-icon svg {
            width: 28px;
            height: 28px;
            stroke: white;
        }

        .login-hero .brand-name {
            font-size: 1.5rem;
            font-weight: 700;
            letter-spacing: -0.5px;
        }

        .login-hero h1 {
            font-size: 2.75rem;
            font-weight: 700;
            color: white;
            margin-bottom: 1rem;
            line-height: 1.2;
            letter-spacing: -1px;
        }

        .login-hero h1 span {
            background: linear-gradient(135deg, #fbbf24, #f59e0b);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .login-hero p {
            font-size: 1.125rem;
            color: rgba(255, 255, 255, 0.8);
            margin-bottom: 2.5rem;
        }

        .hero-features {
            display: flex;
            flex-direction: column;
            gap: 1rem;
            text-align: left;
        }

        .hero-feature {
            display: flex;
            align-items: center;
            gap: 12px;
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            padding: 1rem 1.25rem;
            border-radius: var(--border-radius-md);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .hero-feature svg {
            width: 20px;
            height: 20px;
            stroke: var(--accent-light);
            flex-shrink: 0;
        }

        .hero-feature span {
            font-size: 0.9375rem;
            color: rgba(255, 255, 255, 0.95);
        }

        .hero-stats {
            display: flex;
            justify-content: center;
            gap: 3rem;
            margin-top: 3rem;
            padding-top: 2rem;
            border-top: 1px solid rgba(255, 255, 255, 0.15);
        }

        .hero-stat {
            text-align: center;
        }

        .hero-stat-value {
            font-size: 1.75rem;
            font-weight: 700;
            color: white;
        }

        .hero-stat-label {
            font-size: 0.8125rem;
            color: rgba(255, 255, 255, 0.7);
            margin-top: 4px;
        }

        /* Right Panel - Login Form */
      .login-form-panel {
	width: 520px;
	min-width: 420px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 2rem;
	background: white;
	margin-top: 50px;
	margin-bottom: 50px;
	margin: 20px auto;
	border-radius: 12px;
}
        .login-form-container {
            max-width: 100%;
            margin: 0 auto;
            width: 100%;
        }

       .login-form-header {
	margin-bottom: 1rem;
}

     .login-form-header h2 {
	font-size: 1.75rem;
	font-weight: 700;
	margin-bottom: 0px;
}

     .login-form-header p {
	color: var(--gray-500);
	font-size: 0.9375rem;
	margin-bottom: 0px !important;
}

        /* Auth Tabs */
        .auth-tabs {
            display: flex;
            background: var(--gray-100);
            border-radius: var(--border-radius-md);
            padding: 4px;
            margin-bottom: 1.5rem;
        }

     .auth-tab {
	flex: 1;
	padding: 9px 20px;
	text-align: center;
	font-weight: 500;
	font-size: 0.875rem;
	color: var(--gray-600);
	background: transparent;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	transition: all var(--transition-fast);
}
.auth-form .btn.btn-primary.btn-lg.btn-block {
	margin-top: 20px;
}

        .auth-tab.active {
            background: white;
            color: var(--gray-900);
            box-shadow: var(--shadow-sm);
        }

        .auth-tab:hover:not(.active) {
            color: var(--gray-900);
        }

        /* Form Styles */
       .form-group {
	margin-bottom: 12px;
}

     .form-label {
	display: block;
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--gray-700);
	margin-bottom: 4px;
}

       .form-control {
	width: 100%;
	padding: 11px 20px;
	font-size: 13px;
	color: var(--gray-900);
	background: var(--gray-50);
	border: 1.5px solid var(--gray-200);
	border-radius: 8px;
	transition: all var(--transition-fast);
}

        .form-control:focus {
            outline: none;
            border-color: var(--primary);
            background: white;
            box-shadow: 0 0 0 4px var(--primary-50);
        }

        .form-control::placeholder {
            color: var(--gray-400);
        }

        .form-control-icon {
            position: relative;
        }

        .form-control-icon .form-control {
            padding-left: 2.75rem;
        }

        .form-control-icon svg {
            position: absolute;
            left: 1rem;
            top: 50%;
            transform: translateY(-50%);
            width: 18px;
            height: 18px;
            stroke: var(--gray-400);
        }

        .form-control-icon .toggle-password {
            position: absolute;
            right: 1rem;
            top: 50%;
            transform: translateY(-50%);
            background: none;
            border: none;
            padding: 0;
            cursor: pointer;
            color: var(--gray-400);
        }

        .form-control-icon .toggle-password:hover {
            color: var(--gray-600);
        }

        /* Buttons */
        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            padding: 0.75rem 1.5rem;
            font-size: 0.9375rem;
            font-weight: 500;
            border-radius: var(--border-radius-md);
            border: none;
            cursor: pointer;
            transition: all var(--transition-fast);
        }

        .btn svg {
            width: 18px;
            height: 18px;
        }

        .btn-primary {
            background: var(--primary);
            color: white;
        }

        .btn-primary:hover {
            background: var(--primary-dark);
            transform: translateY(-1px);
            box-shadow: var(--shadow-md);
        }

        .btn-primary:active {
            transform: translateY(0);
        }

        .btn-lg {
            padding: 1rem 1.5rem;
            font-size: 1rem;
        }

        .btn-block {
            width: 100%;
        }

        /* Form Footer */
        .form-footer {
            text-align: center;
            margin-top: 1.5rem;
            padding-top: 1.5rem;
            border-top: 1px solid var(--gray-200);
        }

        .form-footer p {
            color: var(--gray-500);
            font-size: 0.875rem;
        }

        .form-footer a {
            font-weight: 500;
        }

        /* Resend Link */
        .resend-link {
            color: var(--primary);
            cursor: pointer;
            font-weight: 500;
        }

        .resend-link:hover {
            text-decoration: underline;
        }

        /* ============================================
   Dashboard Layout (preserved from original)
   ============================================ */

        .dashboard-page {
            display: flex;
            
        }

        /* Sidebar */
        .sidebar {
            width: var(--sidebar-width);
            height: 100vh;
            position: fixed;
            left: 0;
            top: 0;
            background: white;
            border-right: 1px solid var(--gray-200);
            display: flex;
            flex-direction: column;
            z-index: 1000;
            transition: all var(--transition-slow);
        }

        .sidebar-header {
            height: var(--topbar-height);
            display: flex;
            align-items: center;
            padding: 0 1.25rem;
            border-bottom: 1px solid var(--gray-100);
        }

        .sidebar-brand {
            display: flex;
            align-items: center;
            gap: 12px;
            color: var(--gray-900);
        }

        .sidebar-brand:hover {
            color: var(--gray-900);
        }

        .sidebar-brand .brand-icon {
            width: 40px;
            height: 40px;
            background: var(--primary);
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .sidebar-brand .brand-icon svg {
            width: 22px;
            height: 22px;
            stroke: white;
        }

        .sidebar-brand .brand-name {
            font-size: 1.125rem;
            font-weight: 700;
            letter-spacing: -0.5px;
        }

        .header-brand img {
            width: 110px;
        }