* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  min-height: 100vh;
  background: #ffffff;
  overflow-x: hidden;
  overflow-y: auto;
}

.login-page {
  min-height: 100vh;
  width: 100%;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
}

.login-visual {
  background: url("../images/login.png") center / contain no-repeat;
}

.login-form-area {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px;
  overflow-y: auto;
}

.login-box {
  width: 100%;
  max-width: 420px;
}

.logo-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.logo-wrapper img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  padding: 8px;
  background: #fff;
}

.brand {
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  color: #1d4d8d;
}

.subtitle {
  text-align: center;
  font-size: 14px;
  color: #64748b;
  margin-bottom: 35px;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.login-form label {
  font-size: 13px;
  font-weight: 600;
  color: #334155;
}

.login-form input {
  width: 100%;
  padding: 15px 46px 15px 15px;
  border-radius: 14px;
  border: 1px solid #cbd5e1;
  font-size: 14px;
  transition: 0.25s;
}

.login-form input:focus {
  outline: none;
  border-color: #1d4d8d;
  box-shadow: 0 0 0 4px rgba(29, 77, 141, 0.15);
}

/* PASSWORD INPUT */
.password-field {
  position: relative;
}

.password-field i {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  cursor: pointer;
  font-size: 16px;
}

.password-field i:hover {
  color: #1d4d8d;
}

.login-form button {
  margin-top: 10px;
  padding: 16px;
  border: none;
  border-radius: 16px;
  background: #1d4d8d;
  color: white;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  box-shadow: 0 14px 40px rgba(29, 77, 141, 0.35);
  transition: 0.3s;
}

.login-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 50px rgba(29, 77, 141, 0.45);
}

.login-footer {
  margin-top: 18px;
  font-size: 13px;
  text-align: center;
  color: #94a3b8;
}

.login-footer a {
  text-decoration: underline;
  color: #64748b;
}

.signup-link {
  margin-top: 26px;
  text-align: center;
}

.signup-link a {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 14px;
  background: rgba(29, 77, 141, 0.08);
  color: #1d4d8d;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
}

.payment-logos {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 14px;
}

/* .payment-logos img {
        height: 30px;
    } */

@media (max-width: 900px) {
  .login-page {
    grid-template-columns: 1fr;
  }

  .login-visual {
    display: none;
  }
}

/* ===== SWEETALERT CUSTOM THEME ===== */
.swal2-popup {
  font-family: "Inter", sans-serif;
  border-radius: 16px;
  padding: 28px;
}

.swal2-title {
  color: var(--brand-main);
  font-weight: 700;
}

.swal2-html-container,
.swal2-content {
  color: #444;
  font-size: 15px;
}

.swal2-icon {
  border-color: var(--brand-main) !important;
  color: var(--brand-main) !important;
}

.swal2-confirm {
  background: var(--brand-main) !important;
  border-radius: 10px !important;
  padding: 12px 26px !important;
  font-weight: 600 !important;
  transition: 0.3s;
}

.swal2-confirm:hover {
  background: var(--brand-dark) !important;
}

.swal2-cancel {
  background: #eee !important;
  color: #333 !important;
  border-radius: 10px !important;
}

.swal2-loader {
  border-color: var(--brand-light) !important;
  border-top-color: var(--brand-main) !important;
}
