/**
 * Taqeem Auth Pages - New Design System
 * Version: 1.0.0
 * Date: December 9, 2025
 *
 * Modern authentication page styling aligned with Taqeem Design System.
 * Based on landing page design (public/landing_page/css/new-style.css)
 * Includes: HSL color variables, modern forms, animations, glass effects
 */

/* ============================================================================
   CSS VARIABLES - TAQEEM DESIGN SYSTEM
   ============================================================================ */

:root {
  /* Brand Colors */
  --primary: 212 95% 31%;        /* #133687 - Deep Blue */
  --primary-hover: 212 95% 25%;  /* Darker blue for hover states */
  --accent: 172 75% 39%;         /* #199c8a - Teal */
  --highlight: 45 100% 62%;      /* #ffd41f - Yellow */

  /* Neutral Colors */
  --background: 210 20% 98%;     /* #f8f9fb - Light Gray Background */
  --foreground: 220 18% 23%;     /* #2e3748 - Dark Text */
  --muted-foreground: 220 10% 46%; /* #6b7280 - Secondary Text */
  --muted: 210 15% 92%;          /* #e8eaed - Muted Gray */
  --border: 210 15% 88%;         /* #dde1e6 - Border Color */
  --card: 0 0% 100%;             /* #ffffff - White */
  --card-hover: 0 0% 98%;        /* Slight hover tint */

  /* Input Colors */
  --input-bg: 0 0% 100%;
  --input-border: 210 15% 88%;
  --input-border-focus: 212 95% 31%;
  --input-text: 220 18% 23%;
  --input-placeholder: 220 10% 46%;

  /* Semantic Colors */
  --success: 142 76% 36%;        /* #10b981 - Green */
  --error: 0 72% 51%;            /* #ef4444 - Red */
  --warning: 38 92% 50%;         /* #f59e0b - Amber */
  --info: 217 91% 60%;           /* #3b82f6 - Blue */

  /* Spacing & Layout */
  --radius: 0.75rem;             /* 12px - Border Radius */
  --radius-sm: 0.5rem;           /* 8px */
  --radius-lg: 1rem;             /* 16px */
  --radius-xl: 1.5rem;           /* 24px */

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-primary: 0 10px 30px -10px rgba(19, 54, 135, 0.4);
  --shadow-primary-hover: 0 15px 40px -10px rgba(19, 54, 135, 0.5);

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  --font-arabic: 'Tajawal', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;

  /* Transitions */
  --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================================
   TYPOGRAPHY
   ============================================================================ */

body {
  font-family: var(--font-sans);
  color: hsl(var(--foreground));
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

[lang="ar"], [dir="rtl"] {
  font-family: var(--font-arabic);
}

/* Headings */
.auth-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.auth-subtitle {
  font-size: 1rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 2rem;
  line-height: 1.5;
}

.auth-logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: hsl(var(--primary));
  margin-left: 1rem;
}

[dir="rtl"] .auth-logo-text {
  margin-left: 0;
  margin-right: 1rem;
}

/* ============================================================================
   LAYOUT
   ============================================================================ */

.auth-page-wrapper {
  min-height: 100vh;
  background: hsl(var(--background));
}

.auth-page-content {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem 1rem;
}

.auth-content {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  animation: fadeInUp 0.6s ease-out;
}

/* Auth Card Container */
.auth-card {
  background: hsl(var(--card));
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid hsl(var(--border) / 0.5);
  transition: var(--transition-base);
}

.auth-card:hover {
  box-shadow: var(--shadow-xl);
}

/* Glass Effect (Optional) */
.auth-card.glass-effect {
  background: hsl(var(--card) / 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid hsl(var(--border) / 0.3);
}

/* Logo Section */
.auth-logo-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}

.auth-logo {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  transition: var(--transition-base);
}

.auth-logo:hover {
  transform: scale(1.02);
}

/* Header Section */
.auth-header {
  text-align: center;
  margin-bottom: 2rem;
}

.auth-brand-welcome {
  font-size: 1.125rem;
  font-weight: 500;
  color: hsl(var(--muted-foreground));
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.auth-brand-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: hsl(var(--primary));
  display: inline-block;
  transition: var(--transition-base);
}

.auth-brand-name:hover {
  color: hsl(var(--primary-hover));
  transform: scale(1.02);
}

/* ============================================================================
   FORM ELEMENTS
   ============================================================================ */

/* Form Group */
.form-group {
  margin-bottom: 2rem;
  position: relative;
}

.form-group:last-child {
  margin-bottom: 0;
}

/* Modern Input Container */
.input-group-modern {
  position: relative;
  width: 100%;
}

/* Input Fields */
.form-control-modern,
.form-control {
  width: 100%;
  padding: 0.875rem 1rem 0.875rem 3rem;
  font-size: 1rem;
  line-height: 1.5;
  color: hsl(var(--input-text));
  background: hsl(var(--input-bg));
  border: 2px solid hsl(var(--input-border));
  border-radius: var(--radius);
  transition: var(--transition-fast);
  outline: none;
}

.form-control::placeholder {
  color: hsl(var(--input-placeholder));
  opacity: 0.7;
}

.form-control:focus {
  border-color: hsl(var(--input-border-focus));
  box-shadow: 0 0 0 4px hsl(var(--primary) / 0.1);
  background: hsl(var(--card));
}

.form-control:disabled {
  background: hsl(var(--muted));
  cursor: not-allowed;
  opacity: 0.6;
}

/* Input with Icon */
.input-with-icon {
  position: relative;
}

.input-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: hsl(var(--muted-foreground));
  width: 20px;
  height: 20px;
  pointer-events: none;
  transition: var(--transition-fast);
  z-index: 2;
}

[dir="rtl"] .input-icon {
  left: auto;
  right: 1rem;
}

.form-control:focus ~ .input-icon {
  color: hsl(var(--primary));
}

/* Floating Label Enhancement */
.form-floating {
  position: relative;
}

.form-floating > .form-control {
  padding: 1rem 1rem 0.25rem 3rem;
  height: calc(3.5rem + 2px);
}

.form-floating > label {
  position: absolute;
  top: 0;
  left: 3rem;
  height: 100%;
  padding: 1rem 0;
  pointer-events: none;
  border: 0;
  transform-origin: 0 0;
  transition: opacity 0.1s ease-in-out, transform 0.1s ease-in-out;
  color: hsl(var(--muted-foreground));
  font-size: 1rem;
}

[dir="rtl"] .form-floating > label {
  left: auto;
  right: 3rem;
  transform-origin: 100% 0;
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
  opacity: 0.65;
  transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
  color: hsl(var(--primary));
}

/* Select Dropdown */
select.form-control {
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px 12px;
  appearance: none;
}

[dir="rtl"] select.form-control {
  padding-right: 3rem;
  padding-left: 2.5rem;
  background-position: left 0.75rem center;
}

/* Checkbox & Radio */
.form-check-input {
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid hsl(var(--border));
  border-radius: 0.25rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.form-check-input:checked {
  background-color: hsl(var(--primary));
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 4px hsl(var(--primary) / 0.1);
}

.form-check-input:focus {
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 4px hsl(var(--primary) / 0.1);
}

.form-check-label {
  margin-left: 0.5rem;
  color: hsl(var(--foreground));
  cursor: pointer;
  user-select: none;
}

[dir="rtl"] .form-check-label {
  margin-left: 0;
  margin-right: 0.5rem;
}

/* Validation States */
.has-danger .form-control,
.form-control.is-invalid {
  border-color: hsl(var(--error));
  padding-right: calc(1.5em + 0.75rem);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23ef4444'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23ef4444' stroke='none'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

[dir="rtl"] .has-danger .form-control,
[dir="rtl"] .form-control.is-invalid {
  padding-right: 3rem;
  padding-left: calc(1.5em + 0.75rem);
  background-position: left calc(0.375em + 0.1875rem) center;
}

.has-danger .form-control:focus {
  border-color: hsl(var(--error));
  box-shadow: 0 0 0 4px hsl(var(--error) / 0.1);
}

.pristine-error,
.invalid-feedback {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: hsl(var(--error));
  font-weight: 500;
}

.has-success .form-control,
.form-control.is-valid {
  border-color: hsl(var(--success));
  box-shadow: 0 0 0 4px hsl(var(--success) / 0.05);
}

/* ============================================================================
   BUTTONS
   ============================================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  vertical-align: middle;
  cursor: pointer;
  user-select: none;
  border: 2px solid transparent;
  border-radius: var(--radius);
  transition: var(--transition-base);
  outline: none;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

/* Primary Button */
.btn-primary {
  color: #ffffff;
  background: hsl(var(--primary));
  border-color: hsl(var(--primary));
  box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
  background: hsl(var(--primary-hover));
  border-color: hsl(var(--primary-hover));
  box-shadow: var(--shadow-primary-hover);
  transform: translateY(-2px);
}

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

.btn-primary:focus {
  box-shadow: 0 0 0 4px hsl(var(--primary) / 0.2), var(--shadow-primary);
}

/* Outline Button */
.btn-outline-primary {
  color: hsl(var(--primary));
  background: transparent;
  border-color: hsl(var(--primary));
}

.btn-outline-primary:hover {
  color: #ffffff;
  background: hsl(var(--primary));
  transform: translateY(-2px);
  box-shadow: var(--shadow-primary);
}

/* Ghost Button */
.btn-ghost {
  color: hsl(var(--foreground));
  background: transparent;
  border-color: transparent;
}

.btn-ghost:hover {
  background: hsl(var(--muted));
  color: hsl(var(--primary));
}

/* Button Sizes */
.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
  border-radius: var(--radius-lg);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

/* Full Width */
.btn-block,
.w-100 {
  width: 100%;
  display: flex;
}

/* Button Loading State */
.btn-loading {
  position: relative;
  color: transparent;
  pointer-events: none;
}

.btn-loading::after {
  content: '';
  position: absolute;
  width: 1rem;
  height: 1rem;
  top: 50%;
  left: 50%;
  margin-left: -0.5rem;
  margin-top: -0.5rem;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  animation: button-spin 0.6s linear infinite;
}

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

/* ============================================================================
   LINKS
   ============================================================================ */

.auth-link {
  color: hsl(var(--primary));
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-fast);
  position: relative;
}

.auth-link:hover {
  color: hsl(var(--primary-hover));
  text-decoration: none;
}

.auth-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 0;
  background: hsl(var(--primary));
  transition: width 0.3s ease;
}

.auth-link:hover::after {
  width: 100%;
}

.text-primary {
  color: hsl(var(--primary)) !important;
}

.text-muted {
  color: hsl(var(--muted-foreground)) !important;
}

/* ============================================================================
   ALERTS & MESSAGES
   ============================================================================ */

.alert {
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 0.9375rem;
}

.alert-success {
  color: hsl(var(--success));
  background: hsl(var(--success) / 0.1);
  border-color: hsl(var(--success) / 0.2);
}

.alert-danger {
  color: hsl(var(--error));
  background: hsl(var(--error) / 0.1);
  border-color: hsl(var(--error) / 0.2);
}

.alert-warning {
  color: hsl(var(--warning));
  background: hsl(var(--warning) / 0.1);
  border-color: hsl(var(--warning) / 0.2);
}

.alert-info {
  color: hsl(var(--info));
  background: hsl(var(--info) / 0.1);
  border-color: hsl(var(--info) / 0.2);
}

/* ============================================================================
   ANIMATIONS
   ============================================================================ */

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

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

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

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

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

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

/* Animation Classes */
.animate-fade-in {
  animation: fadeIn 0.5s ease-out;
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

.animate-fade-in-down {
  animation: fadeInDown 0.6s ease-out;
}

.animate-slide-in-right {
  animation: slideInRight 0.5s ease-out;
}

.animate-slide-in-left {
  animation: slideInLeft 0.5s ease-out;
}

.animate-scale-in {
  animation: scaleIn 0.4s ease-out;
}

/* Staggered Animation Delays */
.delay-100 { animation-delay: 0.1s; animation-fill-mode: backwards; }
.delay-200 { animation-delay: 0.2s; animation-fill-mode: backwards; }
.delay-300 { animation-delay: 0.3s; animation-fill-mode: backwards; }
.delay-400 { animation-delay: 0.4s; animation-fill-mode: backwards; }
.delay-500 { animation-delay: 0.5s; animation-fill-mode: backwards; }
.delay-600 { animation-delay: 0.6s; animation-fill-mode: backwards; }

/* ============================================================================
   INTL TEL INPUT CUSTOMIZATION
   ============================================================================ */

.iti {
  width: 100%;
  position: relative;
}

.iti__flag-container {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  padding: 0 0 0 1rem;
  z-index: 2;
}

[dir="rtl"] .iti__flag-container {
  left: auto;
  right: 0;
  padding: 0 1rem 0 0;
}

.iti__selected-flag {
  display: flex;
  align-items: center;
  padding: 0 0.5rem 0 0;
  outline: none;
}

.iti--allow-dropdown .iti__flag-container:hover .iti__selected-flag {
  background-color: transparent;
}

.iti__flag {
  margin-right: 0.5rem;
}

[dir="rtl"] .iti__flag {
  margin-right: 0;
  margin-left: 0.5rem;
}

.iti input.form-control {
  padding-left: 3.5rem;
}

[dir="rtl"] .iti input.form-control {
  padding-left: 1rem;
  padding-right: 3.5rem;
}

.iti__country-list {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  max-height: 200px;
  overflow-y: auto;
}

.iti__country {
  padding: 0.5rem 1rem;
  transition: var(--transition-fast);
}

.iti__country:hover {
  background: hsl(var(--muted));
}

.iti__country.iti__highlight {
  background: hsl(var(--primary) / 0.1);
}

/* ============================================================================
   PASSWORD TOGGLE
   ============================================================================ */

.auth-pass-inputgroup {
  position: relative;
}

.auth-pass-inputgroup .btn-link {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  padding: 0.5rem 1rem;
  color: hsl(var(--muted-foreground));
  text-decoration: none;
  z-index: 10;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
}

[dir="rtl"] .auth-pass-inputgroup .btn-link {
  right: auto;
  left: 0;
}

.auth-pass-inputgroup .btn-link:hover {
  color: hsl(var(--primary));
}

.auth-pass-inputgroup .form-control {
  padding-right: 3rem;
}

[dir="rtl"] .auth-pass-inputgroup .form-control {
  padding-right: 3rem;
  padding-left: 3rem;
}

/* ============================================================================
   RESPONSIVE DESIGN
   ============================================================================ */

@media (max-width: 768px) {
  .auth-content {
    padding: 1.5rem;
  }

  .auth-card {
    padding: 2rem 1.5rem;
  }

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

  .form-control {
    padding: 0.75rem 1rem 0.75rem 2.75rem;
    font-size: 0.9375rem;
  }

  .input-icon {
    left: 0.875rem;
    width: 18px;
    height: 18px;
  }

  [dir="rtl"] .input-icon {
    left: auto;
    right: 0.875rem;
  }

  .btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.9375rem;
  }

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

@media (max-width: 480px) {
  .auth-content {
    padding: 1rem;
  }

  .auth-card {
    padding: 1.5rem 1rem;
  }

  .auth-title {
    font-size: 1.375rem;
  }

  .auth-subtitle {
    font-size: 0.9375rem;
  }

  .form-group {
    margin-bottom: 1.25rem;
  }
}

/* ============================================================================
   UTILITY CLASSES
   ============================================================================ */

/* Spacing */
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }

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

.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 1rem; padding-bottom: 1rem; }
.py-4 { padding-top: 1.5rem; padding-bottom: 1.5rem; }

/* Text Alignment */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* Font Weights */
.fw-normal { font-weight: 400; }
.fw-medium { font-weight: 500; }
.fw-semibold { font-weight: 600; }
.fw-bold { font-weight: 700; }

/* Font Sizes */
.font-size-15 { font-size: 0.9375rem; }
.font-size-16 { font-size: 1rem; }
.font-size-18 { font-size: 1.125rem; }

/* Display */
.d-block { display: block; }
.d-flex { display: flex; }
.d-inline-flex { display: inline-flex; }
.d-none { display: none; }

/* Flex */
.align-items-center { align-items: center; }
.justify-content-center { justify-content: center; }
.justify-content-between { justify-content: space-between; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 1rem; }

/* Colors */
.text-danger { color: hsl(var(--error)) !important; }
.text-success { color: hsl(var(--success)) !important; }
.text-warning { color: hsl(var(--warning)) !important; }
.text-info { color: hsl(var(--info)) !important; }

/* Background */
.bg-light { background-color: hsl(var(--background)) !important; }
.bg-white { background-color: hsl(var(--card)) !important; }

/* Border Radius */
.rounded { border-radius: var(--radius); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }

/* Shadow */
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow { box-shadow: var(--shadow); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }

/* Transitions */
.transition { transition: var(--transition-base); }
.transition-fast { transition: var(--transition-fast); }

/* ============================================================================
   PRINT STYLES
   ============================================================================ */

@media print {
  .auth-page-wrapper {
    background: white;
  }

  .auth-card {
    box-shadow: none;
    border: 1px solid #ddd;
  }

  .btn {
    display: none;
  }
}

/* Fix select dropdowns in form-floating - remove double arrow issue */
.form-floating > select.form-control {
  padding-top: 1.625rem;
  padding-bottom: 0.625rem;
  padding-right: 2.5rem;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
}

.form-floating > select.form-control ~ label {
  opacity: 0.65;
  transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
}

[dir="rtl"] .form-floating > select.form-control {
  padding-right: 3rem;
  padding-left: 2.5rem;
}

/* Ensure select icon is visible */
.form-floating select.form-control {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23133687' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px 12px;
}

[dir="rtl"] .form-floating select.form-control {
  background-position: left 0.75rem center;
}
