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

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
            background-color: #fafafa;
            color: #1a1a1a;
            font-size: 14px;
            line-height: 1.5;
        }

        .container {
            display: flex;
            min-height: 100vh;
        }

        /* LEFT SECTION - LOGIN FORM */
        .login-section {
            flex: 1;
            background: #ffffff;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 40px 20px;
        }

        .login-box {
            width: 100%;
            max-width: 400px;
        }

        .login-box h1 {
            font-size: 28px;
            font-weight: 600;
            color: #1a1a1a;
            margin-bottom: 8px;
        }

        .login-box .subtitle {
            font-size: 14px;
            color: #6b7280;
            margin-bottom: 32px;
        }

        /* FORM */
        .form-group {
            margin-bottom: 20px;
        }

        .form-group label {
            display: block;
            font-size: 14px;
            font-weight: 500;
            color: #374151;
            margin-bottom: 8px;
        }

        .form-group input {
            width: 100%;
            padding: 12px 14px;
            font-size: 14px;
            border: 1px solid #d1d5db;
            border-radius: 6px;
            background: #ffffff;
            color: #1f2937;
            transition: border-color 0.15s ease;
        }

        .form-group input::placeholder {
            color: #9ca3af;
        }

        .form-group input:focus {
            border-color: #3b82f6;
            outline: none;
        }

        /* FORGOT PASSWORD */
        .forgot-password {
            text-align: right;
            margin-bottom: 24px;
        }

        .forgot-password a {
            font-size: 13px;
            color: #6b7280;
            text-decoration: none;
            font-weight: 500;
        }

        .forgot-password a:hover {
            color: #1a1a1a;
        }
        /* === PASSWORD HIDE/SHOW ICON STYLE === */

/* Wrapper agar posisi icon bisa relative terhadap input */
.password-wrapper {
    position: relative;
    width: 100%;
}

/* Posisi icon mata */
.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #9ca3af; /* Warna abu-abu seperti placeholder */
    font-size: 16px;
    transition: color 0.2s;
    z-index: 10;
}

.toggle-password:hover {
    color: #374151; /* Warna lebih gelap saat hover */
}
.btn-back {
    position: absolute;
    top: 30px;
    left: 30px;
    display: inline-flex;
    align-items: center;
    gap: 8px; /* Jarak panah dan teks */
    text-decoration: none;
    color: #6b7280; /* Warna abu-abu soft */
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
    z-index: 10; /* Agar selalu di atas */
}

/* Efek Hover */
.btn-back:hover {
    color: #1a1a1a; /* Jadi hitam saat di-hover */
    transform: translateX(-4px); /* Efek gerak sedikit ke kiri */
}
/* Beri jarak padding kanan pada input agar teks tidak menabrak icon mata */
.password-wrapper input {
    padding-right: 45px; 
}
        /* BUTTONS */
        .btn-signin {
            width: 100%;
            padding: 12px;
            font-size: 14px;
            font-weight: 600;
            background: #1a1a1a;
            color: #ffffff;
            border: none;
            border-radius: 6px;
            cursor: pointer;
            margin-bottom: 16px;
        }

        .btn-signin:hover {
            background: #2d2d2d;
        }

        .btn-google {
            width: 100%;
            padding: 12px;
            font-size: 14px;
            font-weight: 500;
            background: #ffffff;
            color: #1a1a1a;
            border: 1px solid #d1d5db;
            border-radius: 6px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            margin-bottom: 24px;
        }

        .btn-google:hover {
            background: #f9fafb;
            border-color: #9ca3af;
        }

        .google-icon {
            width: 18px;
            height: 18px;
        }

        /* SIGNUP LINK */
        .signup-link {
            text-align: center;
            font-size: 13px;
            color: #6b7280;
        }

        .signup-link a {
            color: #1a1a1a;
            font-weight: 600;
            text-decoration: none;
        }

        .signup-link a:hover {
            color: #3b82f6;
        }

        /* RIGHT SECTION - IMAGE */
        .image-section {
            flex: 1;
            background-image: url('https://images.unsplash.com/photo-1596496181935-7801d2065877?q=80&w=1740&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
            background-size: cover;
            background-position: center;
            position: relative;
        }

        .image-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.1) 100%);
        }

        .image-text {
            position: absolute;
            bottom: 50px;
            right: 50px;
            color: #ffffff;
            font-size: 36px;
            font-weight: 600;
            text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
            z-index: 1;
        }

        /* RESPONSIVE */
        @media (max-width: 968px) {
            .container {
                flex-direction: column;
            }

            .image-section {
                min-height: 200px;
                order: -1;
            }

            .image-text {
                font-size: 28px;
                bottom: 30px;
                right: 30px;
            }

            .login-section {
                padding: 40px 24px;
            }
        }

        @media (max-width: 640px) {
            .login-box h1 {
                font-size: 24px;
            }

            .login-box .subtitle {
                font-size: 13px;
                margin-bottom: 28px;
            }

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

            .image-text {
                font-size: 24px;
                bottom: 20px;
                right: 20px;
            }
            .btn-back {
        top: 20px;
        left: 20px;
        font-size: 13px;
    }
        }



        /* Efek halus saat input difokuskan */
      .form-group input {
          transition: all 0.25s ease;
      }

      /* Saat user klik (focus), input sedikit "naik" dan berwarna lembut */
      .form-group input:focus {
          border-color: #3b82f6;
          box-shadow: 0 0 0 3px rgba(59,130,246,0.15);
          transform: translateY(-2px);
      }

      /* Saat hover, beri efek bayangan ringan */
      .form-group input:hover {
          box-shadow: 0 0 0 2px rgba(0,0,0,0.05);
      }



      /* ============================================= */
/* ✨ FLASH MESSAGE / OTP NOTIFICATION STYLE     */
/* ============================================= */

.flash-messages {
    margin-bottom: 20px;
    animation: fadeInUp 0.6s ease forwards;
}

.alert {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
}

/* Warna kategori alert */
.alert-success {
    background-color: #e6f9ed;
    color: #047857;
    border-left: 4px solid #10b981;
}

.alert-info {
    background-color: #e0f2fe;
    color: #0369a1;
    border-left: 4px solid #0ea5e9;
}

.alert-danger {
    background-color: #fee2e2;
    color: #b91c1c;
    border-left: 4px solid #ef4444;
}

/* Animasi lembut */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tambahan: animasi hilang perlahan (optional) */
.alert {
    transition: opacity 0.5s ease;
}
.alert.hide {
    opacity: 0;
}





.btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 10px;
  margin-top: 15px;
  cursor: pointer;
  text-decoration: none;
  color: #444;
  font-weight: 500;
  transition: 0.2s;
}

.btn-google img {
  width: 20px;
  margin-right: 10px;
}

.btn-google:hover {
  background: #f5f5f5;
}

.divider {
  text-align: center;
  margin: 20px 0 10px;
  color: #888;
  font-size: 14px;
  position: relative;
}

.divider span {
  background: #fff;
  padding: 0 10px;
  position: relative;
  z-index: 2;
}

.divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: #ddd;
  z-index: 1;
}






/* =========================================================
   OTP BOX STYLE — MODERN UI (Seperti contoh screenshot)
   ========================================================= */

.otp-box {
    background: #ffffff;
    padding: 32px 28px;
    border-radius: 14px;
    margin-top: 20px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
    animation: fadeIn 0.35s ease-out;
}

.otp-box h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #333;
    text-align: center;
}

.otp-box .subtitle {
    font-size: 14px;
    color: #555;
    text-align: center;
    line-height: 1.5;
    margin-bottom: 20px;
}

/* Input OTP */
.otp-box input[type="text"] {
    width: 100%;
    padding: 14px 18px;
    font-size: 18px;
    letter-spacing: 4px;
    text-align: center;
    border: 2px solid #dcdcdc;
    border-radius: 10px;
    outline: none;
    transition: 0.25s ease;
    font-weight: bold;
}

.otp-box input[type="text"]:focus {
    border-color: #4a90e2;
    box-shadow: 0 0 8px rgba(74,144,226,0.3);
}

/* Tombol Verifikasi */
.otp-box button.btn-signin {
    width: 100%;
    margin-top: 18px;
    background: #4a90e2;
    padding: 12px;
    border-radius: 10px;
    font-size: 17px;
    font-weight: 600;
    color: white;
    border: none;
    cursor: pointer;
    transition: 0.25s ease;
}

.otp-box button.btn-signin:hover {
    background: #357ABD;
}

/* Text note */
.otp-box .note {
    margin-top: 15px;
    font-size: 14px;
    text-align: center;
    color: #777;
}

.otp-box .note a {
    color: #4a90e2;
    font-weight: 600;
}

.otp-box .note a:hover {
    text-decoration: underline;
}

/* Fade-in animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
