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

:root {
  --primary-color: #1a1a2e;
  --primary-light: #16213e;
  --primary-dark: #0f0f1e;
  --secondary-color: #6366f1;
  --secondary-light: #818cf8;
  --secondary-dark: #4f46e5;
  --accent-color: #f59e0b;
  --accent-light: #fbbf24;
  --background-color: #f8fafc;
  --background-secondary: #f1f5f9;
  --text-color: #334155;
  --text-light: #64748b;
  --text-dark: #1e293b;
  --border-color: #e2e8f0;
  --shadow-light: rgba(15, 23, 42, 0.08);
  --shadow-medium: rgba(15, 23, 42, 0.15);
  --shadow-dark: rgba(15, 23, 42, 0.25);
  --success-color: #10b981;
  --error-color: #ef4444;
  --warning-color: #f59e0b;
  --info-color: #3b82f6;
  --gradient-primary: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-light) 100%);
  --gradient-accent: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-light) 100%);
  --gradient-dark: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  line-height: 1.7;
  background: var(--background-color);
  color: var(--text-color);
  transition: all 0.3s ease;
  overflow-x: hidden;
  
  /* Custom scrollbar */
  scrollbar-width: thin;
  scrollbar-color: var(--secondary-color) var(--background-color);
}

body::-webkit-scrollbar {
  width: 8px;
}

body::-webkit-scrollbar-track {
  background: var(--background-color);
}

body::-webkit-scrollbar-thumb {
  background: var(--secondary-color);
  border-radius: 4px;
}

body::-webkit-scrollbar-thumb:hover {
  background: var(--secondary-dark);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.875rem);
}

p {
  margin-bottom: 1rem;
  color: var(--text-color);
}

/* Header & Navigation */
header {
  background: var(--gradient-dark);
  color: white;
  padding: 1rem 2rem;
  border-bottom: 3px solid var(--secondary-color);
  box-shadow: 0 4px 20px var(--shadow-light);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.nav-links a {
  color: white;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-weight: 500;
  position: relative;
  overflow: hidden;
}

.nav-links a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  transition: left 0.3s ease;
  z-index: -1;
}

.nav-links a:hover::before {
  left: 0;
}

.nav-links a:hover {
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--shadow-medium);
}

/* Main Layout */
main {
  min-height: calc(100vh - 200px);
  padding: 3rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

/* Landing Page Styles */
.landing-hero {
  text-align: center;
  padding: 5rem 4rem;
  background: linear-gradient(135deg, #232946 80%, #161925 100%);
  border-radius: 20px;
  box-shadow: 0 8px 40px #10131a, 0 2px 8px #232946;
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  border: 2px solid #343a50;
}

.landing-tagline {
  color: #ffffff;
  margin-bottom: 2rem;
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  text-shadow: 0 2px 8px #232946, 0 1px 2px #000c;
}

.landing-description {
  font-size: 1.25rem;
  color: #f3f6fa;
  max-width: 800px;
  margin: 0 auto 4rem;
  line-height: 1.8;
  text-shadow: 0 2px 8px #232946, 0 1px 2px #000c;
}

.landing-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

.app-title {
  color: #fff;
  text-shadow: 0 4px 24px #6366f1, 0 1px 2px #000a;
  font-size: clamp(3rem, 6vw, 5rem);
  margin-bottom: 1.5rem;
  font-weight: 800;
  letter-spacing: 1px;
  display: inline-block;
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
  background-clip: unset;
}

.landing-tagline {
  color: var(--text-dark);
  margin-bottom: 2rem;
  font-weight: 500;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.landing-description {
  font-size: 1.25rem;
  color: var(--text-light);
  max-width: 800px;
  margin: 0 auto 4rem;
  line-height: 1.8;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin: 4rem 0;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.feature-card {
  background: var(--background-secondary);
  padding: 2.5rem 2rem;
  border-radius: 16px;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px var(--shadow-medium);
  border-color: var(--secondary-color);
  background: white;
}

.feature-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
  font-weight: 600;
}

.feature-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0;
}

.feature-list {
  list-style: none;
  margin: 2rem 0;
  display: grid;
  gap: 1rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.feature-list li {
  display: flex;
  align-items: center;
  padding: 1rem;
  background: var(--background-secondary);
  border-radius: 12px;
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.feature-list li:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px var(--shadow-light);
  border-color: var(--secondary-color);
}

.feature-list .icon {
  margin-right: 1rem;
  font-size: 1.5rem;
}

.landing-actions {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 4rem;
}

.landing-actions .btn {
  min-width: 180px;
  padding: 1.25rem 2.5rem;
  font-size: 1.125rem;
}

/* Sections and Cards */
section {
  background: linear-gradient(135deg, #f1f5f9 70%, #e0e7ef 100%);
  border-radius: 16px;
  box-shadow: 0 4px 25px var(--shadow-light);
  margin: 2rem auto;
  padding: 3rem;
  max-width: 600px;
  animation: fadeInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
}

section:hover {
  box-shadow: 0 8px 40px var(--shadow-medium);
  transform: translateY(-4px);
  border-color: var(--secondary-color);
}

.auth-section {
  max-width: 450px;
  padding: 3rem 2.5rem;
}

.hero {
  background: var(--gradient-primary);
  color: white;
  text-align: center;
  padding: 3rem 2rem;
  border-radius: 20px;
  margin-bottom: 2rem;
  box-shadow: 0 8px 40px var(--shadow-medium);
}

/* Forms and Inputs */
form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

label {
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

input, button, select, textarea {
  padding: 1rem 1.25rem;
  border-radius: 12px;
  border: 2px solid var(--border-color);
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
  background: white;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
  transform: translateY(-2px);
}

input::placeholder {
  color: var(--text-light);
  font-weight: 400;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 12px;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  min-width: 120px;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: left 0.3s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
  background: var(--gradient-accent);
  color: white;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(245, 158, 11, 0.4);
}

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

.btn-outline:hover {
  background: var(--secondary-color);
  color: white;
  transform: translateY(-2px);
}

button:active, .btn:active {
  transform: scale(0.98);
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  animation: fadeIn 0.3s ease;
}

.modal-box {
  background: white;
  padding: 3rem 2.5rem;
  border-radius: 24px;
  box-shadow: 0 25px 80px var(--shadow-dark);
  max-width: 500px;
  width: 90%;
  position: relative;
  animation: slideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 1px solid var(--border-color);
}

.modal-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.modal-header h3 {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.modal-header p {
  color: var(--text-light);
  font-size: 1rem;
  margin-bottom: 0;
}

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--background-secondary);
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-light);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-weight: bold;
}

.modal-close:hover {
  background: var(--error-color);
  color: white;
  transform: scale(1.1);
}

.modal-action {
  width: 100%;
  margin-bottom: 0;
  padding: 1.5rem 2rem;
  font-size: 1.125rem;
  font-weight: 600;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  transition: all 0.3s ease;
}

.modal-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
}

.modal-action .icon {
  font-size: 1.25rem;
}
/* Icons */
.icon {
  display: inline-block;
  vertical-align: middle;
  font-size: 1.3em;
  margin-right: 0.5em;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

/* Footer */
footer {
  background: var(--gradient-dark);
  color: white;
  text-align: center;
  padding: 2rem;
  margin-top: 4rem;
  border-top: 3px solid var(--secondary-color);
}

.footer-info {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-info p {
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.footer-info a {
  color: var(--secondary-light);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.footer-info a:hover {
  color: white;
  background: var(--secondary-color);
  transform: translateY(-1px);
}

.admin-link {
  font-size: 0.875rem;
  opacity: 0.8;
}

/* Status Messages */
#shortlistStatus, 
#revealResult, 
#admin-login-message, 
#blindProfile, 
#assessmentProgress, 
#shortlistDisplay, 
#admin-jobs-list, 
#admin-candidates-list,
#login-message {
  margin-top: 1.5rem;
  padding: 1rem;
  border-radius: 12px;
  min-height: auto;
  font-weight: 500;
  animation: slideIn 0.4s ease;
}

.status-success {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(16, 185, 129, 0.05) 100%);
  color: var(--success-color);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.status-error {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(239, 68, 68, 0.05) 100%);
  color: var(--error-color);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.status-warning {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(245, 158, 11, 0.05) 100%);
  color: var(--warning-color);
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.status-info {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(59, 130, 246, 0.05) 100%);
  color: var(--info-color);
  border: 1px solid rgba(59, 130, 246, 0.2);
}

/* Auth Switch Links */
.auth-switch {
  text-align: center;
  margin-top: 2rem;
  color: var(--text-light);
}

.auth-switch a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.auth-switch a:hover {
  color: var(--secondary-dark);
  text-decoration: underline;
}

/* Loading States */
.loading {
  position: relative;
  pointer-events: none;
  opacity: 0.7;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid transparent;
  border-top: 2px solid var(--secondary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

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

@keyframes slideIn {
  from { 
    opacity: 0; 
    transform: translateX(-20px); 
  }
  to { 
    opacity: 1; 
    transform: translateX(0); 
  }
}

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

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

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes shake {
  10%, 90% { transform: translateX(-2px); }
  20%, 80% { transform: translateX(4px); }
  30%, 50%, 70% { transform: translateX(-6px); }
  40%, 60% { transform: translateX(6px); }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.hidden { display: none; }
.visible { display: block; }

/* Responsive Design */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .landing-hero {
    padding: 4rem 3rem;
  }
}

@media (max-width: 768px) {
  :root {
    font-size: 14px;
  }
  
  main {
    padding: 1rem 0.5rem;
  }
  
  section {
    padding: 2rem 1.5rem;
    margin: 1rem auto;
    max-width: 95vw;
  }
  
  .landing-hero {
    padding: 2rem 1rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 2rem 0;
  }
  
  .feature-card {
    padding: 1.5rem 1rem;
    min-height: auto;
  }
  
  .feature-icon {
    font-size: 2rem;
  }
  
  .landing-actions {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .landing-actions .btn {
    width: 100%;
    max-width: 300px;
    min-width: auto;
  }
  
  .feature-list {
    gap: 0.75rem;
  }
  
  nav {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  header {
    padding: 1rem;
  }
  
  .modal-box {
    margin: 1rem;
    width: calc(100% - 2rem);
    padding: 2rem 1.5rem;
  }
  
  .modal-actions {
    gap: 0.75rem;
  }
  
  .auth-section {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .app-title {
    font-size: 2rem;
  }
  
  .features-grid {
    margin: 1.5rem 0;
  }
  
  .feature-card {
    padding: 1.25rem 0.75rem;
  }
  
  .feature-card h3 {
    font-size: 1rem;
  }
  
  .feature-card p {
    font-size: 0.8rem;
  }
  
  .feature-list li {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
    padding: 0.75rem;
  }
  
  .feature-list .icon {
    margin-right: 0;
    margin-bottom: 0.5rem;
  }
  
  section {
    padding: 1rem;
  }
  
  .modal-box {
    padding: 1.5rem 1rem;
  }
  
  .modal-header h3 {
    font-size: 1.25rem;
  }
  
  .landing-description {
    font-size: 1rem;
  }
}

/* Dark mode support (optional) */
@media (prefers-color-scheme: dark) {
  :root {
    --background-color: #0f172a;
    --background-secondary: #1e293b;
    --text-color: #cbd5e1;
    --text-light: #94a3b8;
    --text-dark: #f1f5f9;
    --border-color: #334155;
    --shadow-light: rgba(0, 0, 0, 0.3);
    --shadow-medium: rgba(0, 0, 0, 0.4);
    --shadow-dark: rgba(0, 0, 0, 0.5);
  }
  
  section {
    background: var(--background-secondary);
    border-color: var(--border-color);
  }
  
  input, select, textarea {
    background: var(--background-color);
    border-color: var(--border-color);
    color: var(--text-color);
  }
  
  .modal-box {
    background: var(--background-secondary);
  }
}

/* =========================
   CANDIDATE DASHBOARD STYLES
   ========================= */

/* Candidate Header */
.candidate-header {
  background: var(--gradient-dark);
  color: white;
  padding: 1rem 2rem;
  border-bottom: 3px solid var(--secondary-color);
  box-shadow: 0 4px 20px var(--shadow-light);
  position: sticky;
  top: 0;
  z-index: 100;
}

.candidate-header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

/* Candidate Main Layout */
.candidate-main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
  min-height: calc(100vh - 100px);
}

/* Candidate ID Card */
.candidate-id-card {
  background: var(--gradient-primary);
  color: white;
  padding: 2rem;
  border-radius: 16px;
  margin-bottom: 2rem;
  text-align: center;
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.3);
}

.id-info h3 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
  color: white;
}

.candidate-id {
  font-size: 2rem;
  font-weight: 700;
  font-family: 'Courier New', monospace;
  background: rgba(255, 255, 255, 0.2);
  padding: 1rem 2rem;
  border-radius: 12px;
  margin: 1rem 0;
  letter-spacing: 2px;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.id-description {
  opacity: 0.9;
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* Dashboard Grid */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

/* Dashboard Cards */
.dashboard-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.14) 60%, rgba(200,220,255,0.10) 100%);
  border-radius: 18px;
  padding: 2rem;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.18), 0 1.5px 8px 0 rgba(255,255,255,0.05) inset;
  border: 1.5px solid rgba(255,255,255,0.25);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
}

.dashboard-card, .dashboard-card *, .dashboard-card h3, .dashboard-card p, .dashboard-card .icon, .dashboard-card .btn,
.employer-dashboard-grid, .employer-dashboard-grid *,
.card-header, .card-header *,
.card-content, .card-content *,
.card-features, .card-features *,
.feature-item, .feature-item *,
.dashboard-card .card-content, .dashboard-card .card-content * {
  color: #fff !important;
  text-shadow: 0 2px 8px rgba(0,0,0,0.28), 0 1px 2px #000c;
}

.dashboard-card .btn {
  background: linear-gradient(135deg, #6366f1 60%, #818cf8 100%);
  color: #fff !important;
  border: none;
  box-shadow: 0 2px 8px #6366f1a0;
  font-weight: 600;
}

.dashboard-card .btn:hover {
  filter: brightness(1.1) saturate(1.2);
}

.dashboard-card .icon {
  filter: drop-shadow(0 2px 8px #6366f1cc);
}

.dashboard-card .card-header {
  border-bottom: 1.5px solid rgba(255,255,255,0.18);
}

.dashboard-card, .dashboard-card * {
  color: #1e293b !important;
  text-shadow: 0 1px 2px rgba(255,255,255,0.05);
}

.dashboard-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

.dashboard-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px var(--shadow-medium);
}

/* Card Headers */
.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.card-header h3 {
  margin-bottom: 0;
  color: var(--text-dark);
  font-size: 1.25rem;
}

/* Status Badges */
.status-badge {
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #fff !important;
  text-shadow: 0 2px 8px rgba(0,0,0,0.25), 0 1px 2px #000a !important;
}
.status-badge.incomplete,
.status-badge.complete,
.status-badge.success,
.feature-badge {
  color: #fff !important;
  text-shadow: 0 2px 8px rgba(0,0,0,0.25), 0 1px 2px #000a !important;
}

.status-badge.incomplete {
  background: rgba(245, 158, 11, 0.1);
  color: var(--warning-color);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.status-badge.complete {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success-color);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-badge.success {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success-color);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

/* Card Content */
.card-content {
  margin-bottom: 1.5rem;
}

.card-content p {
  color: #26334d;
  line-height: 1.6;
  margin-bottom: 1rem;
  text-shadow: 0 1px 2px rgba(255,255,255,0.08);
}

/* Stats Grid */
.profile-stats,
.test-stats,
.application-summary {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1rem;
  background: linear-gradient(135deg, rgba(255,255,255,0.10) 60%, rgba(200,220,255,0.05) 100%);
  border-radius: 18px;
  border: 1.5px solid rgba(255,255,255,0.13);
  box-shadow: 0 2px 12px 0 rgba(31, 38, 135, 0.08), 0 1px 4px 0 rgba(255,255,255,0.04) inset;
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  padding: 1rem;
}

.stat {
  text-align: center;
  padding: 1rem;
  background: var(--background-secondary);
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: #fff !important;
  margin-bottom: 0.25rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.32), 0 1px 2px #000c;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Card Actions */
.card-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.card-actions .btn {
  flex: 1;
  min-width: 120px;
}

/* Identity Card Special Styling */
.identity-card {
  border-color: var(--success-color);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(16, 185, 129, 0.02) 100%);
}

.identity-card::before {
  background: var(--gradient-accent);
}

.reveal-warning {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 8px;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--warning-color);
}

/* Quick Actions */
.quick-actions {
  background: #1e293b;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px var(--shadow-light);
  border: 1px solid var(--border-color);
  margin-bottom: 2rem;
}

.quick-actions h4 {
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.action-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.quick-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--background-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-color);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.quick-btn:hover {
  background: var(--secondary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

/* Large Modal */
.large-modal {
  max-width: 700px;
  width: 95%;
}

/* Form Groups */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
}

.form-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  margin-top: 2rem;
}

/* Reveal Form */
.reveal-form {
  padding: 1rem 0;
}

/* Responsive Design for Candidate Dashboard */
@media (max-width: 1024px) {
  .dashboard-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .candidate-main {
    padding: 1.5rem;
  }
}

@media (max-width: 768px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .candidate-main {
    padding: 1rem;
  }
  
  .candidate-id {
    font-size: 1.5rem;
    padding: 0.75rem 1.5rem;
  }
  
  .profile-stats,
  .test-stats,
  .application-summary {
    grid-template-columns: 1fr;
  }
  
  .card-actions {
    flex-direction: column;
  }
  
  .action-buttons {
    flex-direction: column;
  }
  
  .candidate-header nav {
    flex-direction: column;
    gap: 1rem;
  }
  
  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .candidate-id-card {
    padding: 1.5rem;
  }
  
  .dashboard-card {
    padding: 1.5rem;
  }
  
  .quick-actions {
    padding: 1.5rem;
  }
  
  .large-modal {
    width: 98%;
    margin: 1rem;
  }
}

/* Additional Candidate Dashboard Styles */

/* Profile View Styles */
.profile-view {
  padding: 1rem 0;
}

.profile-section {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.profile-section:last-child {
  border-bottom: none;
}

.profile-section h4 {
  color: var(--text-dark);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.skill-tag {
  background: var(--gradient-primary);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

.portfolio-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.portfolio-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: var(--background-secondary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  text-decoration: none;
  color: var(--text-color);
  transition: all 0.3s ease;
}

.portfolio-link:hover {
  background: var(--secondary-color);
  color: white;
  transform: translateX(5px);
}

.scores-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.score-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: var(--background-secondary);
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.score-value {
  font-weight: 700;
  color: var(--success-color);
  font-size: 1.1rem;
}

/* Tests Grid */
.tests-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.test-card {
  background: var(--background-secondary);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.test-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px var(--shadow-light);
}

.test-card h4 {
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.test-card p {
  color: var(--text-light);
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.test-info {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.test-duration,
.test-difficulty {
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 500;
}

.test-duration {
  background: rgba(59, 130, 246, 0.1);
  color: var(--info-color);
}

.test-difficulty {
  background: rgba(245, 158, 11, 0.1);
  color: var(--warning-color);
}

/* Scores Overview */
.scores-overview {
  padding: 1rem 0;
}

.score-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.summary-item {
  text-align: center;
  padding: 1.5rem;
  background: var(--background-secondary);
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.summary-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}

.summary-label {
  font-size: 0.9rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.detailed-scores {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.score-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: 0 2px 8px var(--shadow-light);
}

.score-details h4 {
  margin-bottom: 0.25rem;
  color: var(--text-dark);
}

.score-details p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 0;
}

.score-result {
  text-align: right;
}

.score-percentage {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--success-color);
  margin-bottom: 0.25rem;
}

.score-rank {
  font-size: 0.8rem;
  color: var(--text-light);
  background: rgba(16, 185, 129, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
}

/* Applications List */
.applications-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1rem;
}

.application-card {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: 0 2px 8px var(--shadow-light);
  transition: all 0.3s ease;
}

.application-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--shadow-medium);
}

.application-card.shortlisted {
  border-color: var(--success-color);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(16, 185, 129, 0.02) 100%);
}

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

.app-header h4 {
  margin-bottom: 0;
  color: var(--text-dark);
}

.app-status {
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}

.app-status.success {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success-color);
}

.app-status.pending {
  background: rgba(245, 158, 11, 0.1);
  color: var(--warning-color);
}

.app-status.rejected {
  background: rgba(239, 68, 68, 0.1);
  color: var(--error-color);
}

.app-details {
  margin-bottom: 1rem;
}

.app-details p {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-color);
}

.app-actions {
  display: flex;
  gap: 1rem;
}

/* Jobs List */
.jobs-filters {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.search-input,
.filter-select {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 0.9rem;
}

.search-input {
  flex: 1;
  min-width: 200px;
}

.jobs-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.job-card {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: 0 2px 8px var(--shadow-light);
  transition: all 0.3s ease;
}

.job-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--shadow-medium);
}

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

.job-header h4 {
  margin-bottom: 0;
  color: var(--text-dark);
}

.job-type {
  padding: 0.5rem 1rem;
  background: var(--gradient-primary);
  color: white;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.job-details {
  margin-bottom: 1.5rem;
}

.job-details p {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-color);
}

.job-actions {
  display: flex;
  gap: 1rem;
}

/* Form Sections */
.form-section {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.form-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.form-section h4 {
  color: var(--text-dark);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

/* Notifications */
.notification {
  position: fixed;
  top: 2rem;
  right: 2rem;
  background: white;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 8px 30px var(--shadow-medium);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 1001;
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.3s ease;
}

.notification.show {
  opacity: 1;
  transform: translateX(0);
}

.notification.success {
  border-color: var(--success-color);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(16, 185, 129, 0.05) 100%);
}

.notification.error {
  border-color: var(--error-color);
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(239, 68, 68, 0.05) 100%);
}

.notification.info {
  border-color: var(--info-color);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(59, 130, 246, 0.05) 100%);
}

/* Responsive for candidate dashboard elements */
@media (max-width: 768px) {
  .score-summary {
    grid-template-columns: 1fr;
  }
  
  .score-row {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .score-result {
    text-align: center;
  }
  
  .app-header,
  .job-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .app-actions,
  .job-actions {
    flex-direction: column;
  }
  
  .jobs-filters {
    flex-direction: column;
  }
  
  .tests-grid {
    grid-template-columns: 1fr;
  }
  
  .notification {
    top: 1rem;
    right: 1rem;
    left: 1rem;
    width: auto;
  }
}
/* Multi-step Form Styles for Employer Signup */
.multi-step-form {
    position: relative;
    min-height: 600px;
}

.form-step {
    display: none;
    animation: slideIn 0.3s ease-in-out;
}

.form-step.active {
    display: block;
}

.step-title {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-gradient);
    color: white;
    border-radius: 50%;
    font-weight: 600;
    font-size: 1.1rem;
}

.step-text {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-color);
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.form-actions .btn {
    flex: 1;
    max-width: 200px;
}

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

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

/* Progress Indicator */
.progress-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin: 30px 0;
    padding: 20px;
    background: var(--card-bg);
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.progress-step.active {
    opacity: 1;
}

.progress-step.completed {
    opacity: 1;
}

.progress-step::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 50px;
    width: 40px;
    height: 2px;
    background: var(--border-color);
    z-index: -1;
}

.progress-step:last-child::after {
    display: none;
}

.progress-step.active::after,
.progress-step.completed::after {
    background: var(--primary-color);
}

.step-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    background: white;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-light);
    transition: all 0.3s ease;
}

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

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

.step-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-light);
    text-align: center;
}

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

/* Enhanced Form Styling */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    background: white;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.password-requirements {
    margin-top: 5px;
}

.password-requirements small {
    color: var(--text-light);
    font-size: 0.8rem;
}

/* Checkbox Styling */
.checkbox-group {
    margin: 20px 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
    opacity: 0;
    position: absolute;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    background: white;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-top: 2px;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.checkbox-text {
    color: var(--text-color);
}

.checkbox-text a {
    color: var(--primary-color);
    text-decoration: none;
}

.checkbox-text a:hover {
    text-decoration: underline;
}

/* Employer Signup Specific Styles */
.employer-signup {
    max-width: 600px;
    margin: 0 auto;
}

.signup-description {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* Animation for form steps */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive adjustments for multi-step form */
@media (max-width: 768px) {
    .progress-indicator {
        gap: 20px;
        padding: 15px;
    }
    
    .progress-step::after {
        width: 20px;
        left: 30px;
    }
    
    .step-circle {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
    
    .step-label {
        font-size: 0.75rem;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions .btn {
        max-width: none;
    }
}

/* Multi-step Form Styles for Employer Signup */
.multi-step-form {
    position: relative;
    min-height: 600px;
}

.form-step {
    display: none;
    animation: slideIn 0.3s ease-in-out;
}

.form-step.active {
    display: block;
}

.step-title {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-gradient);
    color: white;
    border-radius: 50%;
    font-weight: 600;
    font-size: 1.1rem;
}

.step-text {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-color);
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.form-actions .btn {
    flex: 1;
    max-width: 200px;
}

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

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

/* Progress Indicator */
.progress-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin: 30px 0;
    padding: 20px;
    background: var(--card-bg);
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.progress-step.active {
    opacity: 1;
}

.progress-step.completed {
    opacity: 1;
}

.progress-step::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 50px;
    width: 40px;
    height: 2px;
    background: var(--border-color);
    z-index: -1;
}

.progress-step:last-child::after {
    display: none;
}

.progress-step.active::after,
.progress-step.completed::after {
    background: var(--primary-color);
}

.step-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    background: white;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-light);
    transition: all 0.3s ease;
}

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

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

.step-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-light);
    text-align: center;
}

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

/* Enhanced Form Styling */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    background: white;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.password-requirements {
    margin-top: 5px;
}

.password-requirements small {
    color: var(--text-light);
    font-size: 0.8rem;
}

/* Checkbox Styling */
.checkbox-group {
    margin: 20px 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
    opacity: 0;
    position: absolute;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    background: white;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-top: 2px;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.checkbox-text {
    color: var(--text-color);
}

.checkbox-text a {
    color: var(--primary-color);
    text-decoration: none;
}

.checkbox-text a:hover {
    text-decoration: underline;
}

/* Employer Signup Specific Styles */
.employer-signup {
    max-width: 600px;
    margin: 0 auto;
}

.signup-description {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* Animation for form steps */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive adjustments for multi-step form */
@media (max-width: 768px) {
    .progress-indicator {
        gap: 20px;
        padding: 15px;
    }
    
    .progress-step::after {
        width: 20px;
        left: 30px;
    }
    
    .step-circle {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
    
    .step-label {
        font-size: 0.75rem;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions .btn {
        max-width: none;
    }
}

/* Employer Dashboard Specific Styles */
.employer-header {
    background: var(--card-bg);
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

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

.employer-header .logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 2px 12px #6366f1, 0 1px 2px #000b;
    letter-spacing: 1px;
}

.employer-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.company-name {
    font-weight: 600;
    color: var(--text-color);
    font-size: 1.1rem;
}

.user-role {
    font-size: 0.9rem;
    color: var(--text-light);
    background: rgba(99, 102, 241, 0.1);
    padding: 4px 12px;
    border-radius: 12px;
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    text-decoration: none;
    color: var(--text-color);
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-links a:hover {
    background: var(--primary-color);
    color: white;
}

.employer-main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 20px;
}

.dashboard-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.overview-card {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all 0.3s ease;
}

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

.overview-icon {
    font-size: 2rem;
    margin-bottom: 15px;
}

.overview-content h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.overview-content p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

/* Horizontal Layout for Employer Dashboard Grid */
.employer-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.dashboard-card {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: fit-content;
}

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

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.card-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-badge {
    background: var(--primary-gradient);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    background: rgba(107, 114, 128, 0.1);
    color: var(--text-light);
}

.status-badge.success {
    background: rgba(34, 197, 94, 0.1);
    color: var(--success-color);
}

.status-badge.warning {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning-color);
}

.status-badge.info {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.card-content {
    flex: 1;
    margin-bottom: 20px;
}

.card-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 15px;
}

.card-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-color);
}

.profile-preview {
    background: rgba(99, 102, 241, 0.05);
    padding: 15px;
    border-radius: 10px;
    border: 1px solid rgba(99, 102, 241, 0.1);
}

.preview-item {
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-color);
}

.filter-stats {
    display: flex;
    gap: 20px;
    justify-content: space-around;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-light);
}

.reveal-info,
.contact-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.analytics-preview {
    display: flex;
    gap: 20px;
    justify-content: space-around;
}

.metric {
    text-align: center;
}

.metric-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.metric-label {
    font-size: 0.8rem;
    color: var(--text-light);
}

.card-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.card-actions .btn {
    flex: 1;
    min-width: 120px;
}

/* Special card styling */
.primary-card {
    border-left: 4px solid var(--primary-color);
}

.identity-card {
    border-left: 4px solid var(--warning-color);
}

.analytics-card {
    border-left: 4px solid #3b82f6;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-box {
    background: var(--card-bg);
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    position: relative;
}

.modal-box.large-modal {
    max-width: 800px;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--border-color);
    color: var(--text-color);
}

.modal-header {
    padding: 30px 30px 20px;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
    margin: 0 0 10px;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-header p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.95rem;
}

.modal-content {
    padding: 30px;
}

.dynamic-content {
    margin-top: 30px;
}

/* Responsive Design for Employer Dashboard */
@media (max-width: 1200px) {
    .employer-dashboard-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .employer-header nav {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }
    
    .nav-links {
        order: 3;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .employer-main {
        padding: 20px 15px;
    }
    
    .dashboard-overview {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
        margin-bottom: 30px;
    }
    
    .employer-dashboard-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .card-actions {
        flex-direction: column;
    }
    
    .card-actions .btn {
        min-width: auto;
    }
    
    .modal-box {
        width: 95%;
        margin: 20px;
    }
    
    .modal-header,
    .modal-content {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .dashboard-overview {
        grid-template-columns: 1fr 1fr;
    }
    
    .overview-card {
        padding: 20px 15px;
    }
    
    .overview-content h3 {
        font-size: 2rem;
    }
    
    .filter-stats,
    .analytics-preview {
        flex-direction: column;
        gap: 15px;
    }
}

/* Additional Employer Dashboard Styles */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
}

.section-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.jobs-grid,
.candidates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
}

.job-card,
.candidate-card {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.job-card:hover,
.candidate-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.job-header,
.candidate-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.job-header h3,
.candidate-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
}

.job-status {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: capitalize;
}

.job-status.active {
    background: rgba(34, 197, 94, 0.1);
    color: var(--success-color);
}

.job-status.paused {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning-color);
}

.skill-score {
    background: var(--primary-gradient);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.job-details {
    margin-bottom: 15px;
}

.job-details p {
    margin: 8px 0;
    color: var(--text-color);
    font-size: 0.9rem;
}

.job-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.job-stats .stat {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.job-actions,
.candidate-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 0.8rem;
}

.candidate-skills {
    margin-bottom: 15px;
}

.skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.skill-tag {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
}

.candidate-stats {
    margin-bottom: 20px;
}

.candidate-stats .stat {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.candidate-stats .label {
    color: var(--text-light);
}

.candidate-stats .value {
    color: var(--text-color);
    font-weight: 500;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    grid-column: 1 / -1;
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state h3 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 10px;
}

.empty-state p {
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

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

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 10px;
    color: white;
    font-weight: 500;
    z-index: 1100;
    transform: translateX(400px);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
}

.notification.show {
    transform: translateX(0);
}

.notification.success {
    background: var(--success-color);
}

.notification.error {
    background: var(--error-color);
}

.notification.info {
    background: var(--primary-color);
}

.notification.warning {
    background: var(--warning-color);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .jobs-grid,
    .candidates-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .job-stats {
        flex-direction: column;
        gap: 8px;
    }
    
    .job-actions,
    .candidate-actions {
        flex-direction: column;
    }
    
    .section-header {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .form-actions {
        flex-direction: column;
    }
}

/* Job Posts Section Specific Styles */
.job-posts-section {
    animation: fadeInUp 0.5s ease-out;
    margin-top: 20px;
}

.job-posts-section .section-header {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-light) 100%);
    color: white;
    padding: 30px;
    border-radius: 15px 15px 0 0;
    margin-bottom: 0;
}

.job-posts-section .section-header h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: 8px;
}

.job-posts-section .jobs-grid {
    background: white;
    padding: 30px;
    border-radius: 0 0 15px 15px;
    box-shadow: var(--shadow-medium);
    border-top: 3px solid var(--secondary-color);
}

/* Empty state enhancement */
.job-posts-section .empty-state {
    text-align: center;
    padding: 60px 30px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 15px;
    border: 2px dashed var(--border-color);
}

.job-posts-section .empty-state .empty-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.6;
}

/* Job card enhancements */
.job-posts-section .job-card {
    border-left: 4px solid var(--secondary-color);
    transition: all 0.3s ease;
}

.job-posts-section .job-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-dark);
    border-left-color: var(--accent-color);
}

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

/* Scroll indicator for job posts */
.job-posts-section::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}
