/* ==========================================
   AUTH SECTION - DIOR LUXURY STYLE
   Premium Login & Signup Design
   ========================================== */

.auth-section-dior {
  padding: 80px 0;
  background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
  min-height: 100vh;
}

.auth-wrapper-dior {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: white;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  max-width: 1200px;
  margin: 0 auto;
}

/* Visual Side - Premium Gradient */
.auth-visual-dior {
  background: linear-gradient(135deg, #c9a577 0%, #b8956a 50%, #a68558 100%);
  position: relative;
  padding: 60px 50px;
  display: flex;
  align-items: center;
  background-image: url("../img/Beauty-Model.png"),
    linear-gradient(135deg, rgba(201, 165, 119, 0.95) 0%, rgba(184, 149, 106, 0.95) 50%, rgba(166, 133, 88, 0.95) 100%);
  background-size: cover;
  background-position: center;
  background-blend-mode: overlay;
}

.auth-visual-content-dior {
  position: relative;
  z-index: 2;
}

.auth-visual-overlay-dior {
  color: white;
}

.luxury-tag-dior {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 30px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.auth-title-dior {
  font-size: 42px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 20px;
}

.auth-subtitle-dior {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 40px;
  opacity: 0.95;
}

.auth-benefits-dior {
  display: grid;
  gap: 20px;
}

.benefit-item-dior {
  display: flex;
  align-items: center;
  gap: 15px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 15px 20px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.benefit-item-dior:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateX(5px);
}

.benefit-item-dior i {
  font-size: 22px;
  color: white;
}

.benefit-item-dior span {
  font-size: 15px;
  font-weight: 500;
}

/* Forms Side */
.auth-forms-dior {
  padding: 60px 50px;
  background: white;
}

/* Messages */
.auth-message {
  padding: 12px 20px;
  border-radius: 8px;
  margin-bottom: 25px;
  font-size: 14px;
  border-left: 4px solid;
}

.auth-error {
  background: #fff0f0;
  color: #c00;
  border-left-color: #c00;
}

.auth-success {
  background: #f0fff0;
  color: #0a0;
  border-left-color: #0a0;
}

/* Auth Tabs */
.auth-tabs-dior {
  display: flex;
  gap: 10px;
  margin-bottom: 40px;
  background: #f8f8f8;
  padding: 6px;
  border-radius: 8px;
}

.auth-tab-dior {
  flex: 1;
  padding: 14px 20px;
  border: none;
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  color: #666;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.auth-tab-dior i {
  font-size: 16px;
}

.auth-tab-dior.active {
  background: white;
  color: #ff8c42;
  box-shadow: 0 2px 8px rgba(255, 140, 66, 0.15);
}

/* Form Containers */
.auth-form-container-dior {
  display: none;
}

.auth-form-container-dior.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.auth-form-header-dior {
  margin-bottom: 35px;
}

.auth-form-header-dior h3 {
  font-size: 32px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.auth-form-header-dior p {
  color: #666;
  font-size: 15px;
}

/* Form Elements */
.auth-form-dior {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group-dior {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group-dior label {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-group-dior label i {
  color: #ff8c42;
  font-size: 14px;
}

.form-group-dior input {
  padding: 14px 18px;
  border: 2px solid #e8e8e8;
  border-radius: 8px;
  font-size: 15px;
  transition: all 0.3s ease;
  background: #fafafa;
}

.form-group-dior input:focus {
  outline: none;
  border-color: #ff8c42;
  background: white;
  box-shadow: 0 0 0 4px rgba(255, 140, 66, 0.1);
}

.password-input-dior {
  position: relative;
}

.password-input-dior input {
  width: 100%;
  padding-right: 50px;
}

.toggle-password-dior {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #999;
  cursor: pointer;
  font-size: 16px;
  transition: color 0.3s ease;
}

.toggle-password-dior:hover {
  color: #ff8c42;
}

/* Form Options */
.form-options-dior {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 5px 0;
}

.checkbox-wrapper-dior {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  position: relative;
  user-select: none;
  font-size: 14px;
  color: #666;
}

.checkbox-wrapper-dior input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  width: 20px;
  height: 20px;
}

.checkmark-dior {
  height: 20px;
  width: 20px;
  background-color: #f0f0f0;
  border: 2px solid #e0e0e0;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.checkbox-wrapper-dior:hover .checkmark-dior {
  border-color: #ff8c42;
}

.checkbox-wrapper-dior input:checked ~ .checkmark-dior {
  background-color: #ff8c42;
  border-color: #ff8c42;
}

.checkmark-dior:after {
  content: "";
  position: absolute;
  display: none;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkbox-wrapper-dior input:checked ~ .checkmark-dior:after {
  display: block;
}

.forgot-link-dior {
  color: #ff8c42;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.forgot-link-dior:hover {
  color: #ff6b35;
  text-decoration: underline;
}

/* Submit Button */
.auth-submit-btn-dior {
  background: linear-gradient(135deg, #ff9966 0%, #ff8c42 100%);
  color: white;
  padding: 16px 30px;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
  margin-top: 10px;
  box-shadow: 0 4px 15px rgba(255, 140, 66, 0.3);
}

.auth-submit-btn-dior:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 140, 66, 0.4);
  background: linear-gradient(135deg, #ff8c42 0%, #ff6b35 100%);
}

/* Divider */
.divider-dior {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 25px 0;
  color: #999;
  font-size: 13px;
}

.divider-dior::before,
.divider-dior::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #e0e0e0;
}

.divider-dior span {
  padding: 0 15px;
}

/* Social Login */
.social-login-dior {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.social-btn-dior {
  padding: 14px 20px;
  border: 2px solid #e8e8e8;
  background: white;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.social-btn-dior i {
  font-size: 16px;
}

.social-btn-dior.google {
  color: #db4437;
}

.social-btn-dior.google:hover {
  background: #db4437;
  color: white;
  border-color: #db4437;
}

.social-btn-dior.facebook {
  color: #4267b2;
}

.social-btn-dior.facebook:hover {
  background: #4267b2;
  color: white;
  border-color: #4267b2;
}

/* Responsive */
@media (max-width: 968px) {
  .auth-wrapper-dior {
    grid-template-columns: 1fr;
  }

  .auth-visual-dior {
    min-height: 350px;
    padding: 40px 30px;
  }

  .auth-title-dior {
    font-size: 32px;
  }

  .auth-forms-dior {
    padding: 40px 30px;
  }
}

@media (max-width: 640px) {
  .auth-section-dior {
    padding: 30px 0;
  }

  .auth-wrapper-dior {
    border-radius: 0;
    box-shadow: none;
  }

  .auth-visual-dior {
    min-height: 250px;
    padding: 30px 20px;
  }

  .auth-title-dior {
    font-size: 26px;
  }

  .auth-forms-dior {
    padding: 30px 20px;
  }

  .auth-benefits-dior {
    display: none;
  }

  .form-options-dior {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
}
