/* Modern Login Choice Page Design */

:root {
  --forest-900: #0b3d2e;
  --forest-800: #0f5240;
  --forest-700: #146651;
  --forest-50: #f0f9f6;
  --ochre-600: #c9a227;
  --ochre-500: #d4ad31;
  --ochre-50: #fef9e7;
  --cream: #f4e9d8;
  --purple-600: #7c3aed;
  --purple-500: #8b5cf6;
  --purple-50: #faf5ff;
  --slate-900: #0f172a;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
}

/* Main Container */
.choice-page {
  min-height: 100vh;
  background: linear-gradient(135deg, 
    var(--forest-50) 0%, 
    var(--ochre-50) 50%, 
    var(--purple-50) 100%
  );
  position: relative;
  overflow: hidden;
  padding: 2rem 1.5rem;
}

/* Animated background */
.choice-page::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 20s ease-in-out infinite;
}

.choice-page::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -15%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(11, 61, 46, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -50px) scale(1.05); }
  66% { transform: translate(-20px, 30px) scale(0.95); }
}

/* Back Button */
.back-home {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(11, 61, 46, 0.1);
  border-radius: 0.75rem;
  color: var(--forest-800);
  font-weight: 500;
  font-size: 0.875rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 10;
  margin-bottom: 1.5rem;
}

.back-home:hover {
  background: white;
  border-color: var(--forest-700);
  transform: translateX(-4px);
  box-shadow: 0 4px 12px rgba(11, 61, 46, 0.15);
}

/* Container */
.choice-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Hero Section */
.choice-hero {
  text-align: center;
  margin-bottom: 3.5rem;
  animation: fadeInUp 0.6s ease-out;
}

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

.brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, rgba(11, 61, 46, 0.1) 0%, rgba(201, 162, 39, 0.1) 100%);
  border: 1px solid rgba(11, 61, 46, 0.2);
  border-radius: 9999px;
  font-size: 0.813rem;
  font-weight: 600;
  color: var(--forest-800);
  letter-spacing: 0.025em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--ochre-600);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

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

.choice-title {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 800;
  color: var(--slate-900);
  margin: 0 0 1rem 0;
  line-height: 1.1;
  letter-spacing: -0.025em;
  background: linear-gradient(135deg, var(--forest-900) 0%, var(--ochre-600) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.choice-subtitle {
  font-size: 1.125rem;
  color: var(--slate-600);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

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

@media (max-width: 768px) {
  .cards-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Portal Cards */
.portal-card {
  position: relative;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 1.5rem;
  padding: 2rem;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
  backdrop-filter: blur(20px);
  overflow: hidden;
  animation: fadeInUp 0.6s ease-out backwards;
}

.portal-card:nth-child(1) { animation-delay: 0.1s; }
.portal-card:nth-child(2) { animation-delay: 0.2s; }
.portal-card:nth-child(3) { animation-delay: 0.3s; }

.portal-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--forest-700), var(--ochre-600));
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

/* Card Glow Effect */
.card-glow {
  position: absolute;
  top: -100%;
  left: -100%;
  width: 300%;
  height: 300%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.portal-card:hover .card-glow {
  opacity: 1;
  animation: glow-move 3s ease-in-out infinite;
}

@keyframes glow-move {
  0%, 100% { transform: translate(-50%, -50%); }
  50% { transform: translate(-30%, -30%); }
}

/* Admin Card Styling */
.admin-card {
  border-color: rgba(11, 61, 46, 0.15);
}

.admin-card:hover {
  border-color: var(--forest-700);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(11, 61, 46, 0.2);
}

/* Coach Card Styling */
.coach-card {
  border-color: rgba(201, 162, 39, 0.15);
}

.coach-card:hover {
  border-color: var(--ochre-600);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(201, 162, 39, 0.2);
}

/* Client Card Styling */
.client-card {
  border-color: rgba(124, 58, 237, 0.15);
}

.client-card:hover {
  border-color: var(--purple-600);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(124, 58, 237, 0.2);
}

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

.card-icon-wrapper {
  width: 72px;
  height: 72px;
  border-radius: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.card-icon-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.4), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portal-card:hover .card-icon-wrapper::before {
  opacity: 1;
}

.admin-card .card-icon-wrapper {
  background: linear-gradient(135deg, var(--forest-50), rgba(11, 61, 46, 0.1));
  color: var(--forest-700);
}

.coach-card .card-icon-wrapper {
  background: linear-gradient(135deg, var(--ochre-50), rgba(201, 162, 39, 0.1));
  color: var(--ochre-600);
}

.client-card .card-icon-wrapper {
  background: linear-gradient(135deg, var(--purple-50), rgba(124, 58, 237, 0.1));
  color: var(--purple-600);
}

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

.card-icon {
  position: relative;
  z-index: 1;
  stroke-width: 2;
}

.card-badge {
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.admin-card .card-badge {
  background: linear-gradient(135deg, var(--forest-50), rgba(11, 61, 46, 0.15));
  color: var(--forest-800);
  border: 1px solid rgba(11, 61, 46, 0.2);
}

.coach-card .card-badge {
  background: linear-gradient(135deg, var(--ochre-50), rgba(201, 162, 39, 0.15));
  color: var(--ochre-600);
  border: 1px solid rgba(201, 162, 39, 0.2);
}

.client-card .card-badge {
  background: linear-gradient(135deg, var(--purple-50), rgba(124, 58, 237, 0.15));
  color: var(--purple-600);
  border: 1px solid rgba(124, 58, 237, 0.2);
}

/* Card Content */
.card-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--slate-900);
  margin: 0 0 0.75rem 0;
  line-height: 1.2;
}

.card-description {
  color: var(--slate-600);
  font-size: 0.938rem;
  line-height: 1.6;
  margin: 0 0 1.5rem 0;
}

/* Card Features */
.card-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.card-features li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--slate-700);
  font-weight: 500;
}

.admin-card .card-features svg {
  color: var(--forest-700);
  flex-shrink: 0;
}

.coach-card .card-features svg {
  color: var(--ochre-600);
  flex-shrink: 0;
}

.client-card .card-features svg {
  color: var(--purple-600);
  flex-shrink: 0;
}

/* Card Action */
.card-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-radius: 0.875rem;
  font-weight: 600;
  font-size: 0.938rem;
  margin-top: auto;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.admin-card .card-action {
  background: linear-gradient(135deg, var(--forest-50), rgba(11, 61, 46, 0.08));
  color: var(--forest-800);
}

.admin-card:hover .card-action {
  background: linear-gradient(135deg, var(--forest-700), var(--forest-800));
  color: white;
  transform: translateX(4px);
}

.coach-card .card-action {
  background: linear-gradient(135deg, var(--ochre-50), rgba(201, 162, 39, 0.08));
  color: var(--ochre-600);
}

.coach-card:hover .card-action {
  background: linear-gradient(135deg, var(--ochre-600), var(--ochre-500));
  color: white;
  transform: translateX(4px);
}

.client-card .card-action {
  background: linear-gradient(135deg, var(--purple-50), rgba(124, 58, 237, 0.08));
  color: var(--purple-600);
}

.client-card:hover .card-action {
  background: linear-gradient(135deg, var(--purple-600), var(--purple-500));
  color: white;
  transform: translateX(4px);
}

.card-action svg {
  transition: transform 0.3s ease;
}

.portal-card:hover .card-action svg {
  transform: translateX(4px);
}

/* Footer */
.choice-footer {
  text-align: center;
  padding: 2.5rem 1rem;
  position: relative;
}

.footer-divider {
  width: 100px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--ochre-600), transparent);
  margin: 0 auto 2rem;
  border-radius: 9999px;
}

.footer-text {
  font-size: 1.125rem;
  color: var(--slate-700);
  font-weight: 600;
  margin: 0 0 1rem 0;
}

.footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  background: linear-gradient(135deg, var(--forest-700), var(--ochre-600));
  color: white;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 0.875rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(11, 61, 46, 0.3);
  position: relative;
  overflow: hidden;
}

.footer-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--ochre-600), var(--forest-700));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.footer-cta:hover::before {
  opacity: 1;
}

.footer-cta:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 30px rgba(11, 61, 46, 0.4);
}

.footer-cta span,
.footer-cta svg {
  position: relative;
  z-index: 1;
}

.footer-note {
  margin: 1rem 0 0 0;
  font-size: 0.875rem;
  color: var(--slate-500);
}

/* Responsive Design */
@media (max-width: 640px) {
  .choice-page {
    padding: 1.5rem 1rem;
  }

  .choice-hero {
    margin-bottom: 2.5rem;
  }

  .choice-title {
    font-size: 2rem;
  }

  .choice-subtitle {
    font-size: 1rem;
  }

  .portal-card {
    padding: 1.5rem;
  }

  .card-title {
    font-size: 1.5rem;
  }

  .footer-cta {
    width: 100%;
    justify-content: center;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Print Styles */
@media print {
  .choice-page::before,
  .choice-page::after,
  .card-glow,
  .back-home {
    display: none;
  }

  .portal-card {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid var(--slate-300);
  }
}

/* Hide layout footer */
body footer {
  display: none !important;
}
  --primary-blue-dark: #1d4ed8;
  --primary-blue-light: #dbeafe;
  --amber-base: #f59e0b;
  --amber-dark: #d97706;
  --amber-light: #fef3c7;
  --emerald-base: #10b981;
  --emerald-dark: #059669;
  --emerald-light: #dcfce7;
  --neutral-50: #f9fafb;
  --neutral-100: #f3f4f6;
  --neutral-200: #e5e7eb;
  --neutral-600: #4b5563;
  --neutral-900: #111827;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Hero Section Background */
.login-choice-hero {
  background: linear-gradient(135deg, #f0fdf4 0%, #eff6ff 50%, #fef3c7 100%);
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  position: relative;
  overflow: hidden;
}

/* Decorative background elements */
.login-choice-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.login-choice-hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.login-choice-container {
  max-width: 1280px;
  width: 100%;
  position: relative;
  z-index: 1;
}

/* Header Section */
.login-choice-header {
  text-align: center;
  margin-bottom: 3rem;
}

.login-choice-header p {
  color: var(--primary-blue);
  font-weight: 600;
  margin: 0 0 0.5rem 0;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.login-choice-header h1 {
  font-family: Georgia, 'Palatino Linotype', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--neutral-900);
  margin: 0 0 1rem 0;
  line-height: 1.2;
}

@media (max-width: 768px) {
  .login-choice-header h1 {
    font-size: 2rem;
  }
}

.login-choice-header .subtitle {
  color: var(--neutral-600);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Cards Grid */
.login-choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

@media (max-width: 1024px) {
  .login-choice-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
  }
}

@media (max-width: 640px) {
  .login-choice-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Individual Role Cards */
.role-card {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: var(--shadow-md);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 2px solid transparent;
  position: relative;
}

.role-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.role-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 1rem 1rem 0 0;
  transition: all 0.3s ease;
}

/* Admin Card */
.role-card.admin {
  border-color: var(--primary-blue-light);
}

.role-card.admin::before {
  background: linear-gradient(90deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
}

.role-card.admin:hover {
  border-color: var(--primary-blue);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.02) 0%, transparent 100%);
}

/* Coach Card */
.role-card.coach {
  border-color: var(--amber-light);
}

.role-card.coach::before {
  background: linear-gradient(90deg, var(--amber-base) 0%, var(--amber-dark) 100%);
}

.role-card.coach:hover {
  border-color: var(--amber-base);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.02) 0%, transparent 100%);
}

/* Client Card */
.role-card.client {
  border-color: var(--emerald-light);
}

.role-card.client::before {
  background: linear-gradient(90deg, var(--emerald-base) 0%, var(--emerald-dark) 100%);
}

.role-card.client:hover {
  border-color: var(--emerald-base);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.02) 0%, transparent 100%);
}

/* Card Icon */
.role-card-icon {
  width: 80px;
  height: 80px;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.role-card.admin .role-card-icon {
  background: linear-gradient(135deg, var(--primary-blue-light) 0%, rgba(37, 99, 235, 0.1) 100%);
  color: var(--primary-blue);
}

.role-card.coach .role-card-icon {
  background: linear-gradient(135deg, var(--amber-light) 0%, rgba(245, 158, 11, 0.1) 100%);
  color: var(--amber-base);
}

.role-card.client .role-card-icon {
  background: linear-gradient(135deg, var(--emerald-light) 0%, rgba(16, 185, 129, 0.1) 100%);
  color: var(--emerald-base);
}

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

/* Card Title */
.role-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--neutral-900);
  margin: 0 0 0.75rem 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Card Description */
.role-card-description {
  color: var(--neutral-600);
  font-size: 0.95rem;
  margin: 0 0 1.5rem 0;
  flex: 1;
  line-height: 1.6;
}

/* Card CTA */
.role-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  margin-top: auto;
  padding-bottom: 0.25rem;
  border-bottom: 2px solid transparent;
}

.role-card.admin .role-card-cta {
  color: var(--primary-blue);
}

.role-card.admin:hover .role-card-cta {
  border-bottom-color: var(--primary-blue);
}

.role-card.coach .role-card-cta {
  color: var(--amber-base);
}

.role-card.coach:hover .role-card-cta {
  border-bottom-color: var(--amber-base);
}

.role-card.client .role-card-cta {
  color: var(--emerald-base);
}

.role-card.client:hover .role-card-cta {
  border-bottom-color: var(--emerald-base);
}

.role-card-cta i {
  font-size: 0.75rem;
  transition: transform 0.3s ease;
}

.role-card:hover .role-card-cta i {
  transform: translateX(4px);
}

/* Features List (Optional) */
.role-card-features {
  display: none;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--neutral-200);
}

.role-card-features li {
  font-size: 0.85rem;
  color: var(--neutral-600);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.role-card-features li::before {
  content: '✓';
  font-weight: bold;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.role-card.admin .role-card-features li::before {
  background: var(--primary-blue-light);
  color: var(--primary-blue);
}

.role-card.coach .role-card-features li::before {
  background: var(--amber-light);
  color: var(--amber-base);
}

.role-card.client .role-card-features li::before {
  background: var(--emerald-light);
  color: var(--emerald-base);
}

/* Footer Text */
.login-choice-footer {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--neutral-200);
  color: var(--neutral-600);
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.footer-text {
  font-size: 1rem;
  font-weight: 600;
  color: var(--neutral-900);
  margin: 0;
}

.footer-cta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.footer-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.footer-button.primary {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
  color: white;
  box-shadow: 0 4px 15px -3px rgba(37, 99, 235, 0.4);
}

.footer-button.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -3px rgba(37, 99, 235, 0.5);
}

.footer-help {
  font-size: 0.85rem;
  color: var(--neutral-600);
  margin: 0;
}

.footer-link {
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  border-bottom: 1px solid transparent;
}

/* Hide default footer on login-choice page */
footer {
  display: none !important;
}
.footer-link:hover {
  color: var(--primary-blue-dark);
  border-bottom-color: var(--primary-blue);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--neutral-200);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-link-small {
  color: var(--neutral-600);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.3s ease;
}

.footer-link-small:hover {
  color: var(--primary-blue);
}

.footer-divider {
  color: var(--neutral-300);
}

.footer-copyright {
  font-size: 0.8rem;
  color: var(--neutral-400);
  margin: 0;
}

@media (max-width: 640px) {
  .login-choice-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    gap: 1.5rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 0.5rem;
  }

  .footer-divider {
    display: none;
  }

  .footer-button {
    width: 100%;
    justify-content: center;
  }
}

/* Accessibility & Animation */
@media (prefers-reduced-motion: reduce) {
  .role-card,
  .role-card-icon,
  .role-card-cta i {
    transition: none;
    animation: none;
  }
}

/* Print Styles */
@media print {
  .login-choice-hero::before,
  .login-choice-hero::after {
    display: none;
  }
  
  .role-card {
    box-shadow: none;
    border: 1px solid var(--neutral-200);
  }
}

/* Dark Mode Support (Optional) */
@media (prefers-color-scheme: dark) {
  .login-choice-hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #3d2a1f 100%);
  }
  
  .role-card {
    background: #2d2d2d;
    border-color: var(--neutral-200);
  }
  
  .login-choice-header h1 {
    color: #f9fafb;
  }
  
  .login-choice-header .subtitle,
  .role-card-description,
  .login-choice-footer {
    color: #d1d5db;
    border-top-color: #4d4d4d;
  }

  .footer-text {
    color: #f9fafb;
  }

  .footer-help {
    color: #d1d5db;
  }

  .footer-bottom {
    border-top-color: #4d4d4d;
  }

  .footer-link-small {
    color: #d1d5db;
  }

  .footer-divider {
    color: #6b7280;
  }

  .footer-copyright {
    color: #9ca3af;
  }
  
  .role-card-title {
    color: #f9fafb;
  }
}
