:root {
  --bg-dark: #222229;
  --accent-gold: #9a6d31;
  --glass-panel: rgba(83, 82, 82, 0.3);
}

body {
  background-color: var(--bg-dark);
  color: white;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", system-ui, sans-serif;
  overflow-y: auto;
  background-size: cover;
  background-position: center;
}

.logo-container img {
  width: 400px;
  height: auto;
  margin-top: -1rem;
  padding-bottom: 1rem;
}

.container {
  background: var(--glass-panel);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  padding: 1.5rem;
  width: 100%;
  max-width: 500px;
  text-align: center;
  animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.kiosk-title {
  color: white;
  margin-bottom: 1.5rem;
  font-weight: 600;
  font-size: 2rem;
}
.kiosk-title span {
  color: var(--accent-gold);
}

.form-control {
  background-color: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(249, 249, 249, 0.2);
  color: white;
  padding: 0.75rem;
}
.form-control:focus {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 0.25rem rgba(154, 109, 49, 0.25);
  color: white;
}

.form-control::placeholder {
  color: rgb(255, 255, 255);
}

.btn-primary {
  background-color: var(--accent-gold);
  border-color: var(--accent-gold);
  padding: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s;
}
.btn-primary:hover {
  background-color: #8a5d29;
  border-color: #8a5d29;
  transform: translateY(-2px);
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 1rem 0;
}
.form-check-input:checked {
  background-color: var(--accent-gold);
  border-color: var(--accent-gold);
}
.forgot-password {
  color: var(--accent-gold);
  text-decoration: none;
  font-size: 0.9rem;
  transition: text-decoration 0.2s;
}
.forgot-password:hover {
  text-decoration: underline;
}

.alert {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  display: none;
}
.form-text small {
  color: white;
}
#bgCanvas {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
}

/* Responsive */
@media (max-width: 992px) {
  .logo-container img {
    width: 320px;
  }
}

@media (max-width: 768px) {
  body {
    padding: 16px;
  }

  .logo-container img {
    width: 260px;
    margin-top: 0;
  }

  .container {
    max-width: 440px;
    padding: 1.25rem;
  }

  .form-options {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

@media (max-width: 576px) {
  body {
    padding: 12px;
  }

  .logo-container img {
    width: 220px;
  }

  .kiosk-title {
    font-size: 1.6rem;
  }

  .container {
    padding: 1rem;
  }

  .btn-primary {
    width: 100%;
  }
}

