.auth-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 40px 20px;
}

.auth-container {
  width: 100%;
  max-width: 901px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: row-reverse;
}

/* Brand Side */
.auth-brand {
  flex: 1;
  background: linear-gradient(to right, #6134b7, #ffa700) !important;
  padding: 40px;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.auth-brand::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0) 60%
  );
  transform: rotate(30deg);
}

.brand-logo {
  width: 200px;
  margin-bottom: 30px;
  display: flex;
  margin: 0 auto;
  margin-bottom: 50px !important;
}

.brand-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 15px;
}

.brand-subtitle {
  font-size: 16px;
  opacity: 0.8;
  margin-bottom: 30px;
  line-height: 1.6;
}

.brand-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.brand-features li {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  font-size: 15px;
}

.brand-features li i {
  margin-right: 10px;
  font-size: 18px;
}

/* Form Side */
.auth-form-container {
  flex: 1;
  padding: 40px;
  position: relative;
}

.auth-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
  border-bottom: 2px solid #f0f0f0;
}

.auth-tab {
  padding: 15px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 30px;
  text-align: center;
  text-transform: uppercase;
  font-size: 16px;
  font-weight: 600;
  color: #999;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
}

.auth-tab.active {
  color: #6134b7;
}

.auth-tab::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #6134b7;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.auth-tab.active::after {
  transform: scaleX(1);
}

.auth-form {
  display: none;
}

.auth-form.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

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

.form-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 25px;
  text-align: center;
  color: #333;
}

.form-group {
  margin-bottom: 20px;
  position: relative;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #555;
}

.form-control {
  width: 100%;
  height: 50px;
  padding: 0 15px 0 45px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 15px;
  transition: all 0.3s ease;
  background-color: #f9f9f9;
}

.form-control:focus {
  border-color: #6134b7;
  box-shadow: 0 0 0 3px rgba(160, 32, 240, 0.1);
  background-color: #fff;
  outline: none;
}

.form-group i.input-icon {
  position: absolute;
  left: 15px;
  top: 55px;
  color: #999;
  transition: all 0.3s ease;
}

.form-control:focus + i.input-icon {
  color: #6134b7;
}

.password-toggle {
  position: absolute;
  right: 15px;
  top: 50px;
  color: #999;
  cursor: pointer;
  transition: all 0.3s ease;
}

.password-toggle:hover {
  color: #6134b7;
}

.form-check {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.form-check-input {
  width: 18px;
  height: 18px;
  margin-right: 10px;
  accent-color: #6134b7;
}

.form-check-label {
  font-size: 14px;
  color: #666;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  text-justify: justify;
  margin-left: 2px;
  line-height: 1.5;
  font-weight: 500;
}

.form-check-label a {
  color: #6134b7;
  text-decoration: underline;
}

.forgot-password {
  display: block;
  margin-left: 5px;
  font-size: 14px;
  color: #6134b7;
  text-decoration: none;
  transition: all 0.3s ease;
}

.forgot-password:hover {
  text-decoration: underline;
}

.auth-btn {
  width: 50%;
  height: 50px;
  margin: 0 auto;
  background: linear-gradient(to right, #5b4b9a, #ffa700) !important;
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(160, 32, 240, 0.3);
}

.auth-btn i {
  margin-right: 10px;
}

.auth-divider {
  display: flex;
  align-items: center;
  margin: 25px 0;
  color: #999;
  font-size: 14px;
  padding-top: 22px;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #eee;
}

.auth-divider::before {
  margin-right: 15px;
}

.auth-divider::after {
  margin-left: 15px;
}

.social-login {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.social-btn {
  flex: 1;
  height: 45px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.social-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.social-btn i {
  margin-right: 10px;
  font-size: 18px;
}

.google-btn {
  background-color: #db4437;
}

.facebook-btn {
  background-color: #4267b2;
}

.auth-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-top: 30px;
  font-size: 14px;
  color: #666;
}

.auth-footer a {
  color: #6134b7;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  margin-left: 5px;
}

.auth-terms {
  display: inline-flex;
  margin-top: 30px;
  font-size: 14px;
  color: #666;
  text-justify: justify;
}

.auth-terms a {
  color: #6134b7;
  font-weight: 700;
  text-decoration: underline;
}

.auth-footer a:hover {
  text-decoration: underline;
}

.alert {
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  animation: slideIn 0.5s ease;
}

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

.alert i {
  margin-right: 10px;
  font-size: 18px;
}

.alert-danger {
  background-color: rgba(231, 76, 60, 0.1);
  color: #e74c3c;
  border-left: 4px solid #e74c3c;
}

.alert-success {
  background-color: rgba(46, 204, 113, 0.1);
  color: #2ecc71;
  border-left: 4px solid #2ecc71;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .auth-container {
    max-width: 700px;
  }
}

@media (max-width: 768px) {
  .auth-container {
    flex-direction: column;
    max-width: 500px;
  }

  .auth-brand {
    padding: 30px;
    text-align: center;
    align-items: center;
  }

  .brand-logo {
    width: 200px;
    margin-bottom: 20px;
  }

  .brand-title {
    font-size: 24px;
  }

  .brand-subtitle {
    font-size: 14px;
  }

  .brand-features {
    display: none;
  }

  .auth-form-container {
    padding: 30px;
  }
}

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

  .auth-container {
    border-radius: 15px;
  }

  .auth-brand {
    padding: 25px 20px;
  }

  .auth-form-container {
    padding: 25px 20px;
  }

  .form-title {
    font-size: 22px;
    margin-bottom: 20px;
  }

  .auth-tabs {
    margin-bottom: 25px;
  }

  .auth-tab {
    padding: 12px 0;
    margin-right: 20px;
    font-size: 15px;
  }

  .social-login {
    align-items: center;
    gap: 10px;
  }

  .social-btn {
    flex: 1;
    width: 50%;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
  }
  .form-check-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 18px;
    display: flex-start;
    align-items: center;
    text-justify: justify;
    margin-left: 5px;
    line-height: 1.5;
    font-weight: 500;
  }
}

/* Additional styles for reset password and forgot password pages */

.back-link {
  display: inline-flex;
  align-items: center;
  color: #666;
  font-size: 14px;
  margin-bottom: 20px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.back-link i {
  margin-right: 8px;
}

.back-link:hover {
  color: #6134b7;
}

.form-subtitle {
  color: #666;
  margin-bottom: 25px;
  font-size: 15px;
  line-height: 1.6;
  text-justify: justify;
  text-align: center;
}

.recovery-illustration {
  text-align: center;
  margin-top: 40px;
}

.recovery-illustration i {
  font-size: 80px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 20px;
  animation: float 3s ease-in-out infinite;
}

.recovery-illustration p {
  font-size: 14px;
  opacity: 0.8;
  line-height: 1.6;
}

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

.reset-password-tips {
  margin-top: 30px;
  display: none;
}

.reset-password-tips h3 {
  font-size: 18px;
  margin-bottom: 15px;
  opacity: 0.9;
}

.password-strength {
  margin-bottom: 25px;
}

.strength-meter {
  height: 5px;
  background-color: #eee;
  border-radius: 3px;
  margin-bottom: 8px;
  overflow: hidden;
}

.strength-meter-fill {
  height: 100%;
  width: 0;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.strength-text {
  font-size: 13px;
  color: #666;
  text-align: right;
}

.alert-actions {
  margin-top: 15px;
}

.btn-sm {
  display: inline-block;
  padding: 8px 15px;
  background: #6134b7;
  color: white;
  border-radius: 5px;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-sm:hover {
  background: #6134b7;
  transform: translateY(-2px);
}

/* Enhanced Registration Form Styles */

/* Multi-step progress indicator */
.register-progress {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
  position: relative;
}

.register-progress::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 0;
  right: 0;
  height: 2px;
  background: #eee;
  z-index: 1;
}

.progress-step {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 33.333%;
}

.step-number {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #eee;
  color: #999;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  margin-bottom: 8px;
  transition: all 0.3s ease;
}

.step-label {
  font-size: 12px;
  color: #999;
  transition: all 0.3s ease;
}

.progress-step.active .step-number {
  background: #6134b7;
  color: white;
}

.progress-step.active .step-label {
  color: #6134b7;
  font-weight: 600;
}

.progress-step.completed .step-number {
  background: #2ecc71;
  color: white;
}

.progress-step.completed .step-number::after {
  content: "\f00c";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}

/* Step containers */
.register-step {
  display: none;
  animation: fadeIn 0.5s ease;
}

.register-step.active {
  display: block;
}

/* Form hints */
.form-hint {
  font-size: 13px;
  color: #888;
  margin-top: 5px;
  display: flex;
  text-align: center;
  align-items: center;
  justify-content: center;
  font-weight: 500;
}

/* Password strength meter */
.password-strength-meter {
  margin-top: 10px;
  margin-left: 45px;
}

.strength-bar {
  height: 4px;
  background: #eee;
  border-radius: 2px;
  margin-bottom: 5px;
  overflow: hidden;
}

.strength-fill {
  height: 100%;
  width: 0;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.strength-fill[data-strength="0"] {
  width: 20%;
  background: #e74c3c;
}

.strength-fill[data-strength="1"] {
  width: 40%;
  background: #ffa700;
}

.strength-fill[data-strength="2"] {
  width: 60%;
  background: #ffa700;
}

.strength-fill[data-strength="3"] {
  width: 80%;
  background: #3498db;
}

.strength-fill[data-strength="4"] {
  width: 100%;
  background: #2ecc71;
}

.strength-label {
  font-size: 12px;
  color: #888;
  text-align: right;
}

/* Password requirements */
.password-requirements {
  background: #f9f9f9;
  border-radius: 10px;
  padding: 15px;
  margin: 15px 0;
  font-size: 13px;
}

.password-requirements p {
  margin: 0 0 10px 0;
  color: #666;
  font-weight: 500;
}

.password-requirements ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.password-requirements li {
  margin-bottom: 5px;
  color: #888;
  display: flex;
  align-items: center;
}

.password-requirements li i {
  margin-right: 8px;
  font-size: 14px;
}

.password-requirements li i.fa-times-circle {
  color: #e74c3c;
}

.password-requirements li i.fa-check-circle {
  color: #2ecc71;
}

.password-requirements li.valid {
  color: #2ecc71;
}

/* Passwords match indicator */
.passwords-match-indicator {
  display: flex;
  align-items: center;
  margin-top: 5px;
  margin-left: 45px;
  font-size: 12px;
  color: #888;
  height: 20px;
}

.match-icon,
.mismatch-icon {
  margin-right: 5px;
  display: none;
}

.match-icon {
  color: #2ecc71;
}

.mismatch-icon {
  color: #e74c3c;
}

/* Styled checkboxes */
.checkbox-group {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.styled-checkbox {
  position: absolute;
  opacity: 0;
}

.styled-checkbox + label p {
  position: relative;
  cursor: pointer;
  padding-left: 30px;
  display: flex;
  align-items: center;
  font-size: 14px;
  line-height: 1.5;
  color: #666;
  margin-right: 10px;
}

.styled-checkbox + label a {
  color: #6134b7;
  text-decoration: underline;
  font-weight: 500;
  display: inline-block;
  margin-left: 5px;
}

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

.styled-checkbox + label:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  border: 2px solid #ddd;
  border-radius: 4px;
  background: #fff;
  transition: all 0.3s ease;
}

.styled-checkbox:checked + label:before {
  background: #6134b7;
  border-color: #6134b7;
}

.styled-checkbox:checked + label:after {
  content: "\f00c";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 5px;
  top: 2px;
  color: white;
  font-size: 12px;
}

/* Registration summary */
.register-summary {
  background: #f9f9f9;
  border-radius: 10px;
  padding: 15px;
  margin: 20px 0;
}

.register-summary h3 {
  margin: 0 0 15px 0;
  font-size: 16px;
  color: #333;
}

.summary-item {
  display: flex;
  margin-bottom: 10px;
}

.summary-label {
  font-weight: 500;
  color: #666;
  width: 40%;
}

.summary-value {
  color: #333;
}

/* Navigation buttons */
.form-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 25px;
}

.btn-prev,
.btn-next {
  padding: 10px 15px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  margin: 0 auto;
  border: none;
}

.btn-prev {
  background: #f5f5f5;
  color: #666;
}

.btn-prev:hover {
  background: #eee;
}

.btn-prev i {
  margin-right: 8px;
}

.btn-next {
  background: linear-gradient(to right, #5b4b9a, #ffa700) !important;
  color: white;
}

.btn-next:hover {
  background: #6134b7;
  transform: translateY(-2px);
  box-shadow: 0 3px 10px rgba(160, 32, 240, 0.2);
}

.btn-next i {
  margin-left: 8px;
}
