* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #000;
  overflow: hidden;
}

#bg-video {
  position: fixed;
  top: 0;
  left: 0;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  z-index: -1;
}

.card {
  background: rgba(10, 15, 25, 0.9);
  padding: 2em 1.5em;
  border-radius: 20px;
  max-width: 400px;
  width: 90%;
  margin: 10vh auto;
  color: white;
  text-align: center;
  box-shadow: 0 0 25px rgba(0, 132, 255, 0.2);
  border: 1px solid rgba(0, 132, 255, 0.15);
  backdrop-filter: blur(10px);
}

.logo {
  width: 70px;
  margin-bottom: 20px;
}

form input, form select {
  width: 100%;
  margin-bottom: 14px;
  padding: 12px;
  border: none;
  border-radius: 10px;
  font-size: 1em;
  background: rgba(255, 255, 255, 0.08);
  color: white;
}
form input::placeholder {
  color: #ccc;
}

form button,
.secondary-btn {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 10px;
  font-size: 1em;
  font-weight: bold;
  cursor: pointer;
  margin-top: 10px;
  transition: background 0.3s;
}

form button:disabled {
  background-color: #888;
  color: #222;
}

form button:enabled {
  background-color: white;
  color: black;
}

.secondary-btn {
  background: white;
  color: black;
}

.loader {
  border: 6px solid #ccc;
  border-top: 6px solid #00aaff;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
  margin: 20px auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.progress-bar {
  width: 100%;
  background: #222;
  border-radius: 5px;
  overflow: hidden;
  margin-top: 10px;
}

.progress-fill {
  height: 8px;
  width: 0;
  background: #00aaff;
  animation: fillBar 10s linear forwards;
}

@keyframes fillBar {
  to { width: 100%; }
}

.hidden {
  display: none;
}

@media (max-width: 600px) {
  .card {
    padding: 1.5em 1em;
    width: 95%;
    margin-top: 15%;
  }

  .logo {
    width: 60px;
  }

  input, select, button {
    font-size: 0.95em;
  }
}

form button, .secondary-btn {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 12px;
  font-size: 1em;
  font-weight: bold;
  cursor: pointer;
  margin-top: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  transition: background 0.4s ease, opacity 0.4s ease;
}

form button:disabled {
  background: linear-gradient(90deg, #44c3f7 0%, #12a6f2 100%);
  opacity: 0.4;
  color: white;
}

form button:enabled {
  background: linear-gradient(90deg, #44c3f7 0%, #12a6f2 100%);
  color: white;
  opacity: 1;
}

.secondary-btn {
  background: linear-gradient(90deg, #44c3f7 0%, #12a6f2 100%);
  color: white;
  opacity: 1;
}

select {
  background-color: rgba(255, 255, 255, 0.08);
  color: white;
  appearance: none;
}
select option {
  background-color: #111;
  color: white;
}
