
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
  overflow: hidden;
}

body {
  font-family: "Inter", sans-serif;
  height: 100vh;
  display: flex;
}

/* ── LEFT PANEL ── */
.left {
  width: 480px;
  min-width: 480px;
  height: 100vh;
  background: #fdf0e6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 36px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.blob {
  position: absolute;
  border-radius: 50%;
  background: rgba(235, 175, 130, 0.28);
}
.blob-tl {
  width: 200px;
  height: 200px;
  top: -60px;
  left: -60px;
}
.blob-tr {
  width: 140px;
  height: 140px;
  top: 40px;
  right: -50px;
  border-radius: 40% 60% 55% 45%;
}
.blob-bl {
  width: 170px;
  height: 170px;
  bottom: -50px;
  left: -40px;
  border-radius: 55% 45% 40% 60%;
}
.blob-br {
  width: 110px;
  height: 110px;
  bottom: 80px;
  right: -30px;
}

.left-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.app-icon {
  width: 64px;
  height: 64px;
  background: #e06b1a;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(224, 107, 26, 0.3);
}
.app-icon svg {
  width: 32px;
  height: 32px;
}

.app-title {
  font-size: 25px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.35;
  margin-bottom: 10px;
}

.app-desc {
  font-size: 12px;
  color: #a06a3b;
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 280px;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.feature-item {
  background: #fff;
  border-radius: 12px;
  padding: 13px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 500;
  color: #2d2d2d;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.feature-icon {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer-text {
  position: absolute;
  bottom: 18px;
  font-size: 10.5px;
  color: #c09070;
  letter-spacing: 0.02em;
}

/* ── RIGHT PANEL ── */
.right {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  overflow: hidden;
}

.bg-image {
  position: absolute;
  inset: 0;
  background: url("../../assets/images/ceitpng.png") center center / cover
    no-repeat;
  filter: blur(6px) brightness(0.72);
  transform: scale(1.04);
}

.login-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  padding: 0 40px;
}

.qr-access {
  position: fixed !important;
  right: 24px !important;
  bottom: 24px !important;
  left: auto !important;
  top: auto !important;
  width: 108px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 20px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #1f2937;
  text-align: center;
  z-index: 9999;
  backdrop-filter: blur(10px);
}

.qr-access img {
  width: 88px;
  height: 88px;
  border-radius: 16px;
  object-fit: cover;
  background: #fff;
}

.qr-access span {
  display: block;
  line-height: 1.2;
  font-weight: 700;
  font-size: 11px;
  color: #111827;
}

.qr-access span {
  display: block;
  line-height: 1.2;
  font-weight: 700;
}

.login-title {
  font-size: 26px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.login-subtitle {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 28px;
}

.field-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  margin-bottom: 7px;
}

.field-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 7px;
}

.forgot-link {
  font-size: 12px;
  color: #f97316;
  text-decoration: none;
  font-weight: 500;
}
.forgot-link:hover {
  text-decoration: underline;
}

.input-wrap {
  position: relative;
  margin-bottom: 18px;
}

.input-wrap input {
  width: 100%;
  padding: 13px 16px;
  border-radius: 10px;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  color: #1a1a1a;
  font-family: "Inter", sans-serif;
  outline: none;
  transition: border-color 0.2s;
}
.input-wrap input::placeholder {
  color: #9ca3af;
}
.input-wrap input:focus {
  border-color: #f97316;
  background: #fff;
}

.eye-btn {
  position: absolute;
  right: 13px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: #9ca3af;
  display: flex;
  align-items: center;
}

.btn-signin {
  width: 100%;
  padding: 14px;
  background: #f97316;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-family: "Inter", sans-serif;
  transition:
    background 0.2s,
    transform 0.1s;
  margin-top: 4px;
}
.btn-signin:hover {
  background: #ea6a0a;
}
.btn-signin:active {
  transform: scale(0.99);
}

/* ── TABLET (≤ 1024px) ── */
@media (max-width: 1024px) {
  .left {
    width: 300px;
    min-width: 300px;
    padding: 40px 24px;
  }
  .app-desc {
    display: none;
  }
  .login-card {
    padding: 0 28px;
  }
}

/* ── MOBILE (≤ 768px): stack vertically ── */
@media (max-width: 768px) {
  html,
  body {
    overflow: hidden;
    height: 100%;
  }

  body {
    flex-direction: column;
    height: 100vh;
  }

  .left {
    width: 100%;
    min-width: unset;
    height: auto;
    flex-shrink: 0;
    padding: 20px 24px;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
  }

  .blob-tl {
    width: 320px;
    height: 320px;
    top: -80px;
    left: -80px;
  }
  .blob-tr {
    width: 220px;
    height: 220px;
    top: 20px;
    right: -80px;
    border-radius: 40% 60% 55% 45%;
  }
  .blob-bl {
    width: 260px;
    height: 260px;
    bottom: -80px;
    left: -60px;
    border-radius: 55% 45% 40% 60%;
  }
  .blob-br {
    width: 180px;
    height: 180px;
    bottom: 60px;
    right: -50px;
  }

  .blob-center {
    width: 380px;
    height: 380px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: rgba(235, 175, 130, 0.2);
  }

  .left-content {
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 14px;
  }

  .app-icon {
    width: 44px;
    height: 44px;
    border-radius: 11px;
    margin-bottom: 0;
    flex-shrink: 0;
  }
  .app-icon svg {
    width: 22px;
    height: 22px;
  }

  .app-title {
    font-size: 13.5px;
    margin-bottom: 0;
  }
  .app-desc,
  .feature-list,
  .footer-text {
    display: none;
  }

  .right {
    flex: 1;
    height: 0;
    min-height: 0;
  }

  .login-card {
    padding: 0 28px;
    max-width: 100%;
  }

  .login-title {
    font-size: 22px;
  }
}

/* ── SMALL MOBILE (≤ 480px) ── */
@media (max-width: 480px) {
  .left {
    padding: 16px 18px;
  }
  .login-card {
    padding: 0 20px;
  }
  .login-title {
    font-size: 19px;
  }
  .input-wrap input {
    font-size: 13px;
    padding: 12px 14px;
  }
  .btn-signin {
    font-size: 14px;
    padding: 12px;
  }
}
