/* Base styles for the page */
body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
   background: linear-gradient(135deg, #6a1b9a, #8e24aa);
            color: #2c003e;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  justify-content: center;
  align-items: center;
}

.container {
  max-width: 800px;
  margin: auto;
  padding: 2rem;
  background-color: rgba(235, 241, 241, 0.12);
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(251, 250, 252, 0.25);
  flex: 1;
  backdrop-filter: blur(12px);
}

html,
body {
  margin: 0;
  padding: 0;
}

h1 {
  text-align: center;
  color: #070707;
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 2rem;
  animation: glow 1.5s infinite alternate;
  text-shadow: 0 0 10px #5a31a588;
}

@keyframes glow {
  from {
    text-shadow: 0 0 8px #7a3fffaa;
  }
  to {
    text-shadow: 0 0 25px #b085ffdd;
  }
}

.amounts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2rem;
  gap: 0.75rem;
}

.amount-button {
  display: inline-block;
  margin: 0;
  padding: 1rem 2rem;
  background-color: #8e75e8;
  color: white;
  width: 70%;
  max-width: 250px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(120, 94, 222, 0.4);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  user-select: none;
}

.amount-button:hover {
  background-color: #5d3dbb;
  box-shadow: 0 6px 18px rgba(77, 0, 128, 0.6);
  border-radius: 12px;
  border: 2px solid #cbb3ff;
}

.amount-button.selected {
  background-color: #5d3dbb;
  color: white;
  border: 2px solid #b085ff;
  box-shadow: 0 0 15px #926ddb88;
}

.note {
  font-size: 1.1rem;
  color: #9a8dd0;
  margin-top: 1.5rem;
  text-align: center;
}

/* Proceed Button */
.proceed-button {
  width: 80%;
  margin: 20px auto;
  padding: 14px 0;
  background: linear-gradient(90deg, #7a3fff, #b085ff);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 1.15rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(122, 63, 255, 0.6);
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

.proceed-button:hover {
  background: linear-gradient(90deg, #5d3dbb, #926ddb);
  box-shadow: 0 8px 25px rgba(77, 0, 128, 0.8);
}

.checkbox-wrapper {
  margin: 1.5rem 0;
  background-color: #d9d1ff;
  border-left: 5px solid #7a3fff;
  padding: 1.2rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
  color: #4b3b7d;
  box-shadow: inset 0 0 8px #a492ff88;
  text-align: left;
}

.checkbox-wrapper label {
  font-size: 1rem;
  color: #4e299a;
  font-weight: 600;
}

/* Footer */
footer, .footer {
  margin-top: 3rem;
  padding: 16px 10px;
  background: linear-gradient(90deg, #b085ffcc, #7a3fffcc);
  color: #eee;
  text-align: center;
  font-size: 0.95rem;
  border-top: 4px solid #b085ff;
  box-shadow: 0 -5px 15px #7a3fff66;
  font-weight: 600;
  user-select: none;
}

@media (max-width: 600px) {
  .footer {
    font-size: 0.9rem;
    padding: 14px;
  }
}

/* Loader styling */
.loader {
  border: 8px solid #d8d0ff;
  border-top: 8px solid #7a3fff;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
  margin: 20px auto;
  box-shadow: 0 0 15px #7a3fff88;
  background-color: #f3f0ff;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Login body background and layout */
.login-body {
  background: linear-gradient(135deg, #9a8dd0, #d9d1ff);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 2rem 1rem;
}

/* Login container */
.login-container {
  background: linear-gradient(135deg, #c5b7ff, #e3d9ff);
  border: 2px solid #7a3fff;
  border-radius: 24px;
  padding: 40px 35px;
  width: 100%;
  max-width: 600px;
  box-shadow: 0 15px 40px rgba(122, 63, 255, 0.35);
  transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.login-container:hover {
  box-shadow: 0 20px 50px rgba(122, 63, 255, 0.6);
  transform: translateY(-8px);
}

/* Login container title */
.login-container .title {
  text-align: center;
  background: linear-gradient(90deg, #6a4baf, #b085ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: titlePulse 2.5s ease-in-out infinite;
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 30px;
  text-shadow: none;
}

@keyframes titlePulse {
  0%, 100% {
    filter: brightness(100%);
  }
  50% {
    filter: brightness(130%);
  }
}

/* Login form labels */
.login-form label {
  display: block;
  margin-top: 20px;
  color: #7a63bf;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  font-size: 0.95rem;
}

/* Login form inputs & selects */
.login-form input,
.login-form select {
  width: 95%;
  padding: 12px;
  margin-top: 6px;
  border: 1.5px solid #9a8dd0;
  border-radius: 12px;
  background-color: #f3efff;
  color: #3d0066;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: inset 0 2px 8px #b4a7ff88;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.login-form input:focus,
.login-form select:focus {
  border-color: #5d3dbb;
  box-shadow: 0 0 14px 3px #5d3dbb88;
  outline: none;
}

/* Forgot password link */
.forgot-password {
  text-align: right;
  margin-top: 8px;
}

.forgot-password a {
  font-size: 0.9em;
  color: #7a3fff;
  text-decoration: none;
  border-bottom: 1.5px solid transparent;
  transition: border-bottom 0.3s ease;
}

.forgot-password a:hover {
  border-bottom: 1.5px solid #b085ff;
}

/* Login button */
.login-btn {
  width: 100%;
  padding: 16px 0;
  background: linear-gradient(90deg, #7a3fff, #b085ff);
  color: white;
  border: none;
  border-radius: 40px;
  margin-top: 28px;
  font-size: 1.3rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow:
    inset 0 -4px 6px rgba(255,255,255,0.3),
    0 6px 20px rgba(93, 61, 187, 0.6);
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

.login-btn:hover {
  background: linear-gradient(90deg, #926ddb, #5d3dbb);
  box-shadow:
    inset 0 4px 6px rgba(0,0,0,0.3),
    0 10px 30px rgba(77, 0, 128, 0.9);
}

/* No account message */
.no-account {
  text-align: center;
  margin-top: 20px;
  font-size: 1rem;
  color: #5d3dbb;
  font-weight: 600;
}

.no-account a {
  color: #7a3fff;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.no-account a:hover {
  color: #4e29b2;
}

/* Section styling */
.section {
  background-color: #e6e0ff;
  border: 1px solid #b4a7ff;
  border-radius: 16px;
  padding: 22px;
  margin-bottom: 22px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 12px #9c83d433;
}

.section:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 22px rgba(77, 0, 128, 0.25);
}

.section h2 {
  font-size: 1.7rem;
  color: #5d3dbb;
  margin-bottom: 14px;
  font-weight: 700;
}

.section p {
  color: #7b6fc6;
  font-size: 1.05rem;
}

/* Warning message */
.warning-message {
  display: block;
  margin-top: 20px;
  padding: 12px;
  background-color: #d8c8ff;
  color: #4e299a;
  font-weight: 700;
  border-radius: 8px;
  text-align: center;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 0 10px #b085ffaa;
}

/* Button #startBtn */
button#startBtn {
  width: 100%;
  padding: 16px;
  font-size: 1.3rem;
  background: linear-gradient(90deg, #7a3fff, #b085ff);
  color: white;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.4s ease;
  box-shadow: 0 6px 20px rgba(122, 63, 255, 0.6);
}

button#startBtn:hover {
  background: linear-gradient(90deg, #b085ff, #7a3fff);
  box-shadow: 0 9px 28px rgba(122, 63, 255, 0.85);
}

/* Overlay spinner */
.overlay-spinner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(122, 63, 255, 0.12);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  display: none;
}

.spinner-beautiful {
  width: 70px;
  height: 70px;
  border: 6px solid #cbb3ff;
  border-top: 6px solid #7a3fff;
  border-radius: 50%;
  animation: spin 1s ease-in-out infinite;
}
