/* ========================================
   Nexkhad BGV - SaaS Employee Platform
   Global Styles
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Primary Colors */
  --primary: #6C5CE7;
  --primary-light: #A29BFE;
  --primary-dark: #5A4BD1;
  --primary-bg: #F0EEFF;
  
  /* Secondary Colors */
  --secondary: #00B894;
  --secondary-light: #55EFC4;
  --secondary-dark: #00A381;
  
  /* Accent Colors */
  --accent-orange: #F39C12;
  --accent-red: #E74C3C;
  --accent-blue: #3498DB;
  --accent-teal: #1ABC9C;
  
  /* Neutrals */
  --white: #FFFFFF;
  --gray-50: #F8F9FC;
  --gray-100: #F1F3F8;
  --gray-200: #E2E6EF;
  --gray-300: #CDD3E0;
  --gray-400: #9CA3B8;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;
  
  /* Status Colors */
  --status-success: #10B981;
  --status-warning: #F59E0B;
  --status-error: #EF4444;
  --status-info: #3B82F6;
  --status-pending: #8B5CF6;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.05);
  
  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-full: 9999px;
  
  /* Sidebar */
  --sidebar-width: 260px;
  --sidebar-collapsed: 72px;
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
  --transition-slow: 0.35s 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;
  color: var(--gray-800);
  background: var(--gray-50);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
}

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

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  outline: none;
}

input, select, textarea {
  font-family: inherit;
  outline: none;
}

ul, ol {
  list-style: none;
}

/* ===== LOGIN PAGE ===== */
.login-wrapper {
  min-height: 100vh;
  display: flex;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  position: relative;
  overflow: hidden;
}

.login-wrapper::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
  animation: floatBg 20s infinite linear;
}

@keyframes floatBg {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.login-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 80px;
  position: relative;
  z-index: 2;
}

.login-brand {
  margin-bottom: 50px;
}

.login-brand h1 {
  font-size: 32px;
  font-weight: 800;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 12px;
}

.login-brand h1 .brand-icon {
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  backdrop-filter: blur(10px);
}

.login-brand p {
  color: rgba(255,255,255,0.8);
  font-size: 16px;
  margin-top: 8px;
  max-width: 400px;
  line-height: 1.7;
}

.login-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.login-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  transition: var(--transition-normal);
}

.login-feature:hover {
  background: rgba(255,255,255,0.15);
  transform: translateX(8px);
}

.login-feature .feature-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: rgba(255,255,255,0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--white);
}

.login-feature h3 {
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.login-feature p {
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  line-height: 1.5;
}

.login-right {
  width: 520px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  position: relative;
  z-index: 2;
}

.login-card {
  width: 100%;
  max-width: 440px;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  box-shadow: var(--shadow-xl);
}

.login-card h2 {
  font-size: 26px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 6px;
}

.login-card .login-subtitle {
  color: var(--gray-500);
  font-size: 14px;
  margin-bottom: 32px;
}

/* Role Selector */
.role-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 28px;
}

.role-option {
  padding: 14px 12px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  text-align: center;
  cursor: pointer;
  transition: var(--transition-fast);
  background: var(--white);
}

.role-option:hover {
  border-color: var(--primary-light);
  background: var(--primary-bg);
}

.role-option.active {
  border-color: var(--primary);
  background: var(--primary-bg);
}

.role-option .role-icon {
  font-size: 22px;
  margin-bottom: 6px;
  display: block;
}

.role-option .role-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-700);
  display: block;
}

.role-option.active .role-name {
  color: var(--primary);
}

/* Form Inputs */
.form-group {
  margin-bottom: 20px;
  position: relative;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
}

.form-group .input-wrapper {
  position: relative;
}

.form-group .input-wrapper i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-400);
  font-size: 16px;
}

.form-group input {
  width: 100%;
  padding: 12px 14px 12px 42px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--gray-800);
  transition: var(--transition-fast);
  background: var(--gray-50);
}

.form-group input:focus {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(108,92,231,0.1);
}

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

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.form-options label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--gray-600);
  cursor: pointer;
}

.form-options label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
}

.form-options a {
  font-size: 13px;
  color: var(--primary);
  font-weight: 500;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition-fast);
  border: none;
  cursor: pointer;
}

.btn-primary {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  font-size: 15px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 14px rgba(108,92,231,0.4);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(108,92,231,0.5);
}

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

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

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

.btn-success {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(0,184,148,0.4);
}

.btn-success:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,184,148,0.5);
}

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

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

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
}

.btn-icon {
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: var(--radius-sm);
}

.login-divider {
  display: flex;
  align-items: center;
  margin: 24px 0;
  color: var(--gray-400);
  font-size: 12px;
}

.login-divider::before,
.login-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gray-200);
}

.login-divider span {
  padding: 0 16px;
}

.verification-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: #FEF3C7;
  color: #92400E;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 20px;
}

/* ===== LAYOUT ===== */
.app-layout {
  display: flex;
  min-height: 100vh;
}

/* ===== SIDEBAR ===== */
.sidebar {
  width: var(--sidebar-width);
  background: var(--white);
  border-right: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 100;
  transition: var(--transition-normal);
}

.sidebar-header {
  padding: 20px 20px 16px;
  border-bottom: 1px solid var(--gray-100);
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sidebar-brand .brand-logo {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--primary) 0%, #A29BFE 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 18px;
  font-weight: 800;
}

.sidebar-brand .brand-text h2 {
  font-size: 17px;
  font-weight: 700;
  color: var(--gray-900);
}

.sidebar-brand .brand-text span {
  font-size: 11px;
  color: var(--gray-400);
  font-weight: 500;
}

.sidebar-search {
  margin: 16px 20px 8px;
  position: relative;
}

.sidebar-search input {
  width: 100%;
  padding: 9px 12px 9px 36px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: 13px;
  background: var(--gray-50);
  color: var(--gray-700);
  transition: var(--transition-fast);
}

.sidebar-search input:focus {
  border-color: var(--primary-light);
  background: var(--white);
}

.sidebar-search i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-400);
  font-size: 14px;
}

.sidebar-search .search-shortcut {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  padding: 2px 8px;
  background: var(--gray-100);
  border-radius: 4px;
  font-size: 11px;
  color: var(--gray-400);
  font-weight: 500;
}

.sidebar-nav {
  flex: 1;
  overflow-y: auto;
  padding: 8px 12px;
}

.sidebar-section {
  margin-bottom: 8px;
}

.sidebar-section-title {
  font-size: 11px;
  font-weight: 600;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 12px 8px 6px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  color: var(--gray-600);
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition-fast);
  cursor: pointer;
  position: relative;
}

.nav-item:hover {
  background: var(--gray-100);
  color: var(--gray-800);
}

.nav-item.active {
  background: var(--primary-bg);
  color: var(--primary);
}

.nav-item i {
  width: 20px;
  text-align: center;
  font-size: 16px;
}

.nav-item .nav-badge {
  margin-left: auto;
  padding: 2px 8px;
  background: var(--accent-red);
  color: var(--white);
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
}

.nav-item .nav-badge.success {
  background: var(--status-success);
}

.nav-item .nav-badge.warning {
  background: var(--status-warning);
}

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

.sidebar-user {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-fast);
}

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

.sidebar-user .user-avatar {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
}

.sidebar-user .user-info {
  flex: 1;
}

.sidebar-user .user-info h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-800);
}

.sidebar-user .user-info span {
  font-size: 11px;
  color: var(--gray-500);
}

/* ===== MAIN CONTENT ===== */
.main-content {
  flex: 1;
  margin-left: var(--sidebar-width);
  display: flex;
  flex-direction: column;
}

/* Top Header */
.top-header {
  height: 64px;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-left h1 {
  font-size: 20px;
  font-weight: 700;
  color: var(--gray-900);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--gray-400);
}

.breadcrumb a {
  color: var(--gray-500);
}

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

.breadcrumb .separator {
  font-size: 10px;
}

.breadcrumb .current {
  color: var(--gray-700);
  font-weight: 500;
}

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

.header-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
  background: transparent;
  transition: var(--transition-fast);
  position: relative;
  font-size: 18px;
}

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

.header-btn .notification-dot {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 8px;
  height: 8px;
  background: var(--accent-red);
  border-radius: 50%;
  border: 2px solid var(--white);
}

.header-avatar {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

/* Content Area */
.content-area {
  padding: 28px;
  flex: 1;
}

/* ===== DASHBOARD ===== */
.welcome-section {
  margin-bottom: 32px;
}

.welcome-section h2 {
  font-size: 26px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.welcome-section p {
  color: var(--gray-500);
  font-size: 15px;
}

/* Service Cards */
.service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid var(--gray-200);
  cursor: pointer;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  opacity: 0;
  transition: var(--transition-normal);
}

.service-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card .card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.service-card .card-icon.purple {
  background: #F0EEFF;
  color: var(--primary);
}

.service-card .card-icon.green {
  background: #D1FAE5;
  color: var(--secondary);
}

.service-card .card-icon.orange {
  background: #FEF3C7;
  color: var(--accent-orange);
}

.service-card .card-icon.blue {
  background: #DBEAFE;
  color: var(--accent-blue);
}

.service-card .card-icon.red {
  background: #FEE2E2;
  color: var(--accent-red);
}

.service-card .card-icon.teal {
  background: #D1FAE5;
  color: var(--accent-teal);
}

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

.service-card p {
  color: var(--gray-500);
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.service-card .card-stats {
  display: flex;
  gap: 20px;
}

.service-card .card-stats .stat {
  display: flex;
  flex-direction: column;
}

.service-card .card-stats .stat-value {
  font-size: 20px;
  font-weight: 700;
  color: var(--gray-900);
}

.service-card .card-stats .stat-label {
  font-size: 11px;
  color: var(--gray-400);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.service-card .card-arrow {
  position: absolute;
  top: 28px;
  right: 28px;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  transition: var(--transition-fast);
}

.service-card:hover .card-arrow {
  background: var(--primary);
  color: var(--white);
}

/* Stats Row */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.stat-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--gray-200);
}

.stat-card .stat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.stat-card .stat-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.stat-card .stat-change {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: var(--radius-full);
}

.stat-card .stat-change.up {
  color: #059669;
  background: #D1FAE5;
}

.stat-card .stat-change.down {
  color: #DC2626;
  background: #FEE2E2;
}

.stat-card .stat-value {
  font-size: 28px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.stat-card .stat-label {
  font-size: 13px;
  color: var(--gray-500);
}

/* ===== TABLES ===== */
.table-container {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  overflow: hidden;
}

.table-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--gray-200);
}

.table-header h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--gray-900);
}

.table-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.table-search {
  position: relative;
}

.table-search input {
  padding: 8px 12px 8px 34px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: 13px;
  width: 240px;
  background: var(--gray-50);
}

.table-search input:focus {
  border-color: var(--primary-light);
  background: var(--white);
}

.table-search i {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-400);
  font-size: 14px;
}

.filter-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: 13px;
  color: var(--gray-600);
  background: var(--white);
  font-weight: 500;
  transition: var(--transition-fast);
}

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

.filter-btn .filter-count {
  padding: 1px 7px;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-full);
  font-size: 11px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

table thead th {
  padding: 12px 24px;
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
}

table tbody td {
  padding: 14px 24px;
  font-size: 14px;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100);
}

table tbody tr {
  transition: var(--transition-fast);
}

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

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

.table-avatar {
  display: flex;
  align-items: center;
  gap: 12px;
}

.table-avatar .avatar {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
}

.table-avatar .name {
  font-weight: 600;
  color: var(--gray-800);
}

.table-avatar .email {
  font-size: 12px;
  color: var(--gray-400);
}

/* Status Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
}

.badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.badge-success {
  background: #D1FAE5;
  color: #065F46;
}

.badge-success::before {
  background: #10B981;
}

.badge-warning {
  background: #FEF3C7;
  color: #92400E;
}

.badge-warning::before {
  background: #F59E0B;
}

.badge-error {
  background: #FEE2E2;
  color: #991B1B;
}

.badge-error::before {
  background: #EF4444;
}

.badge-info {
  background: #DBEAFE;
  color: #1E40AF;
}

.badge-info::before {
  background: #3B82F6;
}

.badge-pending {
  background: #EDE9FE;
  color: #5B21B6;
}

.badge-pending::before {
  background: #8B5CF6;
}

.badge-neutral {
  background: var(--gray-100);
  color: var(--gray-600);
}

.badge-neutral::before {
  background: var(--gray-400);
}

/* Table Pagination */
.table-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  border-top: 1px solid var(--gray-200);
}

.table-footer .showing-text {
  font-size: 13px;
  color: var(--gray-500);
}

.pagination {
  display: flex;
  align-items: center;
  gap: 4px;
}

.pagination button {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-600);
  background: transparent;
  transition: var(--transition-fast);
}

.pagination button:hover {
  background: var(--gray-100);
}

.pagination button.active {
  background: var(--primary);
  color: var(--white);
}

/* ===== CATEGORIES SIDEBAR (BGV) ===== */
.categories-panel {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  padding: 24px;
  min-width: 260px;
}

.categories-panel h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 20px;
}

.category-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-fast);
  margin-bottom: 4px;
}

.category-item:hover {
  background: var(--gray-100);
}

.category-item.active {
  background: var(--primary-bg);
  color: var(--primary);
}

.category-item .cat-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.category-item .cat-icon.purple { background: #F0EEFF; color: var(--primary); }
.category-item .cat-icon.green { background: #D1FAE5; color: var(--secondary); }
.category-item .cat-icon.orange { background: #FEF3C7; color: var(--accent-orange); }
.category-item .cat-icon.blue { background: #DBEAFE; color: var(--accent-blue); }
.category-item .cat-icon.red { background: #FEE2E2; color: var(--accent-red); }
.category-item .cat-icon.teal { background: #D1FAE5; color: var(--accent-teal); }

.category-item .cat-name {
  font-size: 14px;
  font-weight: 500;
}

.category-item .cat-count {
  margin-left: auto;
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-400);
  padding: 2px 8px;
  background: var(--gray-100);
  border-radius: var(--radius-full);
}

.category-item.active .cat-count {
  background: rgba(108,92,231,0.15);
  color: var(--primary);
}

/* ===== ONBOARDING SPECIFIC ===== */
.onboarding-layout {
  display: flex;
  gap: 24px;
}

.onboarding-main {
  flex: 1;
}

.onboarding-sidebar {
  width: 280px;
}

/* Progress Tracker */
.progress-tracker {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  padding: 24px;
  margin-bottom: 24px;
}

.progress-tracker h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 16px;
}

.progress-bar-wrapper {
  margin-bottom: 16px;
}

.progress-bar-bg {
  height: 8px;
  background: var(--gray-200);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  border-radius: var(--radius-full);
  transition: width 0.5s ease;
}

.progress-percentage {
  text-align: right;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  margin-top: 6px;
}

.step-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.step-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-fast);
}

.step-item:hover {
  background: var(--gray-50);
}

.step-item.active {
  background: var(--primary-bg);
}

.step-item .step-status {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  border: 2px solid var(--gray-300);
  color: var(--gray-400);
}

.step-item.completed .step-status {
  background: var(--status-success);
  border-color: var(--status-success);
  color: var(--white);
}

.step-item.active .step-status {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.step-item .step-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-600);
}

.step-item.completed .step-name {
  color: var(--gray-500);
  text-decoration: line-through;
}

.step-item.active .step-name {
  color: var(--primary);
  font-weight: 600;
}

/* Form Cards */
.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  padding: 28px;
  margin-bottom: 20px;
}

.form-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.form-card .form-description {
  color: var(--gray-500);
  font-size: 13px;
  margin-bottom: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-row.three-col {
  grid-template-columns: 1fr 1fr 1fr;
}

.form-card .form-group {
  margin-bottom: 0;
}

.form-card .form-group input,
.form-card .form-group select {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--gray-800);
  background: var(--gray-50);
  transition: var(--transition-fast);
}

.form-card .form-group input:focus,
.form-card .form-group select:focus {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(108,92,231,0.1);
}

.form-card .form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%239CA3B8' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

/* Upload Area */
.upload-area {
  border: 2px dashed var(--gray-300);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-fast);
  background: var(--gray-50);
}

.upload-area:hover {
  border-color: var(--primary-light);
  background: var(--primary-bg);
}

.upload-area i {
  font-size: 36px;
  color: var(--gray-400);
  margin-bottom: 12px;
}

.upload-area:hover i {
  color: var(--primary);
}

.upload-area h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 4px;
}

.upload-area p {
  font-size: 12px;
  color: var(--gray-400);
}

/* ===== MONITORING SPECIFIC ===== */
.monitoring-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.monitor-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  padding: 24px;
}

.monitor-card h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.activity-timeline {
  display: flex;
  flex-direction: column;
}

.timeline-item {
  display: flex;
  gap: 14px;
  padding: 12px 0;
  position: relative;
}

.timeline-item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 15px;
  top: 44px;
  bottom: -2px;
  width: 2px;
  background: var(--gray-200);
}

.timeline-item .timeline-dot {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  z-index: 1;
}

.timeline-item .timeline-content h5 {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 2px;
}

.timeline-item .timeline-content p {
  font-size: 12px;
  color: var(--gray-500);
}

.timeline-item .timeline-time {
  margin-left: auto;
  font-size: 12px;
  color: var(--gray-400);
  white-space: nowrap;
}

/* ===== VERIFICATION PANEL ===== */
.verification-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}

.verify-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  padding: 20px;
  transition: var(--transition-normal);
}

.verify-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
}

.verify-card .verify-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.verify-card .verify-type {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.verify-card .verify-employee {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.verify-card .verify-employee .emp-avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: var(--white);
}

.verify-card .verify-employee .emp-info h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-800);
}

.verify-card .verify-employee .emp-info span {
  font-size: 12px;
  color: var(--gray-400);
}

.verify-card .verify-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.verify-card .verify-detail {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}

.verify-card .verify-detail .label {
  color: var(--gray-500);
}

.verify-card .verify-detail .value {
  font-weight: 500;
  color: var(--gray-700);
}

.verify-card .verify-actions {
  display: flex;
  gap: 8px;
}

.verify-card .verify-actions button {
  flex: 1;
  padding: 9px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
}

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal-overlay.active {
  display: flex;
}

.modal {
  background: var(--white);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px 16px;
  border-bottom: 1px solid var(--gray-100);
}

.modal-header h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-900);
}

.modal-close {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  background: transparent;
  transition: var(--transition-fast);
}

.modal-close:hover {
  background: var(--gray-100);
  color: var(--gray-600);
}

.modal-body {
  padding: 24px 28px;
}

.modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 16px 28px 24px;
  border-top: 1px solid var(--gray-100);
}

/* ===== TABS ===== */
.tabs {
  display: flex;
  gap: 4px;
  border-bottom: 2px solid var(--gray-200);
  margin-bottom: 24px;
}

.tab {
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-500);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: var(--transition-fast);
}

.tab:hover {
  color: var(--gray-700);
}

.tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  font-weight: 600;
}

/* ===== EMPTY STATE ===== */
.empty-state {
  text-align: center;
  padding: 60px 40px;
}

.empty-state i {
  font-size: 48px;
  color: var(--gray-300);
  margin-bottom: 16px;
}

.empty-state h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 8px;
}

.empty-state p {
  color: var(--gray-500);
  font-size: 14px;
  max-width: 400px;
  margin: 0 auto 20px;
}

/* ===== TOAST NOTIFICATIONS ===== */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--primary);
  animation: slideIn 0.3s ease;
  min-width: 320px;
}

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

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

.toast .toast-icon {
  font-size: 18px;
}

.toast .toast-message {
  flex: 1;
  font-size: 13px;
  font-weight: 500;
}

.toast .toast-close {
  background: none;
  border: none;
  color: var(--gray-400);
  cursor: pointer;
  font-size: 14px;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 0.4s ease;
}

.slide-up {
  animation: slideUp 0.5s ease;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
  .service-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .login-left {
    display: none;
  }
  
  .login-right {
    width: 100%;
  }
  
  .sidebar {
    transform: translateX(-100%);
  }
  
  .sidebar.open {
    transform: translateX(0);
  }
  
  .main-content {
    margin-left: 0;
  }
  
  .onboarding-layout {
    flex-direction: column;
  }
  
  .onboarding-sidebar {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .service-cards {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .monitoring-grid {
    grid-template-columns: 1fr;
  }
  
  .content-area {
    padding: 16px;
  }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--gray-300);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gray-400);
}

/* ===== LOADING ===== */
.loading-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid var(--gray-200);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Quick action floating button */
.fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 6px 20px rgba(108,92,231,0.5);
  transition: var(--transition-normal);
  z-index: 90;
}

.fab:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 28px rgba(108,92,231,0.6);
}

/* ===== MONITORING PAGE ENHANCEMENTS ===== */
.monitor-card {
  position: relative;
}

.monitor-card h4 {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Monthly history cards hover */
#monitor-overview > div:last-child .monitor-card > div > div {
  transition: var(--transition-fast);
  cursor: pointer;
}

#monitor-overview > div:last-child .monitor-card > div > div:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Alert pulse animation for critical items */
@keyframes alertPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.badge-error {
  animation: alertPulse 2s infinite;
}

/* CIBIL score color coding */
.cibil-excellent { color: #059669; }
.cibil-good { color: #2563EB; }
.cibil-fair { color: #D97706; }
.cibil-poor { color: #DC2626; }

/* Police case row highlight */
table tbody tr[style*="FEF2F2"]:hover {
  background: #FEE2E2 !important;
}

table tbody tr[style*="FFFBEB"]:hover {
  background: #FEF3C7 !important;
}

/* Month selector enhanced */
.month-selector-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  background: var(--white);
  padding: 16px 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
}

/* Monitoring grid full width override */
.monitoring-grid .monitor-card {
  min-height: auto;
}

/* ===== SERVICES TABLE ===== */
.services-select-table tbody tr {
  transition: var(--transition-fast);
}

.services-select-table tbody tr:hover {
  background: var(--primary-bg) !important;
}

.services-select-table tbody tr td {
  vertical-align: middle;
}

.svc-row input[type="checkbox"]:checked + td + td + td + td .svc-price,
.svc-row input[type="checkbox"]:checked ~ td strong {
  color: var(--primary);
}

/* Pricing input focus */
.pricing-input:focus,
.tat-input:focus {
  border-color: var(--primary) !important;
  background: var(--white) !important;
  box-shadow: 0 0 0 3px rgba(108,92,231,0.1);
}

.pricing-input:hover,
.tat-input:hover {
  border-color: var(--primary-light) !important;
}

/* Status select styling */
.status-select {
  cursor: pointer;
  transition: var(--transition-fast);
}

.status-select:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px rgba(108,92,231,0.1);
}

/* Onboarding tab content animation */
.ob-tab-content {
  animation: fadeIn 0.3s ease;
}

/* Service summary card gradient animation */
#serviceSummary {
  transition: var(--transition-normal);
}

#serviceSummary:hover {
  box-shadow: var(--shadow-md);
}

/* ===== AI CERTIFICATE SCANNER ===== */
#certUploadArea {
  transition: all 0.3s ease;
}

#certUploadArea:hover {
  border-color: #7C3AED !important;
  background: #F5F3FF !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.15);
}

#certUploadArea.drag-over {
  border-color: #7C3AED !important;
  background: #EDE9FE !important;
  transform: scale(1.02);
}

#certPreviewImg img {
  transition: transform 0.3s ease;
}

#certPreviewImg:hover img {
  transform: scale(1.05);
}

@keyframes aiPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(124, 58, 237, 0.3); }
  50% { box-shadow: 0 0 0 12px rgba(124, 58, 237, 0); }
}

.ai-scanning {
  animation: aiPulse 1.5s infinite;
}

@keyframes scanProgress {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(200%); }
}

@keyframes modalSlideUp {
  from { opacity: 0; transform: translateY(40px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes modalShake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-8px); }
  40% { transform: translateX(8px); }
  60% { transform: translateX(-6px); }
  80% { transform: translateX(6px); }
}

@keyframes successBounce {
  0% { transform: scale(0); }
  50% { transform: scale(1.15); }
  70% { transform: scale(0.9); }
  100% { transform: scale(1); }
}

#certScanModal {
  transition: opacity 0.3s ease;
}

#certScanModalContent {
  transition: all 0.3s ease;
}

/* ===== ADDRESS VERIFICATION ===== */
.addr-option {
  transition: all 0.25s ease;
}

.addr-option:hover {
  border-color: var(--primary) !important;
  transform: translateY(-1px);
  box-shadow: 0 3px 12px rgba(124, 58, 237, 0.1);
}

.addr-option:has(input:checked) {
  border-color: var(--primary) !important;
  background: linear-gradient(135deg, #F5F3FF, #EDE9FE) !important;
  box-shadow: 0 3px 12px rgba(124, 58, 237, 0.12);
}

#addrTatCard {
  transition: all 0.4s ease;
  animation: slideUp 0.4s ease;
}

/* ===== EDUCATION VERIFICATION ===== */
#eduResultCard {
  transition: var(--transition-normal);
}

#eduResultCard:hover {
  box-shadow: var(--shadow-md);
}

#eduResultCard > div:last-child > div {
  transition: var(--transition-fast);
}

#eduResultCard > div:last-child > div:hover {
  background: rgba(255,255,255,0.9) !important;
  transform: translateY(-1px);
}

#eduRegNo {
  font-weight: 600;
  letter-spacing: 1px;
  font-size: 15px !important;
}

#eduDob {
  font-weight: 600 !important;
  letter-spacing: 1px;
  font-size: 16px !important;
}

#eduPhoto {
  transition: all 0.3s ease;
}

#eduPhoto img {
  transition: transform 0.3s ease;
}

#eduPhoto:hover img {
  transform: scale(1.05);
}

#eduPhotoContainer {
  animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== PAN VERIFICATION ===== */
#panDetailsCard {
  transition: var(--transition-normal);
}

#panDetailsCard:hover {
  box-shadow: var(--shadow-md);
}

#panDetailsCard > div:last-child > div {
  transition: var(--transition-fast);
}

#panDetailsCard > div:last-child > div:hover {
  background: rgba(255,255,255,0.9);
  transform: translateY(-1px);
}

/* PAN input uppercase */
#obPanNumber {
  font-weight: 600;
  letter-spacing: 1px;
  font-size: 15px !important;
}

/* Auto-filled field animation */
@keyframes autoFillPulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
  70% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.form-group input[style*="ECFDF5"] {
  animation: autoFillPulse 1s ease 1;
}

/* ===== PayU Payment Section ===== */
#paymentSection {
  border: 2px solid transparent;
  background-image: linear-gradient(#fff, #fff), linear-gradient(135deg, var(--primary-light), var(--accent-green));
  background-origin: border-box;
  background-clip: padding-box, border-box;
}

#paymentSummaryCard {
  transition: var(--transition-base);
}

#paymentSummaryCard:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 50px rgba(26, 26, 46, 0.25);
}

#payNowBtn {
  background: linear-gradient(135deg, #059669, #10B981) !important;
  border: none !important;
  font-size: 15px !important;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

#payNowBtn:hover {
  background: linear-gradient(135deg, #047857, #059669) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(5, 150, 105, 0.35);
}

#payNowBtn:active {
  transform: translateY(0);
}

#payNowBtn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
  transform: rotate(45deg);
  animation: payBtnShine 3s infinite;
}

@keyframes payBtnShine {
  0% { transform: translateX(-100%) rotate(45deg); }
  30%, 100% { transform: translateX(100%) rotate(45deg); }
}

/* Payment Result Modal */
#paymentResultModal {
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
