:root {
  --sivika-primary: #102f63;
  --sivika-dark: #0b2045;
  --sivika-light: #1e477f;
  --sivika-blue: #0756a8;
  --sivika-gold: #ffc400;

  --sivika-bg: #f5f8fc;
  --sivika-white: #ffffff;
  --sivika-text: #1e293b;
  --sivika-muted: #64748b;
  --sivika-border: #e2e8f0;

  --sivika-danger: #dc2626;
  --sivika-success: #16a34a;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  font-family: "Plus Jakarta Sans", sans-serif;
  background: var(--sivika-bg);
  color: var(--sivika-text);
}

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

  background:
    radial-gradient(circle at 10% 10%, rgba(255, 196, 0, 0.1), transparent 25%),
    radial-gradient(circle at 90% 90%, rgba(16, 47, 99, 0.08), transparent 30%),
    #f5f8fc;
}

.auth-container {
  width: 100%;
  max-width: 1050px;
}

/* MAIN CARD */

.auth-card {
  width: 100%;
  min-height: 570px;
  display: grid;
  grid-template-columns: 40% 60%;
  background: var(--sivika-white);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(16, 47, 99, 0.12);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

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

.auth-left {
  position: relative;
  padding: 45px 40px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;

  background: linear-gradient(150deg, #0b2045 0%, #102f63 55%, #1e477f 100%);
}

.auth-left::before {
  content: "";
  position: absolute;
  width: 350px;
  height: 350px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  top: -170px;
  right: -150px;
}

.auth-left::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 50%;
  bottom: -120px;
  left: -120px;
}

.left-content {
  position: relative;
  z-index: 2;
}

/* BRAND */

.brand-logo {
  text-align: center;
}

/* .logo-icon {
  width: 76px;
  height: 76px;
  margin: 0 auto 15px;
  border-radius: 21px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--sivika-gold);
  color: var(--sivika-dark);
  font-size: 38px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
} */

.logo-icon {
  width: 76px;
  height: 76px;
  margin: 0 auto 15px;

  display: flex;
  align-items: center;
  justify-content: center;

  /* background: linear-gradient(135deg, #ffc400, #f0a900); */
  background: linear-gradient(135deg, #ffffff, #f3f1ef);

  border-radius: 20px;
  padding: 12px;

  box-shadow: 0 8px 20px rgba(255, 196, 0, 0.2);

  overflow: hidden;
}

/* LOGO IMAGE */
.logo-icon img {
  width: 100%;
  height: 100%;

  display: block;
  object-fit: contain;
  object-position: center;
}
.brand-name {
  font-size: 33px;
  font-weight: 800;
  letter-spacing: 3px;
  color: white;
}

.brand-description {
  max-width: 260px;
  margin: 8px auto 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  line-height: 1.8;
}

.left-divider {
  width: 55px;
  height: 4px;
  margin: 35px auto;
  border-radius: 5px;
  background: var(--sivika-gold);
}

/* WELCOME */

.welcome-content {
  color: white;
}

.welcome-label {
  display: inline-block;
  padding: 7px 12px;
  border: 1px solid rgba(255, 196, 0, 0.35);
  border-radius: 20px;
  color: var(--sivika-gold);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.2px;
}

.welcome-content h2 {
  font-size: 27px;
  font-weight: 800;
  line-height: 1.45;
  margin: 20px 0 12px;
}

.welcome-content h2 span {
  color: var(--sivika-gold);
}

.welcome-content p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  line-height: 1.9;
  margin-bottom: 25px;
}

/* FEATURES */

.left-features {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 11px;
}

.feature-item i {
  color: var(--sivika-gold);
  font-size: 15px;
}

.left-footer {
  position: relative;
  z-index: 2;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  color: rgba(255, 255, 255, 0.55);
  font-size: 10px;
}

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

.auth-right {
  padding: 45px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* HEADER */

.form-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}

.form-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  background: #fff4cc;
  color: var(--sivika-primary);
  font-size: 22px;
}

.form-header h3 {
  color: var(--sivika-dark);
  font-size: 21px;
  font-weight: 800;
  margin-bottom: 5px;
}

.form-header p {
  color: var(--sivika-muted);
  font-size: 11px;
  margin: 0;
}

/* DESCRIPTION */

.form-description {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px;
  margin-bottom: 27px;
  background: #f1f7fe;
  border: 1px solid #d8e8fa;
  border-radius: 10px;
}

.description-icon {
  color: var(--sivika-blue);
  font-size: 18px;
  flex-shrink: 0;
}

.form-description p {
  color: #31577e;
  font-size: 11px;
  line-height: 1.8;
  margin: 0;
}

/* FORM */

.form-group {
  margin-bottom: 23px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--sivika-text);
  font-size: 11px;
  font-weight: 700;
}

.required {
  color: var(--sivika-danger);
}

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

.input-icon {
  position: absolute;
  left: 14px;
  z-index: 3;
  color: var(--sivika-primary);
  font-size: 15px;
  pointer-events: none;
}

.input-wrapper .form-control {
  width: 100%;
  height: 48px;
  padding: 10px 42px;
  border: 1px solid var(--sivika-border);
  border-radius: 9px;
  color: var(--sivika-text);
  background: #fafcff;
  font-size: 11px;
  box-shadow: none;
  transition: 0.2s ease;
}

.input-wrapper .form-control::placeholder {
  color: #a0aec0;
}

.input-wrapper .form-control:focus {
  border-color: var(--sivika-blue);
  background: white;
  box-shadow: 0 0 0 3px rgba(7, 86, 168, 0.08);
}

/* BUTTON */

.btn-submit {
  width: 100%;
  min-height: 49px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-radius: 9px;
  background: var(--sivika-primary);
  color: white;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.25s ease;
}

.btn-submit:hover {
  background: var(--sivika-blue);
  box-shadow: 0 8px 20px rgba(16, 47, 99, 0.18);
  transform: translateY(-2px);
}

.btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.btn-submit > i {
  font-size: 16px;
}

/* FOOTER */

.form-footer {
  text-align: center;
  margin-top: 27px;
}

.back-login {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--sivika-blue);
  text-decoration: none;
}

.back-login:hover {
  text-decoration: underline;
}

.login-options {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  font-size: 10px;
  color: var(--sivika-muted);
}

.login-options a {
  color: var(--sivika-muted);
  text-decoration: none;
}

.login-options a:hover {
  color: var(--sivika-blue);
}

/* ALERT */

.alert {
  font-size: 11px;
  border-radius: 8px;
  margin-bottom: 17px;
}

/* PAGE FOOTER */

.page-footer {
  text-align: center;
  margin-top: 20px;
  color: var(--sivika-muted);
  font-size: 10px;
}

.footer-dot {
  margin: 0 7px;
  color: var(--sivika-gold);
}

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

@media (max-width: 991px) {
  .auth-card {
    grid-template-columns: 38% 62%;
  }

  .auth-left {
    padding: 35px 25px 25px;
  }

  .auth-right {
    padding: 35px 35px;
  }

  .welcome-content h2 {
    font-size: 23px;
  }
}

@media (max-width: 767px) {
  .auth-wrapper {
    padding: 20px 12px;
    align-items: flex-start;
  }

  .auth-card {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: auto;
    border-radius: 17px;
  }

  .auth-left {
    padding: 28px 25px;
  }

  .logo-icon {
    width: 58px;
    height: 58px;
    font-size: 29px;
    border-radius: 16px;
    margin-bottom: 10px;
  }

  .brand-name {
    font-size: 27px;
  }

  .brand-description {
    font-size: 10px;
  }

  .left-divider {
    margin: 18px auto;
  }

  .welcome-content {
    text-align: center;
  }

  .welcome-content h2 {
    font-size: 20px;
    margin: 12px 0 7px;
  }

  .welcome-content p {
    font-size: 10px;
    margin-bottom: 15px;
  }

  .left-features,
  .left-footer {
    display: none;
  }

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

  .form-header {
    margin-bottom: 22px;
  }

  .form-header h3 {
    font-size: 19px;
  }
}

@media (max-width: 380px) {
  .auth-right {
    padding: 25px 18px;
  }

  .form-header h3 {
    font-size: 17px;
  }

  .login-options {
    gap: 7px;
  }
}
