:root {
  --medical-purple: #8B7ED8;
  --medical-light-purple: #B8A9E8;
  --medical-dark-purple: #6B5B95;
  --form-bg: #FFFFFF;
  --text-dark: #2D3748;
  --text-muted: #718096;
  --border-color: #E2E8F0;
  --button-blue: #667EEA;
}
/* Left Side - Medical Background */
.medical-bg {
  background: linear-gradient(135deg, var(--medical-purple) 0%, var(--medical-light-purple) 100%);
  position: relative;
  overflow: hidden;
}

.medical-content {
  color: white;
  max-width: 400px;
  padding: 2rem;
}

/* Medical Building Icon */
.medical-building {
  margin-bottom: 3rem;
}

.building-icon {
  position: relative;
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  padding: 1.5rem;
  border-radius: 20px;
  backdrop-filter: blur(10px);
}

.building-icon .fa-hospital {
  font-size: 2.5rem;
  color: white;
}

.cross-icon {
  position: absolute;
  top: -8px;
  right: -8px;
  background: white;
  color: var(--medical-purple);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

/* 3D Medical Platform */
.medical-platform-container {
  perspective: 1000px;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.platform-3d {
  position: relative;
  width: 200px;
  height: 120px;
  transform-style: preserve-3d;
  animation: float 4s ease-in-out infinite;
}

.platform-top {
  position: absolute;
  width: 200px;
  height: 120px;
  background: linear-gradient(135deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.1) 100%);
  border-radius: 60px;
  transform: rotateX(90deg) translateZ(20px);
  box-shadow: 0 0 30px rgba(0,0,0,0.2);
}

.platform-side {
  position: absolute;
  width: 200px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.05) 100%);
  border-radius: 0 0 60px 60px;
  transform: translateZ(-20px);
}

/* Stethoscope */
.stethoscope {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.stethoscope-head {
  width: 40px;
  height: 40px;
  background: #4A5568;
  border-radius: 50%;
  position: relative;
  margin: 0 auto;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.stethoscope-head::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  background: var(--button-blue);
  border-radius: 50%;
}

.stethoscope-tube {
  width: 4px;
  height: 60px;
  background: #4A5568;
  margin: 0 auto;
  border-radius: 2px;
  position: relative;
  top: -10px;
}

.stethoscope-earpiece {
  position: absolute;
  width: 15px;
  height: 15px;
  background: #4A5568;
  border-radius: 50%;
  top: -5px;
}

.stethoscope-earpiece.left {
  left: -30px;
}

.stethoscope-earpiece.right {
  right: -30px;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotateY(0deg); }
  50% { transform: translateY(-10px) rotateY(5deg); }
}

/* Medical Text */
.medical-text {
  font-size: 1.4rem;
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 2rem;
  opacity: 0.95;
  margin-top: 3rem;
}

/* Pagination Dots */
.pagination-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transition: all 0.3s ease;
}

.dot.active {
  background: white;
  transform: scale(1.2);
}

/* Right Side - Form */
.form-bg {
  background: var(--form-bg);
  padding: 2rem;
}

.form-container {
  width: 100%;
  max-width: 400px;
  padding: 1rem;
}

/* Language Selector */
.language-selector .form-select {
  width: auto;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.9rem;
  padding: 0.25rem 1.5rem 0.25rem 0;
}

.language-selector .form-select:focus {
  box-shadow: none;
  border: none;
}

/* Tab Navigation */
.auth-tabs {
  display: flex;
  background: #F7FAFC;
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 2rem;
}

.tab-btn {
  flex: 1;
  background: transparent;
  border: none;
  padding: 12px 16px;
  border-radius: 8px;
  font-weight: 500;
  color: var(--text-muted);
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.tab-btn.active {
  background: white;
  color: var(--text-dark);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Tab Content */
.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

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

/* Social Buttons */
.social-btn {
  border: 2px solid var(--border-color);
  background: white;
  color: var(--text-dark);
  font-weight: 500;
  padding: 12px 16px;
  border-radius: 12px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.social-btn:hover {
  border-color: var(--button-blue);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
  color: var(--text-dark);
  background: white;
}

.social-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.facebook-btn .social-icon {
  color: #1877F2;
  font-size: 18px;
}

/* Divider */
.divider {
  position: relative;
  text-align: center;
  margin: 1.5rem 0;
}

.divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border-color);
}

.divider span {
  background: white;
  color: var(--text-muted);
  padding: 0 1rem;
  font-size: 0.9rem;
  position: relative;
}

/* Form Styles */
.form-control {
  border: 2px solid var(--border-color);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 1rem;
  background: white;
  transition: all 0.2s ease;
}

.form-control:focus {
  border-color: var(--button-blue);
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
  outline: none;
}

.form-control::placeholder {
  color: #A0AEC0;
}

/* Password Toggle */
.password-toggle {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
  padding: 4px;
  cursor: pointer;
}

.password-toggle:hover {
  color: var(--button-blue);
}

/* Auth Button */
.auth-btn {
  background: var(--button-blue);
  border: none;
  border-radius: 12px;
  padding: 14px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s ease;
}

.auth-btn:hover {
  background: #5A67D8;
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

/* Links */
.switch-link, .forgot-password {
  color: var(--button-blue);
  text-decoration: none;
  font-weight: 500;
}

.switch-link:hover, .forgot-password:hover {
  color: #5A67D8;
  text-decoration: none;
}

.switch-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0;
}

.forgot-password {
  font-size: 0.9rem;
}
.form-left-side{
  border-bottom-right-radius: 1.5rem;
  border-top-right-radius: 1.5rem;
}
.form-right-side{
  border-bottom-left-radius: 1.5rem;
  border-top-left-radius: 1.5rem;
  background: linear-gradient(135deg, #6fa8dc 0%, #4285f4 100%);
}

/* Responsive Design */
@media (max-width: 991.98px) {
  .medical-bg {
    min-height: 40vh;
  }
  
  .medical-text {
    font-size: 1.25rem;
  }
  
  .medical-platform-container {
    height: 200px;
  }
  
  .platform-3d {
    width: 160px;
    height: 100px;
  }
  
  .platform-top {
    width: 160px;
    height: 100px;
  }
  
  .platform-side {
    width: 160px;
  }
}

@media (max-width: 767.98px) {
  .form-container {
    padding: 0.5rem;
  }
  
  .medical-content {
    padding: 1.5rem;
  }
  
  .medical-text {
    font-size: 1.1rem;
  }
  
  .auth-tabs {
    margin-bottom: 1.5rem;
  }
  
  .tab-btn {
    padding: 10px 12px;
    font-size: 0.9rem;
  }
}