/*================================================
Template name: Travgo Travel Mobile App Template
Version: 1.0.0
Author: Website Stock       
Author url: https://themeforest.net/user/website_stock/portfolio  

[ Table of Contents ]

01: auth CSS
02: login-success modal CSS
03: language modal CSS
04: dark-mode CSS

==================================================*/

/*===========================================================
01: auth CSS
=============================================================*/

.auth.signin {
  display: flex;
  background: linear-gradient(180deg, #FFEFF3 0%, #FFFFFF 100%);
  min-height: 100vh;
  overflow: hidden;
}
.auth.signup {
  display: flex;
  background: linear-gradient(to top, #DD8A92 0%, #DD8A92 92%, #FFFFFF 100%);
  min-height: 100vh;
}
.auth.profile {
  display: flex;
  background: linear-gradient(to top, #DD8A92 0%, #DD8A92 98%, #FFFFFF 100%);
  min-height: 100vh;
}
.auth .heading {
  margin-top: 0;
  padding: 24px 16px 40px 16px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.auth .heading h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-text);
  margin-bottom: 8px;
}

.auth.signin .heading h2 {
  color: white;
}

.auth .heading p {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-80);
}

.auth.signin .heading p {
  color: white;
}

.auth .page-title button {
  height: 48px;
  width: 48px;
  background: var(--gray-20);
}

.auth .page-title h3 {
  font-weight: 700;
  font-size: 18px;
  color: var(--primary-text);
}

.auth .form-area {
  background: #ffffff;
  width: 100%;
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
  padding: 32px 24px;
  position: relative;
}

.auth .form-area input {
  width: 100%;
  border: none;
  outline: none;
  background: #f8f8ff;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 16px;
  font-size: 14px;
  color: #333;
}

.auth .form-area input::placeholder {
  color: #aaa;
}

.auth .form-area .primarbtn-y {
  width: 100%;
  background: #DD8A92;
  color: white;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  padding: 14px 0;
  margin-top: 8px;
  transition: all 0.3s ease;
}

.auth .form-area .btn-primary:hover {
  background: #DD8A92;
}

.auth .form-area h4 {
  text-align: center;
  font-weight: bold;
  font-size: 14px;
  color: #666;
}

.auth .form-area h3 {
  margin-top: 20px;
  text-align: center;
  font-size: 14px;
  color: #666;
  margin-bottom: 22px;
}


/* Teks bawah */
.auth .form-area h6 {
  margin-top: 20px;
  text-align: center;
  font-size: 14px;
  color: #666;
}

.auth .form-area h6 a {
  color: #DD8A92;
  font-weight: 600;
  text-decoration: none;
}

.auth .auth-form {
  padding: 45px 24px 90px 24px;
  background: #ffffff;
  padding: 24px;            /* kurangi padding bawah yang tadinya 90px */
  flex: 1;                  /* biar ikut stretch */
}

.auth.signin-email .auth-form {
  padding-top: 0;
}
.auth header {
  background-color: #FAE8ED; /* atau transparan jika ingin menyatu dengan background */
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.logo-img {
  max-width: 180px;
  height: auto;
}
.auth .auth-form label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-70);
  text-align: left;
}

.auth .auth-form .eye-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 12px;
}

.auth .auth-form .checkbox-label {
  margin-bottom: 0;
  font-weight: 600;
}

.auth .auth-form .input-psswd {
  padding-right: 48px;
}

.auth .auth-form .input-field-checkbox {
  accent-color: var(--primary);
}

.auth .auth-form .forgot-pass {
  color: var(--alert);
}

.auth .auth-form .btn-primary {
  margin-top: 32px;
}

.auth .divider {
  margin: 32px 0;
}

.auth .divider span {
  width: 62px;
  height: 1px;
  background: var(--additional1);
}

.auth .divider small {
  font-size: 14px;
  font-weight: 600;
  color: var(--additional1);
}

.auth .social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border-radius: 24px;
  padding: 15px;
  border: 1px solid var(--primary-text);
  gap: 12px;
  font-size: 16px;
  font-weight: 600;
  color: var(--primary-text);
}

.auth h6 {
  font-size: 16px;
  font-weight: 600;
  color: var(--additional1);
  text-align: center;
  margin-top: 66px;
}

.auth h6 button,
.auth h6 a {
  color: var(--primary);
  font-weight: 600;
}

.auth .digit-group {
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.auth .digit-group input {
  width: 56px;
  height: 56px;
  border: 1px solid var(--primary);
  border-radius: 24px;
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-text);
  caret-color: var(--primary);
}

.auth.enter-otp .auth-form .btn-primary {
  margin-top: 40px;
}

.select-lang .arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 12px;
}

/*===========================================================
02: login-success modal CSS
=============================================================*/
.loginSuccessModal .modal-content {
  border-radius: 16px;
  padding: 28px 10px;
}

.loginSuccessModal .modal-body {
  padding: 0 16px;
}

.loginSuccessModal .modal-body img {
  margin-bottom: 40px;
}

.loginSuccessModal .modal-body h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-text);
}

.loginSuccessModal .modal-body p {
  font-size: 14px;
  font-weight: 500;
  color: var(--additional1);
  padding-top: 8px;
}

.loginSuccessModal .modal-body button {
  margin-top: 30px;
}

/*===========================================================
03: language modal CSS
=============================================================*/
.languageModal ul li:not(:last-child) {
  margin-bottom: 16px;
}

.languageModal .lang-container {
  display: block;
  position: relative;
  padding: 12px 16px 12px 56px;
  cursor: pointer;
  font-size: 16px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  font-weight: 600;
  background: var(--secondary);
  color: var(--primary-text);
  border: 1px solid var(--gray-30);
  border-radius: 24px;
}

.languageModal .lang-container:has(input:checked) {
  border-color: var(--primary);
}

.languageModal .lang-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.languageModal .checkmark {
  position: absolute;
  top: 12px;
  left: 16px;
  height: 24px;
  width: 24px;
  background-color: transparent;
  border-radius: 50%;
  border: 1px solid var(--gray-30);
}

.languageModal .lang-container input:checked~.checkmark {
  background-color: var(--primary);
  border-color: var(--primary);
}

.languageModal .checkmark:after {
  content: "";
  position: absolute;
  display: none;
  top: 4px;
  left: 4px;
  width: 14px;
  height: 14px;
  background: url('../svg/check-white.svg') no-repeat center;
  background-size: contain;
}

.languageModal .lang-container input:checked~.checkmark:after {
  display: block;
}

.languageModal .modal-header {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  padding: 16px 24px 32px 24px;
  border: 0;
}

.languageModal .modal-header .modal-close {
  background: rgba(18, 18, 18, 0.08);
  height: 48px;
  width: 48px;
}

.languageModal .modal-header .modal-title {
  grid-column: span 4;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-text);
}

.languageModal .modal-body {
  padding: 0 24px 24px 24px;
}

/*===========================================================
04: dark-mode CSS
=============================================================*/
.dark-mode .auth .page-title h3,
.dark-mode .auth .heading h2,
.dark-mode .loginSuccessModal .modal-body h3,
.dark-mode .languageModal .modal-header .modal-title {
  color: white;
}

.dark-mode .languageModal .modal-header .modal-close,
.dark-mode .auth .page-title button {
  background: rgba(255, 255, 255, 0.2);
}

.dark-mode .languageModal .modal-header .modal-close img,
.dark-mode .auth .page-title button img {
  filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(7500%) hue-rotate(322deg) brightness(102%) contrast(102%);
}

.dark-mode .languageModal .lang-container,
.dark-mode .auth .digit-group input {
  background: var(--gray-80);
  color: white;
  caret-color: white;
}

.auth.signin {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center; /* biar form selalu di tengah */
}
.auth.signup {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center; /* biar form selalu di tengah */
}
.auth.profile {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center; /* biar form selalu di tengah */
}
