/* Custom Auth Page Styling - Centered Two Column Layout */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body.auth-fluid-pages {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  overflow: auto;
}

.auth-wrapper {
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.auth-container {
  display: flex;
  width: 100%;
  max-width: 1200px;
  height: 600px;
  /* background: white; */
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Left side - Background with Logo and Glass Effect */
.auth-left {
  flex: 0 0 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;

  /* PURE glass effect */
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
}

.auth-left::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgb(255 255 255 / 0%);
}

.glass-card {
  position: relative;
  z-index: 2;
  text-align: center;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 60px 40px;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.auth-logo {
  max-width: 280px;
  height: auto;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.tagline {
    color: #ffffff;
    font-size: 23px;
    font-weight: 800;
    margin-top: 30px;
    /* text-shadow: 0 2px 4px rgb(0 0 0 / 99%); */
    letter-spacing: 0.5px;
    overflow: hidden;
    position: relative;
    text-align: center;
}

/* Right side - Login Form */
.auth-right {
  flex: 0 0 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px 60px;
}

.form-wrapper {
  width: 100%;
  max-width: 400px;
}

.login-title {
  font-size: 32px;
  font-weight: 700;
  color: #2c3e50;
  text-align: center;
  margin-bottom: 10px;
}

.login-subtitle {
  font-size: 14px;
  color: #7f8c8d;
  text-align: center;
  margin-bottom: 40px;
}

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

.form-group-custom .form-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  /* color: #3498db; */
  font-size: 18px;
  z-index: 1;
}

.form-group-custom .form-control {
  padding: 14px 15px 14px 45px;
  border: 2px solid #e0e6ed;
  border-radius: 10px;
  font-size: 14px;
  transition: all 0.3s ease;
  background: #fff;
}

.form-group-custom .form-control:focus {
  /* border-color: #3498db; */
  box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.1);
}

.form-group-custom .form-control::placeholder {
  color: #bdc3c7;
}

.password-toggle {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #95a5a6;
  font-size: 18px;
  z-index: 1;
}

/* .password-toggle:hover {
  color: #3498db;
} */

.btn-login {
  /* background: linear-gradient(135deg, #3498db 0%, #2980b9 100%); */
  border: none;
  border-radius: 10px;
  padding: 14px 30px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  width: 48%;
  margin-right: 4%;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

/* .btn-login:hover {
  background: linear-gradient(135deg, #2980b9 0%, #3498db 100%);
  box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
  transform: translateY(-2px);
} */

.btn-cancel {
  background: linear-gradient(135deg, #95a5a6 0%, #7f8c8d 100%);
  border: none;
  border-radius: 10px;
  padding: 14px 30px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  width: 48%;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(149, 165, 166, 0.3);
}

.btn-cancel:hover {
  background: linear-gradient(135deg, #7f8c8d 0%, #95a5a6 100%);
  box-shadow: 0 6px 20px rgba(149, 165, 166, 0.4);
  transform: translateY(-2px);
}

.button-group {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
}

.alert {
  border-radius: 10px;
  padding: 15px 20px;
  margin-bottom: 25px;
  border: none;
}

.alert-danger {
  background-color: #fee;
  color: #c0392b;
}

.alert-success {
  background-color: #d4edda;
  color: #155724;
}

.form-check {
  margin-bottom: 20px;
}

/* .form-check-input:checked {
  background-color: #3498db;
  border-color: #3498db;
} */

.form-check-label {
  color: #2c3e50;
  font-size: 14px;
}

.forgot-password {
  /* color: #3498db; */
  font-size: 13px;
  text-decoration: none;
  float: right;
  margin-top: -35px;
  margin-bottom: 15px;
}

.forgot-password:hover {
  /* color: #2980b9; */
  text-decoration: underline;
}

.form-label {
  color: #2c3e50;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 8px;
}

/* Language selector styling */
.language-selector {
  position: relative;
  margin-bottom: 25px;
}

.language-selector .form-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  /* color: #3498db; */
  font-size: 18px;
  z-index: 1;
}

.language-selector select {
  padding: 14px 15px 14px 45px;
  border: 2px solid #e0e6ed;
  border-radius: 10px;
  font-size: 14px;
  background: #fff;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%233498db' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
}

.language-selector select:focus {
  border-color: #3498db;
  outline: none;
  box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.1);
}

/* Responsive */
@media (max-width: 992px) {
  .auth-container {
    flex-direction: column;
    height: auto;
    max-height: 90vh;
  }

  .auth-left {
    flex: 0 0 300px;
  }

  .auth-right {
    flex: 1;
    padding: 40px 30px;
  }

  .glass-card {
    padding: 40px 30px;
  }

  .auth-logo {
    max-width: 200px;
  }

  .tagline {
    font-size: 16px;
  }
}

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

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

  .auth-left {
    flex: 0 0 200px;
  }

  .auth-right {
    padding: 30px 20px;
  }

  .glass-card {
    padding: 30px 20px;
  }

  .auth-logo {
    max-width: 150px;
  }

  .tagline {
    font-size: 14px;
  }

  .login-title {
    font-size: 26px;
  }

  .btn-login,
  .btn-cancel {
    width: 100%;
    margin-right: 0;
    margin-bottom: 10px;
  }

  .button-group {
    flex-direction: column;
  }
}
