/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

:root {
  --primary: #ff4b91;
  --primary-dark: #e83e8c;
  --secondary: rgba(197, 45, 103, 0.9);
  --dark: #2d2b55;
  --light: #f8f9fa;
  --gray: #d2dae2;
  --success: #28a745;
  --warning: #ffc107;
  --danger: #dc3545;
  --online: #28a745;
  --offline: #6c757d;
}

body {
  background-color: #f5f5f5;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
  background: linear-gradient(135deg, #ff4b91, rgba(197, 45, 103, 0.9));
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  justify-items: center;
}

/* Auth Container */
.auth-container {
  display: flex;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  min-height: 600px;
  position: relative;
  min-width: 700px;
}

.auth-left {
  flex: 1;
  background: #fff;
  background-size: cover;
  background-position: center;
  color: #ff4b91;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  transition: transform 0.8s ease;
}

.auth-left::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.auth-left-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.auth-left h1 {
  font-size: 36px;
  margin-bottom: 20px;
  font-weight: 700;
}

.auth-left p {
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0.9;
}

.auth-features {
  list-style: none;
  margin-top: 30px;
}

.auth-features li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.auth-features i {
  margin-right: 10px;
  font-size: 20px;
  color: var(--primary);
  background: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-right {
  flex: 1;
  padding: 50px;
  background: url("../uploads/auth-img.jpg");
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.auth-form-container {
  max-width: 400px;
  width: 100%;
  margin: 0 auto;
  position: relative;
}

.auth-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 30px;
  transition: transform 0.5s ease;
}

.auth-logo i {
  margin-right: 10px;
  font-size: 32px;
}

.auth-header {
  text-align: center;
  margin-bottom: 30px;
}

.auth-header h2 {
  color: var(--dark);
  margin-bottom: 10px;
  font-weight: 600;
}

.auth-header p {
  color: var(--gray);
}

.auth-form {
  position: relative;
  width: 100%;
}

.form-group {
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--dark);
}

.form-control {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #e1e1e1;
  border-radius: 10px;
  font-size: 16px;
  transition: all 0.3s;
}

.form-control:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 75, 145, 0.2);
}

.phone-input-container {
  display: flex;
  align-items: center;
}

.country-code {
  width: 80px;
  padding: 14px 10px;
  border: 2px solid #e1e1e1;
  border-right: none;
  border-radius: 10px 0 0 10px;
  background: #f8f9fa;
  text-align: center;
  font-weight: 500;
}

.phone-input {
  flex: 1;
  border-radius: 0 10px 10px 0;
}

.form-check {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
  position: relative;
}

.form-check-input {
  margin-right: 10px;
  margin-top: 4px;
}

.form-check-label {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.5;
}

.form-check-label a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.form-check-label a:hover {
  text-decoration: underline;
}

.btn {
  padding: 14px 20px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
  font-size: 16px;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-secondary {
  background: var(--secondary);
  color: white;
}

.btn-secondary:hover {
  background: #5a52e0;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
}

.auth-divider {
  text-align: center;
  margin: 25px 0;
  position: relative;
}

.auth-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: #e1e1e1;
}

.auth-divider span {
  background: white;
  padding: 0 15px;
  color: var(--gray);
  font-size: 14px;
}

.social-auth {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
}

.social-btn {
  flex: 1;
  padding: 12px;
  border: 2px solid #e1e1e1;
  border-radius: 10px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
}

.social-btn:hover {
  border-color: var(--primary);
  background: #fff5f9;
}

.social-btn i {
  font-size: 18px;
  margin-right: 8px;
}

.social-btn.facebook i {
  color: #3b5998;
}

.social-btn.google i {
  color: #db4437;
}

.auth-footer {
  text-align: center;
  margin-top: 25px;
  font-size: 14px;
  color: var(--gray);
}

.auth-footer a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

/* Back to Home */
.back-home {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2;
}

.back-home a {
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  font-weight: 500;
}

.back-home i {
  margin-right: 8px;
}

/* Age field specific styles */
.age-selector {
  display: flex;
  align-items: center;
  gap: 10px;
}

.age-display {
  font-weight: 600;
  color: var(--primary);
  min-width: 40px;
  text-align: center;
}

.age-slider {
  flex: 1;
  -webkit-appearance: none;
  height: 8px;
  border-radius: 5px;
  background: #e1e1e1;
  outline: none;
}

.age-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  transition: all 0.2s;
}

.age-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 0 0 5px rgba(255, 75, 145, 0.2);
}

/* Animation Particles */
.particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.particle {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0;
}

.verification-modal.active {
  opacity: 1;
  visibility: visible;
}

.verification-content {
  background: white;
  border-radius: 20px;
  padding: 30px;
  width: 100%;
  max-width: 500px;
  text-align: center;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  transform: scale(0.9);
  transition: transform 0.3s ease;
  max-height: 90vh;
  overflow-y: auto;
}

.verification-modal.active .verification-content {
  transform: scale(1);
}

.verification-header {
  margin-bottom: 20px;
}

.verification-header h2 {
  color: var(--dark);
  margin-bottom: 10px;
}

.verification-header p {
  color: var(--gray);
}

.verification-options {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
}

.verification-option {
  flex: 1;
  padding: 15px;
  border: 2px solid #e1e1e1;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.verification-option.active {
  border-color: var(--primary);
  background: #fff5f9;
}

.verification-option i {
  font-size: 30px;
  margin-bottom: 10px;
  color: var(--primary);
}

.camera-container {
  width: 100%;
  max-width: 300px;
  height: 300px;
  margin: 0 auto 20px;
  position: relative;
  overflow: hidden;
  border-radius: 50%;
  border: 5px solid var(--primary);
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
}

#videoElement {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.camera-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  font-size: 18px;
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 2;
}

.camera-overlay.active {
  opacity: 1;
}

.face-guide {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 180px;
  height: 220px;
  border: 2px dashed rgba(255, 255, 255, 0.7);
  border-radius: 45%;
  z-index: 1;
  pointer-events: none;
}

.captured-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: none;
}

.verification-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.verification-actions .btn {
  flex: 1;
  min-width: 120px;
}

.verification-status {
  margin: 15px 0;
  padding: 10px;
  border-radius: 8px;
  font-weight: 500;
  display: block;
}

.status-positioning {
  background: #fff3cd;
  color: #856404;
  border: 1px solid #ffeaa7;
}

.status-capturing {
  background: #d1ecf1;
  color: #0c5460;
  border: 1px solid #bee5eb;
}

.status-success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.status-warning {
  background: #fff3cd;
  color: #856404;
  border: 1px solid #ffeaa7;
}

.status-error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Progress Steps */
.progress-steps {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
  position: relative;
}

.progress-steps::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  height: 2px;
  background: #e1e1e1;
  z-index: 1;
}

.progress-bar {
  position: absolute;
  top: 20px;
  left: 0;
  height: 2px;
  background: var(--primary);
  z-index: 2;
  transition: width 0.3s ease;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 3;
  flex: 1;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e1e1e1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--gray);
  margin-bottom: 8px;
  transition: all 0.3s ease;
}

.step.active .step-number {
  background: var(--primary);
  color: white;
  transform: scale(1.1);
}

.step.completed .step-number {
  background: var(--success);
  color: white;
}

.step-label {
  font-size: 12px;
  color: var(--gray);
  text-align: center;
  font-weight: 500;
}

.step.active .step-label {
  color: var(--primary);
  font-weight: 600;
}

/* Auth Steps */
.auth-step {
  display: none;
}

.auth-step.active {
  display: block;
  animation: slideInRight 0.5s ease;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Code Input */
.code-input-container {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.code-input {
  width: 50px;
  height: 60px;
  border: 2px solid #e1e1e1;
  border-radius: 10px;
  text-align: center;
  font-size: 24px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.code-input:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 75, 145, 0.2);
  transform: scale(1.05);
}

.code-input.filled {
  border-color: var(--success);
  background: #f8fff9;
}

/* Phone Display */
.phone-display {
  font-weight: 600;
  color: var(--dark);
}

.change-link {
  font-size: 14px;
  color: var(--primary);
  text-decoration: none;
}

.change-link:hover {
  text-decoration: underline;
}

/* Resend Code */
.resend-code {
  text-align: center;
  margin: 20px 0;
}

.resend-code p {
  margin-bottom: 5px;
  color: var(--gray);
}

.countdown {
  font-size: 14px;
  color: var(--primary);
  font-weight: 600;
}

/* Button Loader */
.btn-loader {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid transparent;
  border-top: 2px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Password Strength */
.password-strength {
  margin-top: 8px;
}

.strength-bar {
  height: 4px;
  background: #e1e1e1;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 4px;
}

.strength-fill {
  height: 100%;
  width: 0%;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.strength-text {
  font-size: 12px;
  font-weight: 500;
}

/* Success States */
.success-message {
  background: #d4edda;
  color: #155724;
  padding: 12px 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  display: none;
  animation: slideInDown 0.5s ease;
}

/* Error States */
.error-message {
  background: #f8d7da;
  color: #721c24;
  padding: 12px 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  display: none;
  animation: slideInDown 0.5s ease;
}

/* Brightness Indicator */
.brightness-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px 0;
  gap: 10px;
  flex-wrap: wrap;
}

.brightness-bar {
  width: 150px;
  height: 8px;
  background: #e1e1e1;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.brightness-level {
  height: 100%;
  width: 0%;
  background: var(--primary);
  transition: width 0.3s ease;
}

.brightness-text {
  font-size: 14px;
  font-weight: 500;
}

/* Face Detection Indicators */
.face-detection-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 10px 0;
}

.face-count {
  font-size: 14px;
  color: var(--dark);
  font-weight: 500;
}

.brightness-warning,
.multiple-faces-warning {
  font-size: 14px;
  color: var(--danger);
  font-weight: 500;
  display: none;
}

/* Photo Upload Styles */
.photo-upload {
  position: relative;
  border: 2px dashed #e1e1e1;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  margin-bottom: 10px;
  cursor: pointer;
  transition: all 0.3s;
  background: #f8f9fa;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.photo-upload:hover {
  border-color: var(--primary);
  background: #fff5f9;
}

.photo-upload.has-image {
  border-color: var(--success);
  background: #f8fff9;
}

.photo-upload input[type="file"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.upload-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.upload-text i {
  font-size: 24px;
  color: var(--primary);
}

.file-name {
  font-size: 12px;
  color: var(--success);
  font-weight: 500;
  margin-top: 5px;
  display: none;
}

.upload-success {
  display: none;
  align-items: center;
  gap: 8px;
  color: var(--success);
  font-weight: 500;
  margin-top: 8px;
}

.upload-success i {
  font-size: 16px;
}

/* Interests Checkboxes */
.interests-checkboxes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
  margin-top: 8px;
}

.interest-option {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  border: 2px solid #e1e1e1;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 14px;
  position: relative;
}

.interest-option:hover {
  border-color: var(--primary);
  background: #fff5f9;
}

.interest-option input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.interest-option .checkbox-custom {
  width: 18px;
  height: 18px;
  border: 2px solid #e1e1e1;
  border-radius: 4px;
  margin-right: 8px;
  position: relative;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.interest-option input[type="checkbox"]:checked + .checkbox-custom {
  border-color: var(--primary);
  background: var(--primary);
}

.interest-option input[type="checkbox"]:checked + .checkbox-custom::after {
  content: "\f00c";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 12px;
  color: white;
}

.interest-option input[type="checkbox"]:checked ~ .interest-label {
  color: var(--primary);
  font-weight: 600;
}

.selected-interests-count {
  font-size: 12px;
  color: var(--primary);
  font-weight: 600;
  margin-top: 8px;
  text-align: center;
}

textarea.form-control {
  min-height: 100px;
  resize: vertical;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'><path fill='%236c757d' d='M2 0L0 2h4zm0 5L0 3h4z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 12px;
  padding-right: 40px;
}

.upload-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 5px;
}

.remove-photo {
  background: var(--danger);
  color: white;
  border: none;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 12px;
}

/* Terms and Conditions Styling */
.terms-container {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 15px;
  margin-top: 10px;
  max-height: 150px;
  overflow-y: auto;
  border: 1px solid #e1e1e1;
}

.terms-content {
  font-size: 12px;
  line-height: 1.5;
  color: var(--gray);
}

.terms-content h4 {
  color: var(--dark);
  margin-bottom: 8px;
  font-size: 14px;
}

.terms-content p {
  margin-bottom: 10px;
}

.terms-content ul {
  padding-left: 20px;
  margin-bottom: 10px;
}

.terms-content li {
  margin-bottom: 5px;
}

/* Animation Keyframes */
@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes glow {
  0% {
    box-shadow: 0 0 5px rgba(255, 75, 145, 0.5);
  }
  50% {
    box-shadow: 0 0 20px rgba(255, 75, 145, 0.8);
  }
  100% {
    box-shadow: 0 0 5px rgba(255, 75, 145, 0.5);
  }
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

@keyframes countdown {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .auth-container {
    flex-direction: column;
    min-height: auto;
    min-width: 300px;
  }

  .auth-left,
  .auth-right {
    padding: 30px;
    background-size: cover;
  }

  .auth-left {
    min-height: 170px;
  }

  .camera-container {
    width: 250px;
    height: 250px;
  }
}

@media (max-width: 768px) {
  .auth-container {
    min-width: 400px;
  }
  .auth-left,
  .auth-right {
    padding: 25px;
    background-size: cover;
  }

  .auth-left h1 {
    font-size: 28px;
  }

  .auth-left p {
    font-size: 16px;
  }

  .progress-steps {
    padding: 0 10px;
  }

  .step-label {
    font-size: 10px;
  }

  .code-input {
    width: 40px;
    height: 50px;
    font-size: 20px;
  }

  .step-number {
    width: 35px;
    height: 35px;
    font-size: 14px;
  }

  .camera-container {
    width: 200px;
    height: 200px;
  }

  .face-guide {
    width: 150px;
    height: 180px;
  }

  .verification-content {
    padding: 20px;
  }

  .verification-actions {
    flex-direction: column;
  }

  .interests-checkboxes {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  }
}

@media (max-width: 480px) {
  body {
    padding: 10px;
  }

  .auth-left,
  .auth-right {
    padding: 20px;
  }

  .auth-logo {
    font-size: 24px;
  }

  .auth-logo i {
    font-size: 28px;
  }

  .auth-header h2 {
    font-size: 22px;
  }

  .code-input-container {
    gap: 5px;
  }

  .code-input {
    width: 35px;
    height: 45px;
    font-size: 18px;
  }

  .camera-container {
    width: 180px;
    height: 180px;
  }

  .face-guide {
    width: 130px;
    height: 160px;
  }

  .verification-content {
    padding: 15px;
  }

  .brightness-bar {
    width: 120px;
  }

  .country-code {
    width: 70px;
    font-size: 14px;
  }

  .interests-checkboxes {
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 8px;
  }

  .interest-option {
    padding: 6px 10px;
    font-size: 12px;
  }
}

@media (max-width: 360px) {
  .auth-left,
  .auth-right {
    padding: 15px;
  }

  .auth-logo {
    font-size: 22px;
    margin-bottom: 20px;
  }

  .progress-steps {
    margin-bottom: 20px;
  }

  .step-number {
    width: 30px;
    height: 30px;
    font-size: 12px;
  }

  .code-input {
    width: 30px;
    height: 40px;
    font-size: 16px;
  }

  .camera-container {
    width: 160px;
    height: 160px;
  }

  .face-guide {
    width: 110px;
    height: 140px;
  }

  .interests-checkboxes {
    grid-template-columns: 1fr 1fr;
  }
}

/* Extra Small Devices */
@media (max-width: 320px) {
  .auth-left h1 {
    font-size: 24px;
  }

  .auth-left p {
    font-size: 14px;
  }

  .auth-features li {
    font-size: 14px;
  }

  .auth-features i {
    width: 25px;
    height: 25px;
    font-size: 16px;
  }

  .camera-container {
    width: 140px;
    height: 140px;
  }

  .face-guide {
    width: 100px;
    height: 120px;
  }
}

/* Orientation-specific adjustments */
@media (max-height: 600px) and (orientation: landscape) {
  .auth-container {
    max-height: 90vh;
    overflow-y: auto;
    min-width: 300px;
  }

  .auth-left {
    min-height: auto;
    padding: 20px;
  }

  .auth-right {
    padding: 20px;
  }

  .camera-container {
    width: 150px;
    height: 150px;
  }

  .verification-content {
    max-height: 85vh;
  }
}

/* Ensure buttons are always visible */
.auth-form-container {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.auth-step.active {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.auth-form {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.btn-container {
  margin-top: auto;
  padding-top: 20px;
}

.auth-footer {
  margin-top: auto;
}
