  :root {
    --bg: #f5f7fa;
    --glass-bg: rgba(255, 255, 255, 0.6);
    --border: rgba(0, 0, 0, 0.05);
    --text: #2e3a59;
    --muted: #94a3b8;
    --primary: #6366f1;
    --radius: 1.5rem;
    --shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  }

  body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', sans-serif;
    /* background: linear-gradient(135deg, #eef2f7, #e3eaf2); */
    background: linear-gradient(135deg, #a1c4fd, #c2e9fb);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
  }

  .auth-container {
    width: 100%;
    max-width: 400px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 2rem 1.5rem;
    text-align: center;
  }

  .auth-container h2 {
    margin-bottom: 1rem;
    color: var(--text);
  }

  .auth-container input {
    width: 100%;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 1rem;
    font-size: 1rem;
  }

  .auth-container button {
    width: 100%;
    background: var(--primary);
    color: white;
    padding: 0.75rem;
    border: none;
    border-radius: 1rem;
    font-size: 1rem;
    cursor: pointer;
    margin-bottom: 1rem;
  }

  .switch-mode {
    color: var(--muted);
    font-size: 0.95rem;
  }

  .switch-mode span {
    color: var(--primary);
    cursor: pointer;
    font-weight: 500;
  }

  @media (max-width: 480px) {
    .auth-container {
      padding: 1.5rem 1rem;
      border-radius: 1rem;
    }

    .auth-container input,
    .auth-container button {
      font-size: 0.95rem;
      padding: 0.65rem;
    }
  }

.notice {
	padding: 12px 16px;
	margin-bottom: 16px;
	border-radius: 6px;
	font-weight: 500;
	text-align: center;
	display: none;
	position: absolute;
	bottom: -75px;
	width: max-content;
}
  .notice.success {
    background-color: #d4edda;
    color: #155724;
  }

  .notice.error {
    background-color: #f8d7da;
    color: #721c24;
  }

  .otp-inputs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 20px 0;
  }

  .otp-box {
    width: 40px;
    height: 48px;
    font-size: 20px;
    text-align: center;
    border: 2px solid #ccc;
    border-radius: 6px;
  }

  .otp-box:focus {
    border-color: #007bff;
    outline: none;
  }

  #verifyPage {
    width: 100%;
    max-width: 400px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 2rem 1.5rem;
    text-align: center;
  }
  .verify-btn {
	width: 100%;
	background: var(--primary);
	color: white;
	padding: 0.75rem;
	border: none;
	border-radius: 1rem;
	font-size: 1rem;
	cursor: pointer;
	margin-bottom: 1rem;
}

.wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin-top: 2rem;
}

.logo-container {
  position: absolute;
  top: -60px;
  border-radius: 1rem;
  z-index: 10;
}
.resend-text {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #555;
}

.resend-btn {
  background: none;
  border: none;
  color: #6366f1;
  cursor: pointer;
  text-decoration: underline;
  font-weight: 500;
  padding: 0;
}

/* Floating background circles for more visual appeal */

.background-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.background-animation span {
	position: absolute;
	display: block;
	width: 100px;
	height: 100px;
	background: #dfeefe;
	border-radius: 50%;
	animation: moveAnimation 14s linear infinite;
}
/* Original spans with increased durations */
.background-animation span:nth-child(1) {
    top: 10%;
    left: 15%;
    width: 150px;
    height: 150px;
    animation-duration: 12s;
}

.background-animation span:nth-child(2) {
    top: 50%;
    left: 30%;
    animation-duration: 14s;
}

.background-animation span:nth-child(3) {
    top: 30%;
    left: 70%;
    width: 120px;
    height: 120px;
    animation-duration: 16s;
}

.background-animation span:nth-child(4) {
    top: 80%;
    left: 50%;
    width: 180px;
    height: 180px;
    animation-duration: 20s;
}

/* Additional spans with slightly slower animations */
.background-animation span:nth-child(6) {
    top: 60%;
    left: 10%;
    width: 140px;
    height: 140px;
    animation-duration: 19s;
}

.background-animation span:nth-child(8) {
    top: 90%;
    left: 75%;
    width: 160px;
    height: 160px;
    animation-duration: 22s;
}

@keyframes moveAnimation {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.6;
    }
    50% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(-1000px) rotate(360deg);
        opacity: 0;
    }
}

@keyframes moveAnimation {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.6;
    }
    50% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(-1000px) rotate(360deg);
        opacity: 0;
    }
}
