/* ===== LOGIN PAGE ===== */

.login-page {
  display: flex;
  min-height: 100vh;
  font-family: "Open Sans", sans-serif;
}

/* ===== LEFT PANEL ===== */

.login-left {
  position: relative;
  width: 48%;
  min-height: 100vh;
  background-color: #0F2B5B;
  background-image: url(/assets/login/bg-login.svg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.login-left-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 40px;
  text-align: center;
  max-width: 420px;
}

.login-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  margin-bottom: 60px;
}

.login-logo-img {
  width: 100%;
  max-width: 220px;
  height: auto;
  display: block;
}

.login-left-text {
  margin-bottom: 40px;
}

.login-left-text h2 {
  font-size: 28px;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.25;
  margin: 0 0 16px;
}

.login-left-text p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin: 0;
}

.login-globe {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== RIGHT PANEL ===== */

.login-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  padding: 40px;
}

.login-right-inner {
  width: 100%;
  max-width: 448px;
}

.login-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #6E7F93;
  text-decoration: none;
  margin-bottom: 40px;
  transition: color 0.2s;
}

.login-back:hover {
  color: #0F2B5B;
}

.login-back svg {
  flex-shrink: 0;
}

.login-form-wrapper h1 {
  font-size: 36px;
  font-weight: 800;
  color: #0F2B5B;
  line-height: 1.2;
  margin: 0 0 8px;
}

.login-subtitle {
  font-size: 15px;
  color: #6E7F93;
  margin: 0 0 24px;
  line-height: 1.5;
}

/* ===== TABS ===== */

.login-tabs {
  display: flex;
  background: #FFFFFF;
  border: 1px solid rgba(26, 79, 186, 0.1);
  border-radius: 14px;
  padding: 5px;
  margin-bottom: 24px;
}

.login-tab {
  flex: 1;
  height: 41px;
  border: none;
  border-radius: 10px;
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  background: transparent;
  color: #6E7F93;
}

.login-tab.active {
  background: #205CD4;
  color: #FFFFFF;
  font-weight: 700;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* ===== FORM ===== */

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

.login-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.login-field label {
  font-size: 14px;
  font-weight: 600;
  color: #0F2B5B;
}

.login-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.login-input-icon {
  position: absolute;
  left: 16px;
  width: 16px;
  height: 16px;
  pointer-events: none;
  flex-shrink: 0;
}

.login-input-wrapper input {
  width: 100%;
  height: 54px;
  border: 1px solid #E5E7EB;
  border-radius: 14px;
  padding: 0 48px 0 44px;
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  color: #0F2B5B;
  background: #FFFFFF;
  outline: none;
  transition: border-color 0.2s;
}

.login-input-wrapper input::placeholder {
  color: #B5BEC8;
}

.login-input-wrapper input:focus {
  border-color: #205CD4;
}

.login-eye-btn {
  position: absolute;
  right: 16px;
  width: 16px;
  height: 16px;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-forgot-row {
  display: flex;
  justify-content: flex-end;
}

.login-forgot {
  font-size: 13px;
  font-weight: 500;
  color: #1A4FBA;
  text-decoration: none;
  transition: color 0.2s;
}

.login-forgot:hover {
  color: #0F2B5B;
}

/* ===== SUBMIT BUTTON ===== */

.login-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 46px;
  border: none;
  border-radius: 12px;
  background: #F7BB33;
  color: #0F2B5B;
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 0 0 #C27E0C, 0 2px 4px rgba(37, 43, 47, 0.06);
  transition: transform 0.15s, box-shadow 0.15s;
}

.login-submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 0 0 #C27E0C, 0 4px 8px rgba(37, 43, 47, 0.1);
}

.login-submit-btn:active {
  transform: translateY(1px);
  box-shadow: 0 1px 0 0 #C27E0C, 0 1px 2px rgba(37, 43, 47, 0.06);
}

/* ===== DIVIDER ===== */

.login-divider {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 24px 0;
}

.login-divider-line {
  flex: 1;
  height: 1px;
  background: #E5E7EB;
}

.login-divider-text {
  font-size: 12px;
  font-weight: 600;
  color: #E5E7EB;
}

/* ===== GOOGLE BUTTON ===== */

.login-google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  height: 54px;
  border: 1px solid #E5E7EB;
  border-radius: 15px;
  background: #FFFFFF;
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #0F2B5B;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.login-google-btn:hover {
  background: #F9FAFB;
  border-color: #D1D5DB;
}

.login-google-btn svg {
  flex-shrink: 0;
}

/* ===== TERMS ===== */

.login-terms {
  font-size: 13px;
  color: #6E7F93;
  text-align: center;
  line-height: 1.7;
  margin: 20px 0 0;
}

.login-terms a {
  color: #1A4FBA;
  font-weight: 700;
  text-decoration: none;
}

.login-terms a:hover {
  text-decoration: underline;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 1024px) {
  .login-left {
    width: 42%;
  }

  .login-left-content {
    padding: 40px 30px;
    max-width: 360px;
  }

  .login-left-text h2 {
    font-size: 24px;
  }

  .login-left-image {
    width: 220px;
    height: 220px;
  }

  .login-form-wrapper h1 {
    font-size: 30px;
  }
}

@media (max-width: 768px) {
  .login-page {
    flex-direction: column;
  }

  .login-left {
    width: 100%;
    min-height: auto;
    padding: 40px 20px;
  }

  .login-left-content {
    padding: 0;
    max-width: 100%;
  }

  .login-logo {
    margin-bottom: 30px;
  }

  .login-left-text {
    margin-bottom: 24px;
  }

  .login-left-text h2 {
    font-size: 22px;
  }

  .login-left-text p {
    font-size: 14px;
  }

  .login-left-image {
    width: 180px;
    height: 180px;
  }

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

  .login-form-wrapper h1 {
    font-size: 26px;
  }

  .login-back {
    margin-bottom: 24px;
  }
}

@media (max-width: 480px) {
  .login-left-text h2 {
    font-size: 20px;
  }

  .login-left-image {
    width: 150px;
    height: 150px;
  }

  .login-form-wrapper h1 {
    font-size: 22px;
  }

  .login-tabs {
    border-radius: 10px;
  }

  .login-tab {
    height: 36px;
    font-size: 13px;
    border-radius: 8px;
  }

  .login-input-wrapper input {
    height: 48px;
    font-size: 15px;
  }

  .login-submit-btn {
    height: 44px;
    font-size: 15px;
  }

  .login-google-btn {
    height: 48px;
    font-size: 15px;
  }
}
