/* Modern Pro Theme - Redesigned */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  /* Color Palette - Modern Indigo & Slate */
  --primary: #4f46e5;
  --primary-hover: #4338ca;
  --primary-light: #eef2ff;
  --secondary: #64748b;
  --secondary-hover: #475569;
  --secondary-light: #f1f5f9;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --danger-hover: #dc2626;
  --info: #3b82f6;

  /* Backgrounds */
  --bg-body: #f8fafc;
  --bg-card: #ffffff;
  --bg-surface: #ffffff;

  /* Text */
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;

  /* Borders & Shadows */
  --border-color: #e2e8f0;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-glow: 0 0 15px rgba(79, 70, 229, 0.15);

  --font-main: 'Plus Jakarta Sans', sans-serif;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.025em;
}

/* Header / Navbar */
.header {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  margin-bottom: 2.5rem;
}

.header .logo img {
  max-width: 40px;
  height: auto;
  border-radius: 8px;
}

.header .logo h5 {
  font-size: 1.25rem;
  margin-left: 12px;
  background: linear-gradient(135deg, var(--primary) 0%, #818cf8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}

/* Cards */
.card, .dashboard-card, .stats-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.dashboard-card {
  padding: 2rem;
  margin-bottom: 2rem;
}

.stats-card {
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: none;
  box-shadow: var(--shadow-md);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.stats-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.stats-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), #818cf8);
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.stats-icon {
  font-size: 2rem;
  color: var(--primary);
  background: var(--primary-light);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.stats-card:hover .stats-icon {
  transform: scale(1.1) rotate(5deg);
}

.stats-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
  margin-bottom: 0.25rem;
  letter-spacing: -0.03em;
}

.stats-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Specific Stats Colors */
.col-md-3:nth-child(2) .stats-icon { color: var(--success); background: #dcfce7; }
.col-md-3:nth-child(2) .stats-card::before { background: linear-gradient(90deg, var(--success), #4ade80); }

.col-md-3:nth-child(3) .stats-icon { color: var(--warning); background: #fef3c7; }
.col-md-3:nth-child(3) .stats-card::before { background: linear-gradient(90deg, var(--warning), #fcd34d); }

.col-md-3:nth-child(4) .stats-icon { color: var(--info); background: #dbeafe; }
.col-md-3:nth-child(4) .stats-card::before { background: linear-gradient(90deg, var(--info), #60a5fa); }

/* Buttons */
.btn {
  padding: 0.625rem 1.25rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.2);
}

.btn-primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 8px -1px rgba(79, 70, 229, 0.3);
}

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

.btn-outline-primary:hover {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.2);
}

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

.btn-secondary:hover {
  background: var(--secondary-hover);
  border-color: var(--secondary-hover);
  transform: translateY(-1px);
}

.btn-outline-secondary {
  color: var(--secondary);
  border-color: var(--secondary);
  background: transparent;
}

.btn-outline-secondary:hover {
  background: var(--secondary);
  color: white;
  box-shadow: 0 4px 12px rgba(100, 116, 139, 0.2);
}

.btn-danger {
  background: var(--danger);
  border-color: var(--danger);
  color: white;
  box-shadow: 0 4px 6px -1px rgba(239, 68, 68, 0.2);
}

.btn-danger:hover {
  background: var(--danger-hover);
  border-color: var(--danger-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 8px -1px rgba(239, 68, 68, 0.3);
}

.btn-action {
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-sm);
  margin: 0 2px;
}

/* Tables */
.table-responsive {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  background: white;
  border: 1px solid var(--border-color);
  overflow-x: auto;
}

.table {
  margin-bottom: 0;
  width: 100%;
  border-collapse: collapse;
}

.table thead th {
  background: #f8fafc;
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  padding: 1rem 0.75rem; /* Reduced padding */
  border-bottom: 2px solid var(--border-color);
  white-space: nowrap; /* Headers stay single line */
}

.table tbody td {
  padding: 0.75rem 0.5rem; /* Reduced padding */
  vertical-align: middle;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.9rem; /* Slightly smaller font */
  color: var(--text-main);
}

.table-hover tbody tr:hover {
  background-color: #f8fafc;
}

/* Ensure table images don't overflow */
.table img {
    max-width: 48px;
    height: auto;
}

/* Responsive table tweaks */
@media (max-width: 768px) {
    .mobile-hide {
        display: none;
    }
}

/* Search Bar */
.search-bar {
  position: relative;
  margin-bottom: 1.5rem;
}

.search-bar .bi-search {
  position: absolute;
  top: 50%;
  left: 1.25rem;
  transform: translateY(-50%);
  color: var(--text-light);
  font-size: 1.1rem;
}

.search-bar .form-control {
  padding-left: 3.5rem;
  padding-top: 0.875rem;
  padding-bottom: 0.875rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
  background: white;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.search-bar .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
  background: white;
}

/* Nav Pills */
.nav-pills {
  background: white;
  padding: 0.5rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.nav-pills .nav-link {
  color: var(--text-muted);
  border-radius: var(--radius-lg);
  padding: 0.625rem 1.5rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.nav-pills .nav-link.active {
  background: var(--primary);
  color: white;
  box-shadow: 0 2px 4px rgba(79, 70, 229, 0.2);
}

/* Enhanced Badges */
.doc-badge, .interview-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5em 0.85em;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  background-color: #f1f5f9;
  color: var(--text-main);
}

.doc-badge {
  background-color: #f0f9ff;
  color: #0369a1;
  border-color: #bae6fd;
}

.interview-badge {
  background-color: #fdf4ff;
  color: #a21caf;
  border-color: #f0abfc;
}

.doc-badge i, .interview-badge i {
  font-size: 1rem;
  margin-right: 6px;
}

.bg-warning {
  background-color: #fffbeb !important;
  color: #b45309;
  border-color: #fcd34d;
}

.bg-success {
  background-color: #ecfdf5 !important;
  color: #047857;
  border-color: #6ee7b7;
}

.bg-danger {
  background-color: #fef2f2 !important;
  color: #b91c1c;
  border-color: #fca5a5;
}

/* Profile Pic */
.profile-pic {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  border: 2px solid white;
  object-fit: cover;
}

/* Pagination */
.pagination {
  gap: 6px;
}

.pagination .page-link {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-weight: 600;
}

.pagination .page-item.active .page-link {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  box-shadow: 0 2px 4px rgba(79, 70, 229, 0.2);
}

/* Progress Bar */
.progress {
  height: 0.75rem;
  background-color: #e2e8f0;
  border-radius: 1rem;
  overflow: hidden;
}

.progress-bar {
  background: linear-gradient(90deg, var(--primary), #818cf8);
}

/* Dropdown */
.dropdown-menu {
  border: none;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-md);
  padding: 0.5rem;
}

.dropdown-item {
  border-radius: var(--radius-sm);
  padding: 0.5rem 1rem;
  font-weight: 500;
  color: var(--text-main);
}

.dropdown-item:hover {
  background-color: #f1f5f9;
  color: var(--primary);
}

.dropdown-item.active, .dropdown-item:active {
  background-color: var(--primary);
  color: white;
}

/* Login Page Specifics - Updated to match Reference Image 2 */
.login-page-body {
    background-color: #ffffff;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e0e7ff 0%, #f3e8ff 100%);
}

/* Gradient Blobs Background */
.login-blob {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.6;
    z-index: 0;
}

.blob-1 {
    top: -200px;
    left: -200px;
    background: radial-gradient(circle, #c7d2fe 0%, #e0e7ff 100%);
}

.blob-2 {
    bottom: -200px;
    right: -200px;
    background: radial-gradient(circle, #e9d5ff 0%, #fae8ff 100%);
}

.login-container {
    max-width: 440px;
    width: 100%;
    position: relative;
    z-index: 10;
    padding: 1rem;
}

.login-card {
    background: white;
    border-radius: 28px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 3rem 2.5rem;
    text-align: center;
    backdrop-filter: blur(10px);
}

.login-logo-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
    box-shadow: 0 10px 25px -5px rgba(99, 102, 241, 0.3);
}

.login-card h4 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    letter-spacing: -0.025em;
    color: #1e293b;
}

.login-card p.text-muted {
    color: #64748b !important;
    font-size: 0.95rem;
}

/* Custom Input with Pill Label - PROPORTIONAL & BALANCED */
.custom-input-group {
    background-color: #f8fafc !important;
    border: 1.5px solid #cbd5e1 !important; /* Elegant border thickness */
    border-radius: 12px !important; /* Slightly tighter radius */
    padding: 4px !important;
    display: flex !important;
    align-items: center !important;
    margin-bottom: 1.25rem !important;
    min-height: 54px !important; /* Balanced height (not too huge, not small) */
    position: relative !important;
    z-index: 20 !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02) !important;
    visibility: visible !important;
    opacity: 1 !important;
    transition: all 0.2s ease-in-out !important;
}

.custom-input-group:focus-within {
    border-color: #6366f1 !important; /* Indigo primary */
    background-color: #ffffff !important;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15) !important; /* Soft glow */
    transform: translateY(-1px);
}

.input-label-pill {
    background-color: #ffffff !important;
    color: #64748b !important; /* Slate 500 */
    font-size: 0.85rem !important; /* Small but readable label */
    font-weight: 600 !important;
    padding: 0 12px !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    white-space: nowrap !important;
    border: 1px solid #e2e8f0 !important;
    min-width: auto !important; /* Auto width based on content */
    width: auto !important;
    justify-content: center !important;
    height: 40px !important; /* Matches parent padding */
    margin-right: 8px !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05) !important;
}

.custom-input-group .form-control {
    border: none !important;
    background: transparent !important;
    padding: 0 12px !important; /* Comfortable padding */
    font-size: 1rem !important; /* 16px - The Standard for UI */
    color: #1e293b !important; /* Slate 800 */
    box-shadow: none !important;
    font-weight: 500 !important; /* Medium weight */
    width: 100% !important;
    height: 100% !important;
    opacity: 1 !important;
    visibility: visible !important;
    line-height: 1.5 !important;
}

.custom-input-group .form-control:focus {
    outline: none !important;
}

.custom-input-group .form-control::placeholder {
    color: #94a3b8 !important; /* Lighter placeholder */
    font-weight: 400 !important;
    font-size: 0.95rem !important;
}

/* Gradient Button - Proportional */
.btn-gradient {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
    border: none;
    padding: 14px 20px; /* Balanced padding */
    border-radius: 12px;
    font-weight: 600;
    width: 100%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.2);
    font-size: 1rem;
    letter-spacing: 0.02em;
    min-height: 54px; /* Matches input height */
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.3);
    color: white;
    filter: brightness(1.1);
}

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

/* Login Tabs (Compact) */
.login-tabs-compact {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 2rem;
}

.login-tabs-compact .btn-tab {
    background: transparent;
    border: 1px solid #e2e8f0;
    color: var(--text-muted);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.2s;
}

.login-tabs-compact .btn-tab:hover {
    background: #f8fafc;
    color: var(--primary);
}

.login-tabs-compact .btn-tab.active {
    background: #eff6ff;
    color: var(--primary);
    border-color: #bfdbfe;
}

/* Applicant Detail Page */
.detail-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem;
  margin-bottom: 2rem;
  border: 1px solid var(--border-color);
}

.profile-pic-lg {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  display: block;
  border: 4px solid white;
  box-shadow: var(--shadow-md);
}

.document-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); /* Improved responsiveness */
  gap: 1rem;
  margin-top: 1.5rem;
}

.document-item {
  background-color: var(--secondary-light);
  border-radius: var(--radius-sm);
  padding: 1rem;
  border: 1px solid var(--border-color);
  transition: all 0.2s ease;
}

.document-item.uploaded {
  background-color: #dcfce7; /* Light green */
  border-color: #bbf7d0;
}

/* Modern Interview Cards */
.interview-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.interview-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.interview-card.blue-section { border-top: 4px solid var(--primary); }
.interview-card.green-section { border-top: 4px solid var(--success); }
.interview-card.purple-section { border-top: 4px solid #7c3aed; }
.interview-card.red-section { border-top: 4px solid var(--danger); }

.interview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-bottom: 1px solid var(--border-color);
}

.interview-title h6 {
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.95rem;
    margin: 0;
}

.status-badge {
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.status-badge.completed {
    background: linear-gradient(135deg, var(--success) 0%, #059669 100%);
    color: white;
}

.status-badge.pending {
    background: linear-gradient(135deg, var(--warning) 0%, #d97706 100%);
    color: white;
}

.status-badge.mengundurkan_diri,
.status-badge.rejected {
    background: linear-gradient(135deg, var(--danger) 0%, #dc2626 100%);
    color: white;
}

.interview-body {
    padding: 1.5rem;
}

.interviewer-info {
    margin-bottom: 1.5rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: var(--secondary-light);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
}

.info-item i {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.info-item .label {
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 500;
}

.info-item .value {
    color: var(--text-main);
    font-weight: 600;
    margin-left: auto;
}

/* Notes Section */
.notes-section {
    margin-bottom: 1.5rem;
}

.notes-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.notes-title {
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.875rem;
    margin: 0;
}

.add-note-btn {
    background: linear-gradient(135deg, var(--primary) 0%, #1d4ed8 100%);
    border: none;
    color: white;
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.add-note-btn:hover {
    background: linear-gradient(135deg, #4338ca 0%, #1e40af 100%);
    transform: translateY(-1px);
    color: white;
}

.notes-container {
    min-height: 60px;
}

.loading-notes {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
    padding: 1rem;
}

.note-item {
    background: var(--secondary-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 1rem;
    margin-bottom: 0.75rem;
    position: relative;
    overflow: visible;
}

.note-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    padding-right: 4rem;
}

.note-author {
    font-weight: 600;
    color: var(--text-main);
    font-size: 0.875rem;
}

.note-date {
    color: var(--text-muted);
    font-size: 0.75rem;
    margin-left: auto;
}

.note-content {
    color: #374151;
    font-size: 0.875rem;
    line-height: 1.5;
    white-space: pre-wrap;
}

.note-actions {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    display: flex;
    gap: 0.25rem;
    z-index: 10;
}

.note-action-btn {
    background: none;
    border: none;
    padding: 0.25rem;
    border-radius: 4px;
    color: var(--text-muted);
    font-size: 0.75rem;
    transition: all 0.2s ease;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.note-action-btn:hover {
    background: #e2e8f0;
    color: var(--text-main);
    transform: scale(1.1);
}

.note-action-btn.edit { color: var(--info); }
.note-action-btn.edit:hover { background: #dbeafe; color: #1d4ed8; }

.note-action-btn.delete { color: var(--danger); }
.note-action-btn.delete:hover { background: #fee2e2; color: #dc2626; }

.interview-actions {
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.interview-actions .btn {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 500;
}

/* Modal Styling */
.modal-content {
    border-radius: var(--radius-md);
    border: none;
    box-shadow: var(--shadow-lg);
}

.modal-header {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-bottom: 1px solid var(--border-color);
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.modal-title {
    color: var(--text-main);
    font-weight: 600;
}

.form-control {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 0.75rem;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.form-label {
    color: #374151;
    font-weight: 500;
    font-size: 0.875rem;
}

.spin {
    animation: spin 1s linear infinite;
}

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

.empty-notes {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
    padding: 2rem 1rem;
}

.empty-notes i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    opacity: 0.5;
}

.info-label {
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.info-value {
    margin-bottom: 15px;
}

.action-btns {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.action-btns .btn {
    flex: 1;
}

.form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

.form-check-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(79, 70, 229, 0.25);
}

/* Applicant Dashboard Specifics */
.dashboard-header {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem 2rem;
  margin-bottom: 2rem;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.welcome-text h1 {
  font-size: 1.75rem;
  margin-bottom: 0.25rem;
  background: linear-gradient(135deg, var(--primary) 0%, #818cf8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Step Cards */
.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1rem;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.step-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.step-card.completed {
  border-left: 4px solid var(--success);
  background: linear-gradient(to right, #f0fdf4, white 15%);
}

.step-card.current {
  border-left: 4px solid var(--primary);
  background: linear-gradient(to right, #eef2ff, white 15%);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.step-card.pending {
  border-left: 4px solid var(--border-color);
  opacity: 0.8;
}

.step-content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.step-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.step-icon.completed {
  background: var(--success);
  color: white;
}

.step-icon.current {
  background: var(--primary);
  color: white;
  box-shadow: 0 0 0 4px var(--primary-light);
}

.step-icon.pending {
  background: var(--secondary-light);
  color: var(--text-muted);
  border: 1px solid var(--border-color);
}

.step-text h3 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
  color: var(--text-main);
}

.step-text p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.step-actions {
  margin-left: auto;
}

.step-badge {
  font-size: 0.75rem;
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.step-badge.completed {
    background-color: var(--success);
    color: white;
}

/* Help Card */
.help-card {
  background: linear-gradient(135deg, var(--primary) 0%, #4338ca 100%);
  color: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-top: 2rem;
  box-shadow: var(--shadow-lg);
}

.help-title {
  color: white;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.help-content {
  color: rgba(255, 255, 255, 0.9);
}

.contact-list {
  list-style: none;
  padding: 0;
  margin-top: 1rem;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.contact-list i {
  background: rgba(255,255,255,0.2);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.9rem;
}

/* Status Overview Grid */
.status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.status-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s;
}

.status-item:hover {
    transform: translateY(-2px);
    border-color: var(--primary);
}

.status-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .step-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    .step-actions {
        margin-left: 0;
        width: 100%;
    }
    .step-actions .btn {
        width: 100%;
    }
    .dashboard-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

/* Registration Wizard */
.wizard-container {
    background-color: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 2.5rem;
    margin-top: 2rem;
    border: 1px solid var(--border-color);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.wizard-steps {
    display: flex;
    justify-content: center;
    margin-bottom: 2.5rem;
    position: relative;
}

.step-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.step-circle {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--secondary-light);
    color: var(--text-muted);
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid var(--border-color);
    position: relative;
}

.step-circle.active {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-light);
    transform: scale(1.1);
}

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

.wizard-form-label {
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

/* Step 3: Photo Preview */
.photo-upload-area {
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    margin-bottom: 1.5rem;
    background-color: var(--bg-body);
    transition: all 0.2s ease;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

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

.photo-preview-img {
    max-width: 100%;
    max-height: 250px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

/* Step 4: Document List */
.doc-upload-item {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    margin-bottom: 1rem;
    background-color: var(--bg-body);
    transition: all 0.2s ease;
}

.doc-upload-item:hover {
    border-color: var(--primary);
    background-color: white;
    box-shadow: var(--shadow-sm);
}

.doc-upload-item.uploaded {
    border-color: var(--success);
    background-color: #f0fdf4;
}

.doc-upload-item .doc-title {
    font-weight: 600;
    color: var(--text-main);
    font-size: 1rem;
}

.doc-upload-item .doc-required {
    color: var(--danger);
    font-weight: 700;
    margin-left: 4px;
}

/* Step 5: Review Section */
.review-section {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    background-color: var(--bg-body);
}

.review-section-title {
    color: var(--primary);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.75rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.review-item {
    margin-bottom: 0.75rem;
}

.review-label {
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.875rem;
    display: block;
    margin-bottom: 0.25rem;
}

.review-value {
    color: var(--text-main);
    font-weight: 600;
    font-size: 1rem;
}
