/* RESET & BASE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Segoe UI', sans-serif;
  background: url('../images/bg.png') no-repeat center center fixed;
  background-size: cover;
  color: #fff;
  min-height: 100vh;
  padding: 20px;
  overflow-x: hidden;
}

/* LOGO */
.logo {
  display: block;
  margin: 0 auto 20px auto;
  max-width: 150px;
}

/* HEADERS */
header {
  text-align: center;
  margin-bottom: 30px;
}
header h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}
header p {
  font-size: 1.1rem;
  color: #ccc;
}

/* INPUTS & BUTTONS */
input, select, textarea {
  display: block;
  width: 100%;
  padding: 12px 15px;
  margin: 10px 0;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  color: #fff;
  outline: none;
  transition: 0.3s;
}
input:focus, select:focus, textarea:focus {
  background: rgba(255,255,255,0.1);
}

button {
  padding: 12px 20px;
  background: #27ae60;
  color: #fff;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}
button:hover {
  background: #2ecc71;
}

/* SECTIONS */
section {
  max-width: 700px;
  margin: 0 auto 50px auto;
  padding: 20px;
  background: rgba(255,255,255,0.05);
  border-radius: 15px;
  box-shadow: 0 4px 30px rgba(0,0,0,0.2);
  backdrop-filter: blur(6px);
}

/* POPUPS */
.popup {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(5px);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.popup-content {
  background: #1c1f2b;
  color: #fff;
  padding: 30px;
  border-radius: 12px;
  width: 90%;
  max-width: 500px;
  animation: fadeIn 0.3s ease-in-out;
  position: relative;
}
.popup-content h2 {
  margin-bottom: 20px;
}
.popup-content input {
  margin: 10px 0 20px 0;
}
.close {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 24px;
  cursor: pointer;
  color: #fff;
}

/* ACTION BUTTONS */
.action-box {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}
.action-box button {
  width: 220px;
  font-size: 1.1rem;
  padding: 15px;
}

/* CENTERED BUTTON CONTAINER */
.btn-container {
  text-align: center;
  margin-top: 20px;
}

/* CONTINUE BUTTON */
button.proceed-btn {
  background: #bdc3c7; /* Greyed-out color */
  color: #7f8c8d; /* Light grey text */
  cursor: not-allowed; /* Disable cursor */
  transition: background 0.3s ease;
}

button.proceed-btn:enabled {
  background: #27ae60; /* Active color */
  color: #fff;
  cursor: pointer;
}

button.proceed-btn:hover {
  background: #2ecc71;
}

/* Add a new class for the enabled state (activated when valid) */
button.proceed-btn-enabled {
  background: #27ae60; /* Active color */
  color: #fff;
  cursor: pointer;
}

button.proceed-btn-enabled:hover {
  background: #2ecc71;
}

/* ANIMATIONS */
@keyframes fadeIn {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.user-item {
  border: 1px solid #ccc;
  padding: 10px;
  margin: 10px 0;
}
.animate-proceed {
  animation: bounce 0.5s ease-in-out;
}

@keyframes bounce {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}
