/* ====================
   GOOGLE FONT & VARIABLES
   ==================== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

:root {
  --primary: #28a745;
  --primary-dark: #1e7e34;
  --bg-gradient: linear-gradient(135deg, #1e1e1e, #0f0f0f);
  --card-bg: rgba(255,255,255,0.08);
  --card-border: rgba(255,255,255,0.2);
  --text-light: #f5f5f5;
  --text-muted: rgba(245,245,245,0.6);
  --font-base: 'Poppins', sans-serif;
  --transition: 0.3s ease;
}

/* ====================
   RESET & BODY
   ==================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body.login-enhanced {
  font-family: var(--font-base);
  background: var(--bg-gradient);
  color: var(--text-light);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow-x: hidden;
}
body.login-enhanced::before {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 0;
}

/* ====================
   VIDEO BACKGROUND
   ==================== */
.video-background {
  position: fixed !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  filter: brightness(0.4) blur(2px) grayscale(100%) !important;
  z-index: -1 !important;
}

/* ====================
   ENTRY ANIMATION
   ==================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ====================
   CARD CONTAINER
   ==================== */
.container {
  position: relative;
  z-index: 1;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.6);
  width: 90%;
  max-width: 700px;
  padding: 2rem;
  animation: fadeInUp var(--transition) both;
}

/* ====================
   STEPS
   ==================== */
.step {
  display: none;
}
.step.active {
  display: block;
}

/* ====================
   HEADINGS
   ==================== */
.container h2 {
  font-size: 1.5rem;
  color: var(--primary);
  text-align: center;
  margin-bottom: 1.5rem;
}

/* ====================
   FORM GROUPS
   ==================== */
.form-group,
label {
  display: block;
  margin-bottom: 1rem;
}
label {
  color: var(--text-light);
  font-weight: 500;
  margin-bottom: 0.3rem;
}
input,
select,
textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 8px;
  background: rgba(255,255,255,0.15);
  color: #000000;
  font-size: 1rem;
  backdrop-filter: blur(5px);
  transition: background var(--transition);
}
input:focus,
select:focus,
textarea:focus {
  background: rgba(255,255,255,0.25);
  outline: none;
}
textarea {
  resize: vertical;
  min-height: 120px;
}
.word-count {
  display: block;
  text-align: right;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.checkbox input {
  width: 1.2rem;
  height: 1.2rem;
  accent-color: var(--primary);
}

/* ====================
   ERROR MESSAGES
   ==================== */
.error-message {
  display: block;
  font-size: 0.85rem;
  color: #ff6b6b;
  margin-top: 0.25rem;
}

/* ====================
   BUTTONS
   ==================== */
.next-btn,
.btn-primary {
  display: block;
  width: 100%;
  padding: 0.75rem;
  margin-top: 1rem;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: transform var(--transition), filter var(--transition);
}
.next-btn:hover,
.btn-primary:hover {
  filter: brightness(0.9);
  transform: translateY(-2px);
}
.prev-btn,
.btn-secondary {
  display: inline-block;
  padding: 0.6rem 1rem;
  background: rgba(255,255,255,0.2);
  color: var(--text-light);
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: filter var(--transition);
}
.prev-btn:hover,
.btn-secondary:hover {
  filter: brightness(0.9);
}

/* navigation container for prev/next */
.buttons {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
}

/* hide/unhide priority value */
.hidden {
  display: none;
}

/* ====================
   RESPONSIVE
   ==================== */
@media(max-width:600px) {
  .container {
    padding: 1.5rem;
  }
  .buttons {
    flex-direction: column;
  }
}
