@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.login-page-new {
  height: 100vh;
  display: flex;
  flex-direction: row;
  overflow: hidden;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ── LEFT PANEL ── */
.left-panel {
  flex: 1;
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.left-panel img.panel-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}


.left-panel-brand {
  position: absolute;
  top: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  text-align: center;
  backdrop-filter: blur(20px);
  padding: 2rem 2.5rem;
  border-radius: 24px;
}

.left-panel-brand h2 {
  font-size: 2.4rem;
  font-weight: 900;
  letter-spacing: -0.8px;
  background: linear-gradient(135deg, #ff6c00, #ff8c00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.25rem;
}

.left-panel-brand p {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-top: 0.5rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.left-panel-brand .brand-divider {
  width: 70px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ff6c00, #ff8c00, transparent);
  margin: 1.25rem auto 0;
  border-radius: 2px;
}

/* ── RIGHT PANEL ── */
.right-panel {
  flex: 1;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f8f6;
  padding: 0;
  overflow-y: auto;
}

/* ── CARD ── */
.login-form-card {
  width: 100%;
  height: 100%;
  min-height: 100vh;
  background: #ffffff;
  padding: 3rem 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: none;
  border-radius: 0;
}

.form-inner {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

.card-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.card-logo-dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #ff6c00;
}

.card-logo span {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #ff6c00;
}

.card-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 0.5rem;
}

.card-subtitle {
  font-size: 1.1rem;
  color: #888;
  margin-bottom: 2.5rem;
  font-weight: 500;
}

/* ── FORM FIELDS ── */
.field-group {
  margin-bottom: 1.5rem;
}

.field-group label {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #555;
  margin-bottom: 0.65rem;
}

.field-group .form-control {
  width: 100%;
  padding: 1.1rem 1.4rem;
  border-radius: 14px;
  border: 2px solid #e8e8e8;
  font-size: 1.1rem;
  font-family: inherit;
  color: #1a1a1a;
  background: #fafafa;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  height: auto;
}

.password-input {
  padding-right: 3.5rem !important;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #888;
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0.25rem;
  z-index: 5;
  transition: color 0.2s ease, background 0.2s ease;
  border-radius: 50%;
  outline: none;
}

.password-toggle:focus,
.password-toggle:active {
  outline: none;
  box-shadow: none;
}

.password-toggle:hover {
  color: #ff6c00;
  background: rgba(255, 108, 0, 0.1);
}

.field-group .position-relative {
  position: relative;
}

.field-group .form-control:focus {
  border-color: #ff6c00;
  box-shadow: 0 0 0 4px rgba(255, 108, 0, 0.12);
  background: #fff;
}

.field-group .form-control::placeholder {
  color: #bbb;
}

/* ── BUTTONS ── */
.btn-login {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  padding: 1.2rem 1.5rem;
  border-radius: 14px;
  border: none;
  background: #ff6c00;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  font-family: inherit;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
  text-decoration: none;
}

.btn-login:hover {
  background: #e55e00;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(255, 108, 0, 0.35);
  color: #fff;
}

.btn-login:active {
  transform: translateY(0);
  box-shadow: none;
}

.btn-apply {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  padding: 1.2rem 1.5rem;
  border-radius: 14px;
  border: 2px solid #ff6c00;
  background: transparent;
  color: #ff6c00;
  font-size: 1.1rem;
  font-weight: 700;
  font-family: inherit;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  text-decoration: none;
}

.btn-apply:hover {
  background: rgba(255, 108, 0, 0.06);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(255, 108, 0, 0.12);
  color: #ff6c00;
  text-decoration: none;
}

/* ── DIVIDER ── */
.divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.75rem 0 1.5rem;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #ececec;
}

.divider span {
  font-size: 0.9rem;
  color: #bbb;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
}

/* ── SOCIAL ROW ── */
.social-row {
  display: flex;
  justify-content: flex-end;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
}

.social-icon-btn {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #f3f3f3;
  border: 1.5px solid #e8e8e8;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-size: 1rem;
  transition: all 0.2s ease;
  text-decoration: none;
}

.social-icon-btn:hover {
  background: #ff6c00;
  border-color: #ff6c00;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 108, 0, 0.3);
}

/* ── ALERT ── */
.alert {
  font-size: 1rem;
  margin-bottom: 1.25rem;
}

.swal2-popup.swal2-toast {
  border-radius: 22px;
}

.swal2-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.swal2-html-container {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem;
  color: #444;
}

.swal2-icon.swal2-error {
  border-color: #ff4444;
  color: #ff4444;
}

.swal2-icon.swal2-success {
  border-color: #00c851;
  color: #00c851;
}

.swal2-icon.swal2-warning {
  border-color: #ffbb33;
  color: #ffbb33;
}

.swal2-icon.swal2-info {
  border-color: #33b5e5;
  color: #33b5e5;
}

@media (max-width: 1024px) {
  .login-page-new {
    flex-direction: column;
  }

  .left-panel {
    display: none;
  }

  .right-panel {
    flex: 1;
    background: linear-gradient(135deg, #f8f8f6 0%, #e8f0fe 100%);
  }

  .login-form-card {
    height: 100vh;
    min-height: 100vh;
    padding: 2.5rem 2rem;
    border-radius: 0;
  }

  .social-row {
    justify-content: center;
    margin-bottom: 1.5rem;
  }

  .card-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .login-form-card {
    padding: 2rem 1.5rem;
  }

  .field-group .form-control,
  .password-input {
    padding: 1rem 1.2rem;
    font-size: 1rem;
  }

  .password-toggle {
    right: 0.8rem;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .login-page-new {
    flex-direction: column;
  }

  .left-panel {
    display: none;
  }

  .right-panel {
    flex: 1;
    background: linear-gradient(135deg, #f8f8f6 0%, #e8f0fe 100%);
  }

  .login-form-card {
    height: 100vh;
    min-height: 100vh;
    padding: 2rem 1.25rem;
    border-radius: 0;
  }

  .card-title {
    font-size: 1.9rem;
    margin-bottom: 0.5rem;
  }

  .card-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .social-row {
    justify-content: center;
    margin-bottom: 1.5rem;
  }

  .field-group {
    margin-bottom: 1.25rem;
  }

  .field-group label {
    font-size: 0.85rem;
  }

  .field-group .form-control,
  .password-input {
    padding: 0.95rem 1.1rem;
    font-size: 0.95rem;
  }

  .password-toggle {
    right: 0.75rem;
    font-size: 0.95rem;
  }

  .btn-login,
  .btn-apply {
    padding: 1rem 1.25rem;
    font-size: 1rem;
  }

  .divider {
    margin: 1.25rem 0 1rem;
  }
}

@media (max-width: 360px) {
  .login-form-card {
    padding: 1.5rem 1rem;
  }

  .card-title {
    font-size: 1.7rem;
  }

  .field-group .form-control,
  .password-input {
    padding: 0.9rem 1rem;
  }
}