/* Import Google Font untuk tipografi premium */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&display=swap');

/* Mengatur body agar full-screen dan menyembunyikan scrollbar */
body {
    font-family: 'Inter', sans-serif;
    background-color: #110e1e; /* Latar belakang gelap jika 3D gagal dimuat */
    overflow: hidden;
}

/* Kanvas untuk latar belakang 3D */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Posisikan di paling belakang */
}

/* Kontainer untuk menengahkan kartu login */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 1rem;
}

/* KARTU LOGIN UTAMA DENGAN EFEK KACA (Glassmorphism) */
.login-card {
    width: 100%;
    max-width: 450px;
    background: rgba(26, 23, 42, 0.55); /* Latar belakang kaca ungu gelap */
    backdrop-filter: blur(15px); /* Efek blur inti */
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px; /* Sudut lebih tumpul untuk kesan modern */
    padding: 3rem;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    color: #fff;
    animation: fadeInFromBottom 0.8s ease-out; /* Animasi muncul */
}
@keyframes fadeInFromBottom {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

/* TIPOGRAFI & TATA LETAK DI DALAM KARTU */
.login-header {
    text-align: center;
    margin-bottom: 2.5rem;
}
.login-header h1 {
    font-weight: 700;
    font-size: 2.25rem;
    margin-bottom: 0.5rem;
}
.login-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

/* FORM INPUT & TOMBOL */
.input-group-text {
    background: rgba(0, 0, 0, 0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-right: none !important;
    color: rgba(255, 255, 255, 0.7);
}
.form-control {
    background: rgba(0, 0, 0, 0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #fff !important;
    height: 50px;
    padding: 1rem;
}
.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}
.form-control:focus {
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.3) !important;
    border-color: rgba(139, 92, 246, 0.8) !important;
}

.btn-primary {
    background: #8b5cf6; /* Warna ungu cerah untuk kontras */
    border: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.85rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    width: 100%;
}
.btn-primary:hover {
    background: #7c3aed;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
}
 .btn-primary:active {
    transform: scale(0.97);
}

.alert-danger {
    background: rgba(220, 53, 69, 0.3);
    border: 1px solid rgba(220, 53, 69, 0.5);
}

/* ========================================= */
/* GAYA UNTUK LINK & POP-UP KONTAK ADMIN     */
/* ========================================= */

/* Gaya untuk link pemicu pop-up */
.contact-admin-link {
  display: block;
  text-align: center;
  margin-top: 2rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.3s ease;
}
.contact-admin-link:hover {
  color: #fff;
  text-decoration: underline;
}

/* Gaya untuk Modal (Pop-up) agar serasi */
.modal-content {
  background: rgba(30, 27, 50, 0.75); /* Latar belakang kaca lebih pekat */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  color: #fff;
}

.modal-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.modal-header .btn-close {
  /* Membuat ikon 'X' menjadi putih agar terlihat */
  filter: invert(1) grayscale(100%) brightness(200%);
}

.modal-body .icon {
  width: 1.2rem;
  height: 1.2rem;
  margin-right: 0.8rem;
  vertical-align: middle;
}

.modal-footer {
  border-top: none;
}

/* ========================================= */
/* GAYA UNTUK TOMBOL AKSI DI MODAL           */
/* ========================================= */
.modal-action-buttons .btn {
  width: 100%;
  margin-bottom: 0.75rem;
  padding: 0.8rem;
  font-size: 1rem;
  text-align: left; /* Teks rata kiri agar ikon sejajar */
}
.modal-action-buttons .btn .icon {
  width: 1.2rem;
  height: 1.2rem;
  margin-right: 1rem;
  vertical-align: text-bottom;
}

.btn-whatsapp {
  background-color: #25D366;
  color: #fff;
  border: none;
}
.btn-whatsapp:hover {
  background-color: #1DAE54;
  color: #fff;
}

.btn-email {
  background-color: #4285F4;
  color: #fff;
  border: none;
}
.btn-email:hover {
  background-color: #3367D6;
  color: #fff;
}

