* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  min-height: 100vh;
  background-color: #0b0f19;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow-x: hidden;
  position: relative;
  color: #fff;
}

/* Background Animated Blobs */
.background-blobs {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
}

.blob-1 {
  width: 400px;
  height: 400px;
  background: #6366f1;
  top: -100px;
  left: -100px;
}

.blob-2 {
  width: 450px;
  height: 450px;
  background: #ec4899;
  bottom: -120px;
  right: -120px;
}

.blob-3 {
  width: 350px;
  height: 350px;
  background: #38bdf8;
  top: 40%;
  left: 60%;
}

/* Main Container */
.main-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 460px;
  padding: 20px;
}

/* Glassmorphism Card */
.glass-card {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  border-radius: 24px;
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Brand Header */
.brand {
  text-align: center;
  margin-bottom: 24px;
}

.brand-icon {
  font-size: 40px;
  background: linear-gradient(135deg, #38bdf8, #818cf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}

.brand h2 {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.brand h2 span {
  color: #ec4899;
}

.brand p {
  font-size: 12px;
  color: #94a3b8;
  margin-top: 2px;
}

/* Tab Switcher */
.tab-box {
  display: flex;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  padding: 4px;
  width: 100%;
  margin-bottom: 24px;
}

.tab-btn {
  flex: 1;
  padding: 10px;
  border: none;
  background: transparent;
  color: #94a3b8;
  font-weight: 600;
  font-size: 13px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-btn.active {
  background: #6366f1;
  color: #fff;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

/* Form Sections */
.form-section {
  display: none;
  width: 100%;
  flex-direction: column;
  gap: 16px;
}

.form-section.active {
  display: flex;
}

/* Input Fields */
.input-group {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.input-group i {
  position: absolute;
  left: 14px;
  color: #94a3b8;
  font-size: 15px;
  pointer-events: none;
}

.input-group input, 
.input-group select {
  width: 100%;
  padding: 13px 14px 13px 42px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  color: #fff;
  font-size: 13px;
  outline: none;
  transition: border-color 0.3s;
}

.input-group input:focus, 
.input-group select:focus {
  border-color: #818cf8;
}

.input-group select option {
  background: #111827;
  color: #fff;
}

/* OTP Specific Areas */
#otpTriggerArea {
  width: 100%;
}

.otp-send-btn {
  width: 100%;
  padding: 12px;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid #6366f1;
  color: #a5b4fc;
  border-radius: 12px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.otp-send-btn:hover {
  background: #6366f1;
  color: #fff;
}

.hidden-field {
  display: none;
  gap: 10px;
  width: 100%;
}

.verify-btn {
  padding: 0 16px;
  background: #10b981;
  border: none;
  color: #fff;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

/* Submit Buttons */
.submit-btn {
  width: 100%;
  padding: 13px;
  background: linear-gradient(135deg, #6366f1, #ec4899);
  border: none;
  border-radius: 12px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
  margin-top: 4px;
}

.submit-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(236, 72, 153, 0.4);
}

.submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Admin Entry Button (Centered) */
.admin-link-wrapper {
  margin-top: 24px;
  width: 100%;
  display: flex;
  justify-content: center;
}

.admin-entry-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #94a3b8;
  font-size: 12px;
  padding: 8px 18px;
  border-radius: 20px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.admin-entry-btn:hover {
  background: rgba(99, 102, 241, 0.2);
  border-color: #6366f1;
  color: #fff;
}

/* Admin Modal */
.admin-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.admin-modal-box {
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 26px;
  max-width: 360px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #818cf8;
}

.close-modal {
  font-size: 24px;
  color: #94a3b8;
  cursor: pointer;
}

.admin-modal-box p {
  font-size: 12px;
  color: #94a3b8;
}