:root {
  --primary-color: #eb3505;
  --primary-dark: #d43004;
  --secondary-color: #1e293b;
  --text-color: #475569;
  --border-color: #e2e8f0;
  --success-color: #10b981;
  --error-color: #ef4444;
}

body {
  min-height: 100vh;
  background: #f8fafc;
  font-family: system-ui, -apple-system, sans-serif;
}

.register-wrapper {
  display: grid;
  grid-template-columns: 400px 1fr;
  min-height: 100vh;
}

/* Sidebar Styles */
.register-sidebar {
  background: var(--secondary-color);
  padding: 2rem;
  color: white;
  position: relative;
  overflow: hidden;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.brand-logo {
  width: 60px;
  height: auto;
}

.brand-text h1 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
}

.brand-text p {
  font-size: 0.875rem;
  opacity: 0.8;
  margin: 0;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.feature-item:hover {
  transform: translateX(5px);
  background: rgba(255, 255, 255, 0.1);
}

.feature-item i {
  font-size: 1.5rem;
  color: var(--primary-color);
  flex-shrink: 0;
}

.feature-item h3 {
  font-size: 1rem;
  margin: 0 0 0.25rem;
}

.feature-item p {
  font-size: 0.875rem;
  opacity: 0.8;
  margin: 0;
}

/* Content Styles */
.register-content {
  padding: 2rem 4rem;
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
}

.register-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
}

.back-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.back-link:hover {
  color: var(--primary-color);
  transform: translateX(-3px);
}

.auth-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.auth-links span {
  color: var(--text-color);
  font-size: 0.875rem;
}

.login-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
}

.login-link:hover {
  text-decoration: underline;
}

/* Form Styles */
.register-form-wrapper {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.form-header {
  text-align: center;
  margin-bottom: 2rem;
}

.form-header h2 {
  font-size: 1.5rem;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}

.form-header p {
  color: var(--text-color);
  font-size: 0.875rem;
  margin: 0;
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
}

.step-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.step-header h3 {
  font-size: 1.125rem;
  color: var(--secondary-color);
  margin: 0;
}

.step-indicator {
  font-size: 0.875rem;
  color: var(--text-color);
}

.form-floating {
  margin-bottom: 1rem;
}

.form-floating > .form-control,
.form-floating > .form-select {
  height: 3.5rem;
  padding: 1rem 0.75rem;
}

.form-floating > label {
  padding: 1rem 0.75rem;
}

input[type="date"] {
  min-height: 3.5rem;
}

input[type="date"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  padding: 0.5rem;
  margin-right: 0.5rem;
}

.form-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
}

.btn {
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-outline-secondary {
  color: var(--text-color);
  border-color: var(--border-color);
}

.btn-outline-secondary:hover {
  background: #f8fafc;
  border-color: var(--text-color);
}

/* Password Requirements */
.password-requirements {
  margin-top: 0.75rem;
  padding: 1rem;
  background: #f8fafc;
  border-radius: 8px;
}

.requirement {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-color);
  font-size: 0.875rem;
}

.requirement:last-child {
  margin-bottom: 0;
}

.requirement i {
  color: #94a3b8;
}

.requirement.valid i {
  color: var(--success-color);
}

/* Progress Indicator - Updated Styles */
.progress-indicator {
  margin-bottom: 2rem;
  padding: 1rem 0;
}

.progress-bar {
  height: 4px;
  background: #f1f5f9;
  border-radius: 2px;
  margin-bottom: 1.5rem;
  position: relative;
}

.progress-bar .progress {
  position: absolute;
  height: 100%;
  background: var(--primary-color);
  border-radius: 2px;
  transition: width 0.3s ease;
  width: 33.33%; /* Will be controlled by JS */
}

.progress-steps {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-color);
  width: 80px;
  text-align: center;
}

.step-number {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f1f5f9;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

.progress-step.active .step-number {
  background: var(--primary-color);
  color: white;
}

.progress-step.completed .step-number {
  background: var(--success-color);
  color: white;
}

.step-label {
  font-size: 0.875rem;
  font-weight: 500;
}

/* Loading Overlay */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.loading-overlay.active {
  opacity: 1;
  visibility: visible;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #f1f5f9;
  border-radius: 50%;
  border-top-color: var(--primary-color);
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* QR Code Modal Styles */
.modal-content {
  border-radius: 16px;
  border: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.modal-header {
  padding: 1.5rem 1.5rem 0.5rem;
}

.modal-body {
  padding: 1.5rem;
}

#qrcode {
  margin: 1rem 0;
}

#employeeIdDisplay {
  color: var(--primary-color);
  font-size: 1.25rem;
}

/* Enhanced Success Modal Styles */
.success-icon {
  font-size: 4rem;
  color: var(--success-color);
}

.employee-id-section {
  background: rgba(16, 185, 129, 0.1);
  padding: 1rem;
  border-radius: 8px;
}

.employee-id-section label {
  display: block;
  margin-bottom: 0.25rem;
}

.employee-id-section h4 {
  color: var(--success-color);
  font-size: 1.5rem;
  font-weight: 600;
}

.qr-section {
  background: #f8fafc;
  border: 1px solid var(--border-color);
}

.qr-section .btn-group {
  gap: 0.5rem;
}

.qr-section .btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

#qrcode img {
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Enhanced QR Section Styles */
.qr-section {
  background: linear-gradient(145deg, #ffffff, #f8fafc);
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  padding: 1.5rem !important;
}

.employee-details {
  margin: 1rem 0;
  padding: 0.75rem;
  background: rgba(16, 185, 129, 0.1);
  border-radius: 8px;
  text-align: center;
}

.employee-name {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--secondary-color);
  margin: 0.5rem 0;
}

.qr-header {
  text-align: center;
}

.qr-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--secondary-color);
}

.qr-subtitle {
  font-size: 0.875rem;
  color: var(--text-color);
  opacity: 0.8;
}

.qr-actions {
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

.qr-actions .btn {
  transition: all 0.3s ease;
  font-weight: 500;
}

.qr-actions .btn:hover {
  transform: translateY(-2px);
}

#qrcode img {
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 8px;
  background: white;
}

.next-steps {
  max-width: 300px;
  margin: 0 auto;
}

/* Toast Customization */
.toast-success {
  background-color: var(--success-color);
}

.toast-error {
  background-color: var(--error-color);
}

/* Mobile Header & Footer Styles */
.mobile-header {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem;
  background: var(--secondary-color);
  color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 100;
  justify-content: space-between;
  align-items: center;
}

.mobile-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mobile-brand img {
  height: 32px;
  width: auto;
}

.mobile-brand h1 {
  font-size: 1rem;
  margin: 0;
  font-weight: 600;
}

.mobile-brand p {
  font-size: 0.75rem;
  margin: 0;
  opacity: 0.9;
}

.mobile-menu-btn {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100vh;
  background: linear-gradient(to bottom, #ffffff, #f8fafc);
  z-index: 1000;
  transition: right 0.3s ease;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem;
  background: white;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-menu-header h2 {
  font-size: 1.25rem;
  color: var(--secondary-color);
  margin: 0;
}

.close-menu-btn {
  background: none;
  border: none;
  color: var(--secondary-color);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu nav {
  padding: 1rem;
}

.mobile-menu nav a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  color: var(--secondary-color);
  text-decoration: none;
  transition: all 0.3s ease;
  margin: 0.25rem 0;
  border-radius: 8px;
  font-size: 0.938rem;
  font-weight: 500;
}

.mobile-menu nav a i {
  font-size: 1.1rem;
  opacity: 0.75;
}

.mobile-menu nav a:hover {
  background: rgba(235, 53, 5, 0.05);
  color: var(--primary-color);
}

.mobile-menu nav a:hover i {
  opacity: 1;
}

.menu-divider {
  height: 1px;
  background: rgba(0, 0, 0, 0.05);
  margin: 0.75rem 0;
}

/* Hide menu on desktop */
@media (min-width: 1024px) {
  .mobile-header,
  .mobile-menu {
    display: none;
  }
}

/* Updated Mobile Header Styles */
.mobile-menu-btn {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  border: none;
  border-radius: 8px;
  color: var(--text-color);
  font-size: 1.75rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100%;
  background: white;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: right 0.3s ease;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-header {
  padding: 1rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-menu-header h2 {
  font-size: 1.25rem;
  margin: 0;
}

.close-menu-btn {
  background: none;
  border: none;
  font-size: 1.25rem;
  color: var(--text-color);
  padding: 0.5rem;
  cursor: pointer;
}

.mobile-menu nav {
  padding: 1rem;
}

.mobile-menu nav a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.mobile-menu nav a:hover {
  background: #f8fafc;
  color: var(--primary-color);
}

.mobile-menu nav a i {
  font-size: 1.25rem;
}

.mobile-footer {
  display: none;
  padding: 1rem;
  background: #f8fafc;
  text-align: center;
  margin-top: 2rem;
}

.mobile-footer p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-color);
}

/* Enhanced Footer Styles */
.mobile-footer {
  display: none;
  background: var(--secondary-color);
  color: white;
  padding: 3rem 0 2rem;
  margin-top: 3rem;
  position: relative;
}

.mobile-footer::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand img {
  width: 48px;
  height: 48px;
}

.brand-info h3 {
  font-size: 1.25rem;
  margin: 0;
  font-weight: 600;
}

.brand-info p {
  font-size: 0.875rem;
  margin: 0.25rem 0 0;
  opacity: 0.8;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.links-group h4 {
  font-size: 1rem;
  color: var(--primary-color);
  margin: 0 0 1rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.links-group h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 24px;
  height: 2px;
  background: var(--primary-color);
  border-radius: 2px;
}

.links-group nav {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.links-group nav a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.938rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.links-group nav a:hover {
  color: white;
  transform: translateX(5px);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: white;
  text-decoration: none;
  font-size: 1.25rem;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
}

.copyright p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

/* Enhanced Mobile Header Styles */
.mobile-header {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem;
  background: var(--secondary-color);
  color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 100;
}

.mobile-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-brand img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.mobile-brand h1 {
  font-size: 1.1rem;
  margin: 0;
  color: white;
  font-weight: 600;
}

.mobile-brand p {
  font-size: 0.813rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
}

.mobile-menu-btn {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 8px;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* Add header gradient line */
.mobile-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
}

/* Enhanced Partnership Section */
.partnership-section {
  text-align: center;
  padding: 2.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.partnership-section h4 {
  color: white;
  font-size: 1.25rem;
  margin-bottom: 2rem;
  margin-top: -1.2em;
  font-weight: 600;
  letter-spacing: -0.5px;
}

/* .partnership-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 2px;
} */

.partner-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4rem;
  margin: 0 auto;
  max-width: 600px;
  padding: 0.5rem;
}

.partner-logo {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  transition: transform 0.3s ease;
}

.partner-logo img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  border-radius: 16px;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.partner-logo:hover {
  transform: translateY(-5px);
}

.partner-logo:hover img {
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.partner-logo span {
  font-size: 0.938rem;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  font-weight: 500;
  max-width: 140px;
  line-height: 1.4;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .register-wrapper {
    grid-template-columns: 320px 1fr;
  }

  .register-content {
    padding: 2rem;
  }
}

@media (max-width: 768px) {
  .register-wrapper {
    grid-template-columns: 1fr;
  }

  .register-sidebar {
    display: none;
  }

  .register-content {
    padding: 1.5rem;
  }

  .progress-indicator {
    margin-bottom: 1.5rem;
  }

  .progress-step {
    width: auto;
  }

  body {
    padding-top: 70px; /* Account for fixed header */
  }

  .mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .mobile-menu {
    display: block;
  }

  .mobile-footer {
    display: block;
  }

  .register-content {
    padding: 1rem;
  }

  .register-form-wrapper {
    border-radius: 0;
    box-shadow: none;
    padding: 1rem;
    margin: -1rem;
  }

  .register-header {
    margin-bottom: 2rem;
  }

  .back-link {
    display: none; /* Hide since we have mobile nav */
  }

  .auth-links {
    display: none; /* Hide since we have mobile nav */
  }

  .form-header {
    text-align: left;
  }

  .form-header h2 {
    font-size: 1.25rem;
  }

  .btn {
    padding: 0.875rem;
    font-size: 0.938rem;
  }

  .progress-steps {
    padding: 0 0.5rem;
  }

  /* Enhanced Mobile QR Modal */
  .modal-dialog {
    margin: 0;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
  }

  .modal-content {
    border-radius: 20px 20px 0 0;
    margin-bottom: 0;
  }

  .qr-section {
    margin: 0 -1rem;
    border-radius: 0;
    border-left: none;
    border-right: none;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .links-group h4 {
    text-align: center;
  }

  .links-group h4::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .links-group nav {
    align-items: center;
  }

  .links-group nav a {
    justify-content: center;
  }

  .footer-brand {
    flex-direction: column;
    text-align: center;
  }

  .partner-logos {
    gap: 2rem;
    padding: 0.5rem;
  }

  .partner-logo img {
    width: 70px;
    height: 70px;
    padding: 0.75rem;
  }

  .partner-logo span {
    font-size: 0.75rem;
  }

  .partner-logos {
    gap: 3rem;
    padding: 0.5rem 1rem;
  }

  .partner-logo img {
    width: 90px;
    height: 90px;
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  .register-content {
    padding: 1rem;
  }

  .register-form-wrapper {
    padding: 1.5rem;
  }

  .form-nav {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .register-header {
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
  }

  .step-label {
    font-size: 0.75rem;
  }

  .step-number {
    width: 28px;
    height: 28px;
    font-size: 0.813rem;
  }

  .qr-section {
    padding: 1rem !important;
    margin: -0.5rem;
  }

  .qr-header {
    margin-bottom: 0.75rem;
  }

  .qr-title {
    font-size: 1rem;
  }

  #qrcode img {
    width: 180px;
    height: 180px;
  }

  .qr-actions {
    flex-direction: column;
    gap: 0.5rem;
  }

  .qr-actions .btn {
    width: 100%;
  }

  .employee-details {
    margin: 0.75rem 0;
    padding: 0.5rem;
  }

  .employee-name {
    font-size: 1rem;
  }

  .modal-dialog {
    margin: 0.5rem;
  }

  .modal-body {
    padding: 1rem;
  }

  .partner-logos {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 1.5rem;
    overflow-x: auto;
    padding: 1rem 0;
    justify-content: flex-start;
  }

  .partner-logo {
    min-width: 100px;
  }

  .partner-logo img {
    width: 70px;
    height: 70px;
  }

  .partnership-section {
    padding: 2rem 0;
  }

  .partnership-section h4 {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
  }

  .partner-logos {
    flex-direction: row;
    gap: 2rem;
    justify-content: center;
  }

  .partner-logo img {
    width: 80px;
    height: 80px;
  }

  .partner-logo span {
    font-size: 0.875rem;
  }
}

/* Add these styles for select elements in form-floating */
.form-floating > .form-select {
  padding-top: 1.625rem;
  padding-bottom: 0.625rem;
}

.form-floating > .form-select ~ label {
  opacity: 0.65;
  transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
  background: white;
  height: auto;
  padding: 0.25rem;
  margin-left: 0.5rem;
  margin-top: 0.5rem;
}

/* Password Field Styles */
.password-field {
  position: relative;
}

.password-toggle {
  position: absolute;
  right: 12px;
  top: 16px; /* Fixed position from top instead of using transform */
  background: none;
  border: none;
  padding: 0.25rem 0.5rem;
  color: var(--text-color);
  cursor: pointer;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  transition: opacity 0.2s ease;
  height: 24px; /* Fixed height */
}

.password-toggle:hover {
  opacity: 1;
}

.password-toggle i {
  font-size: 1.25rem;
  line-height: 1;
}

/* Adjust padding for password inputs to accommodate the toggle button */
.password-field .form-control {
  padding-right: 3rem !important;
}

/* Ensure error message doesn't affect the input or icon positions */
.password-field .invalid-feedback {
  position: absolute;
  bottom: -20px;
  left: 0;
  margin-top: 0;
}

/* Add margin bottom to password field to accommodate error message */
.form-floating.password-field {
  margin-bottom: 1.5rem;
}

/* Form Floating Input Styles */
.form-floating {
  position: relative;
}

.form-floating > .form-control,
.form-floating > .form-select {
  height: 3.5rem;
  line-height: 1.25;
  padding: 1rem 0.75rem;
}

.form-floating > label {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 1rem 0.75rem;
  overflow: hidden;
  text-align: start;
  text-overflow: ellipsis;
  white-space: nowrap;
  pointer-events: none;
  border: 1px solid transparent;
  transform-origin: 0 0;
  transition: opacity 0.1s ease-in-out, transform 0.1s ease-in-out;
  color: var(--text-color);
  opacity: 0.65;
}

.form-floating > .form-control::-webkit-input-placeholder {
  color: transparent;
}

.form-floating > .form-control::-moz-placeholder {
  color: transparent;
}

.form-floating > .form-control:-ms-input-placeholder {
  color: transparent;
}

.form-floating > .form-control::-ms-input-placeholder {
  color: transparent;
}

.form-floating > .form-control::placeholder {
  color: transparent;
}

.form-floating > .form-control:not(:placeholder-shown) {
  padding-top: 1.625rem;
  padding-bottom: 0.625rem;
}

.form-floating > .form-control:not(:placeholder-shown) ~ label {
  opacity: 0.65;
  transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
  background: white;
  height: auto;
  padding: 0.25rem;
  margin-left: 0.5rem;
  margin-top: 0.5rem;
}

.form-floating > .form-control:focus {
  outline: 0;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(235, 53, 5, 0.25);
}

.form-floating > .form-control:-webkit-autofill {
  padding-top: 1.625rem;
  padding-bottom: 0.625rem;
}

.form-floating > .form-control:-webkit-autofill ~ label {
  opacity: 0.65;
  transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
}

/* Invalid state styling */
.form-floating > .form-control.is-invalid {
  border-color: var(--error-color);
  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='%23dc3545'%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='%23dc3545' 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);
}

.form-floating > .form-control.is-invalid:focus {
  box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
}

/* Enhanced Form Floating Styles */
.form-floating {
  position: relative;
}

.form-floating > .form-control,
.form-floating > .form-select {
  height: 3.5rem;
  line-height: 1.25;
  padding: 1rem 0.75rem;
  font-size: 0.875rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.form-floating > label {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 1rem 0.75rem;
  overflow: hidden;
  text-align: start;
  text-overflow: ellipsis;
  white-space: nowrap;
  pointer-events: none;
  border: 1px solid transparent;
  transform-origin: 0 0;
  transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out;
  color: var(--text-color);
  opacity: 0.65;
}

/* Center label when empty */
.form-floating > .form-control:placeholder-shown ~ label {
  opacity: 0.65;
  transform: scale(1) translateY(0) translateX(0);
}

/* Move label up when focused or filled */
.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label,
.form-floating > .form-select:focus ~ label,
.form-floating > .form-select:not([value=""]):valid ~ label {
  opacity: 0.65;
  transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
  background: white;
  height: auto;
  padding: 0.25rem;
  margin-left: 0.5rem;
  margin-top: 0.5rem;
}

/* Focus styles */
.form-floating > .form-control:focus,
.form-floating > .form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(235, 53, 5, 0.25);
  outline: 0;
}

/* Hide placeholder when input is focused */
.form-control:focus::placeholder {
  color: transparent;
}

/* Invalid feedback positioning */
.invalid-feedback {
  position: absolute;
  bottom: -20px;
  left: 0;
  margin-top: 0;
  font-size: 0.75rem;
}

/* Add margin to form groups to accommodate error messages */
.form-floating {
  margin-bottom: 1.5rem;
}

/* Special styling for select elements */
.form-select {
  cursor: pointer;
  background-position: right 0.75rem center;
}

/* Date input specific styles */
input[type="date"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  position: absolute;
  right: 0.75rem;
  padding: 0.5rem;
}

/* Enhanced Select Field Styles */
.form-floating > .form-select {
  height: 3.5rem;
  line-height: 1.25;
  padding: 1rem 0.75rem;
  padding-top: 1.625rem;
  padding-bottom: 0.625rem;
  color: var(--text-color);
  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 5 6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px 12px;
}

.form-floating > .form-select ~ label {
  opacity: 0.65;
  transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
  background: white;
  height: auto;
  padding: 0.25rem;
  margin-left: 0.5rem;
  margin-top: 0.5rem;
  z-index: 5;
  color: var(--text-color);
}

.form-floating > .form-select:focus {
  border-color: var(--primary-color);
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(235, 53, 5, 0.25);
}

/* Fix for select placeholder option */
.form-select option[value=""][disabled] {
  display: none;
}

/* Ensure select maintains its height when open */
.form-select:not([size]):not([multiple]) {
  height: 3.5rem;
}

/* Fix z-index for dropdown options */
.form-select option {
  padding: 0.5rem 0.75rem;
  color: var(--text-color);
}
