/* Authentication Styles */

.auth-section {
  min-height: 100vh;
  padding: 120px 0 40px;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.auth-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.auth-form-wrapper {
  background-color: var(--background);
  padding: 3rem;
  border-radius: var(--radius);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.auth-header {
  text-align: center;
  margin-bottom: 2rem;
}

.auth-header h1 {
  color: var(--foreground);
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.auth-header p {
  color: var(--muted-foreground);
  font-size: 1.1rem;
}

.auth-form {
  margin-bottom: 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

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

.form-group label {
  display: block;
  color: var(--foreground);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.input-group {
  position: relative;
}

.input-group i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted-foreground);
  font-size: 1rem;
}

.input-group input,
.input-group select {
  width: 100%;
  padding: 12px 16px 12px 3rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  background-color: var(--input);
  color: var(--foreground);
  transition: all 0.3s ease;
}

.input-group input:focus,
.input-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--ring);
}

.input-group input:readonly {
  background-color: var(--muted);
  cursor: not-allowed;
}

/* File Upload Styles */
.file-upload-wrapper {
  position: relative;
}

.file-input {
  display: none;
}

.file-upload-area {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background-color: var(--muted);
}

.file-upload-area:hover,
.file-upload-area.drag-over {
  border-color: var(--primary);
  background-color: rgba(5, 150, 105, 0.05);
}

.file-upload-area i {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.file-upload-area p {
  color: var(--foreground);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.file-upload-area span {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.file-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background-color: var(--card);
  border-radius: var(--radius);
  border: 2px solid var(--border);
}

.file-info i {
  color: var(--primary);
  font-size: 1.5rem;
}

.file-name {
  flex: 1;
  color: var(--foreground);
  font-weight: 500;
}

.remove-file {
  background: none;
  border: none;
  color: var(--destructive);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

.remove-file:hover {
  background-color: rgba(234, 88, 12, 0.1);
}

/* OTP Section */
.otp-section {
  background-color: var(--card);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 2px solid var(--primary);
  margin-bottom: 1.5rem;
}

.otp-info {
  margin-top: 1rem;
  text-align: center;
}

.otp-info p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.otp-info span {
  font-weight: 600;
  color: var(--foreground);
}

.resend-btn {
  background: none;
  border: none;
  color: var(--primary);
  cursor: pointer;
  font-weight: 500;
  text-decoration: underline;
  font-size: 0.875rem;
}

.resend-btn:hover {
  color: #047857;
}

.resend-btn:disabled {
  color: var(--muted-foreground);
  cursor: not-allowed;
  text-decoration: none;
}

/* Checkbox Styles */
.checkbox-label {
  display: flex;
  align-items: start;
  gap: 0.75rem;
  cursor: pointer;
  color: var(--muted-foreground);
  font-size: 0.875rem;
  line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
  display: none;
}

.checkmark {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border);
  border-radius: 4px;
  position: relative;
  transition: all 0.3s ease;
  flex-shrink: 0;
  margin-top: 2px;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
  background-color: var(--primary);
  border-color: var(--primary);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 12px;
  font-weight: bold;
}

.checkbox-label a {
  color: var(--primary);
  text-decoration: none;
}

.checkbox-label a:hover {
  text-decoration: underline;
}

/* Button Styles */
.btn-full {
  width: 100%;
}

.btn-loader {
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-loader i {
  font-size: 1.2rem;
}

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

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

.auth-divider span {
  background-color: var(--background);
  color: var(--muted-foreground);
  padding: 0 1rem;
  font-size: 0.875rem;
}

/* Auth Footer */
.auth-footer {
  margin-bottom: 2rem;
}

.auth-links {
  text-align: center;
}

.auth-links a {
  color: var(--muted-foreground);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

.auth-links a:hover {
  color: var(--primary);
}

/* Auth Image */
.auth-image {
  position: relative;
}

.image-content {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}

.image-content img {
  width: 100%;
  height: auto;
  display: block;
}

.image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 3rem 2rem 2rem;
}

.image-overlay h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.image-overlay p {
  margin-bottom: 2rem;
  opacity: 0.9;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.feature i {
  color: var(--secondary);
  font-size: 1rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  text-align: center;
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary);
  display: block;
}

.stat-label {
  font-size: 0.75rem;
  opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
  .auth-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .auth-form-wrapper {
    padding: 2rem;
  }

  .auth-header h1 {
    font-size: 1.75rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .file-upload-area {
    padding: 1.5rem;
  }

  .file-upload-area i {
    font-size: 1.5rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .image-overlay {
    padding: 2rem 1.5rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .auth-section {
    padding: 100px 0 20px;
  }

  .auth-form-wrapper {
    padding: 1.5rem;
  }

  .auth-header h1 {
    font-size: 1.5rem;
  }

  .auth-header p {
    font-size: 1rem;
  }

  .input-group input,
  .input-group select {
    padding: 10px 14px 10px 2.5rem;
  }

  .input-group i {
    left: 0.75rem;
    font-size: 0.875rem;
  }

  .file-upload-area {
    padding: 1rem;
  }

  .checkbox-label {
    font-size: 0.8rem;
  }

  .image-overlay h3 {
    font-size: 1.25rem;
  }
}
