* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: century gothic, sans-serif;
}

body {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #eef3fa;
}

.container {
  width: 100%;
  height: 100vh;
  display: flex;
}

/* LEFT */
.left-side {
  width: 40%;
  background: #f4f7fb;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px;
}

/* LOGIN CARD */
.login-card {
  position: relative;
  width: 100%;
  max-width: 480px;
  background: white;
  padding: 45px;
  border-radius: 30px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

/* BACK BUTTON */
.back-btn {
  position: absolute;
  top: 25px;
  left: 25px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #f1f5f9;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  color: #0f172a;
  transition: 0.3s;
}

.back-btn:hover {
  background: #2196f3;
  color: white;
  transform: translateX(-3px);
}

/* LOGO */
.logo-box {
  width: 60px;
  height: 60px;
  border-radius: 15px;
  background: linear-gradient(135deg, #2196f3, #005eff);
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 28px;
  flex-shrink: 0;
}

/* TITLE */
.logo-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 30px;
}

.login-card h1 {
  color: #0f172a;
  font-size: 36px;
  margin: 0;
  font-weight: 700;
}

/* ALERT */
.alert {
  padding: 14px;
  border-radius: 14px;
  margin-bottom: 20px;
  text-align: center;
  font-weight: 600;
}

.error {
  background: #fee2e2;
  color: #dc2626;
}

/* INPUT */
.input-group {
  margin-bottom: 20px;
}

.input-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #1e293b;
}

.input-box {
  display: flex;
  align-items: center;
  border: 1px solid #dbeafe;
  border-radius: 14px;
  overflow: hidden;
  background: #f8fafc;
  transition: 0.3s;
}

.input-box:focus-within {
  border-color: #2196f3;
  box-shadow: 0 0 0 4px rgba(33, 150, 243, 0.1);
}

.input-box i {
  padding: 0 15px;
  color: #64748b;
}

.input-box input {
  width: 100%;
  border: none;
  outline: none;
  background: none;
  padding: 18px 10px;
  font-size: 15px;
}

.eye-icon {
  cursor: pointer;
}

/* ROLE */
.role-group {
  display: flex;
  gap: 12px;
}

.role-group input {
  display: none;
}

.role-group label {
  flex: 1;
  text-align: center;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid #cbd5e1;
  cursor: pointer;
  transition: 0.3s;
  background: #f8fafc;
}

.role-group label:hover {
  border-color: #2196f3;
}

.role-group input:checked + label {
  background: linear-gradient(135deg, #2196f3, #005eff);
  color: white;
  border: none;
}

/* OPTIONS */
.options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 5px;
  margin-bottom: 20px;
}

.options a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
}

.remember {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* BUTTON LOGIN */
.btn-login {
  margin-bottom: 15px;
  width: 100%;
  border: none;
  padding: 17px;
  border-radius: 14px;
  background: linear-gradient(135deg, #2196f3, #005eff);
  color: white;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.btn-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(33, 150, 243, 0.35);
}

/* SEPARATOR */
.separator {
  margin: 28px 0;
  display: flex;
  align-items: center;
  gap: 15px;
  color: #94a3b8;
}

.separator::before,
.separator::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e2e8f0;
}

/* REGISTER */
.btn-register {
  width: 100%;
  padding: 17px;
  border-radius: 14px;
  border: 1px solid #dbeafe;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #0f172a;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  transition: 0.3s;
}

.btn-register:hover {
  background: #f8fafc;
}

/* COPYRIGHT */
.copyright {
  margin-top: 30px;
  text-align: center;
  color: #94a3b8;
  font-size: 14px;
}

/* RIGHT */
.right-side {
  width: 60%;
  background: url('../../../assets/images/BG1.1.png') no-repeat center center/cover;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* OVERLAY */
.overlay {
  width: 100%;
  height: 100%;
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* LOGO DESA */
.logo-desa {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 45px;
  margin-bottom: 25px;
  overflow: hidden;
}

/* TITLE */
.overlay h1 {
 margin-top: 150px;
  font-size: 58px;
  margin-bottom: 5px;
}

.overlay p {
  margin-top: 10px;
  font-size: 24px;
  margin-bottom: 50px;
}

/* FEATURE */
.feature-box {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

.feature-card {
  width: 240px;
  background: white;
  border-radius: 28px;
  padding: 22px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
  transition: 0.3s;
}

.feature-card:hover {
  transform: translateY(-8px);
}

.feature-card i {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 26px;
  margin: 0 auto 18px;
  background: #eff6ff;
  color: #2563eb;
}

.feature-card h3 {
  font-size: 21px;
  margin-bottom: 12px;
  color: #0f172a;
}

.feature-card p {
  color: #64748b;
  line-height: 1.7;
  font-size: 15px;
}

.feature-card {
  width: 250px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  padding: 30px 25px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-card i {
  font-size: 38px;
  margin-bottom: 20px;
}

.feature-card h3 {
  margin-bottom: 12px;
  font-size: 24px;
}

.feature-card p {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 0;
}

.feature-card.blue {
  background:white;
}

.feature-card.blue i {
  background: #e8f0ff;
  color: #2563eb;
}

/* RESPONSIVE */
@media (max-width: 1200px) {
  .overlay h1 {
    font-size: 42px;
  }
  .feature-box {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 950px) {
  .right-side {
    display: none;
  }
  .left-side {
    width: 100%;
  }
}
