/*!*****************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[3]!./app/login/login.css ***!
  \*****************************************************************************************************************************************************************************************************************************************************************/
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }

.login-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #0f0f1a 0%, #1a1028 40%, #2d1b4e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Floating orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  animation: float 8s ease-in-out infinite;
}
.orb-1 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #8e32e9, #6b46c1);
  top: -100px; left: -100px;
  animation-delay: 0s;
}
.orb-2 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, #ff4d6b, #e91e8c);
  bottom: -80px; right: -80px;
  animation-delay: -3s;
}
.orb-3 {
  width: 250px; height: 250px;
  background: radial-gradient(circle, #844fc1, #a78bfa);
  top: 50%; left: 60%;
  animation-delay: -6s;
}
@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

/* Login card */
.login-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 48px 40px;
  width: 100%;
  max-width: 420px;
  position: relative;
  z-index: 10;
  box-shadow:
    0 32px 64px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(142, 50, 233, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Logo */
.login-logo {
  text-align: center;
  margin-bottom: 32px;
}
.logo-icon-wrap {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, #8e32e9, #6b46c1);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 32px;
  box-shadow: 0 8px 32px rgba(142, 50, 233, 0.4);
}
.login-title {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}
.login-subtitle {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  font-weight: 400;
}
.clinic-badge {
  display: inline-block;
  margin-top: 10px;
  padding: 4px 14px;
  background: linear-gradient(135deg, rgba(142,50,233,0.3), rgba(107,70,193,0.3));
  border: 1px solid rgba(142,50,233,0.4);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: #c084fc;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Form */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  margin-bottom: 8px;
}
.input-wrap { position: relative; }
.input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  opacity: 0.5;
}
.form-input {
  width: 100%;
  padding: 13px 44px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  outline: none;
  transition: all 0.2s ease;
}
.form-input::placeholder { color: rgba(255,255,255,0.3); }
.form-input:focus {
  border-color: rgba(142,50,233,0.6);
  background: rgba(142,50,233,0.08);
  box-shadow: 0 0 0 3px rgba(142,50,233,0.15);
}
.toggle-pass {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  opacity: 0.5;
  padding: 4px;
  color: white;
  transition: opacity 0.2s;
}
.toggle-pass:hover { opacity: 1; }

/* Error */
.error-box {
  background: rgba(255, 77, 107, 0.12);
  border: 1px solid rgba(255, 77, 107, 0.3);
  border-radius: 10px;
  padding: 10px 14px;
  color: #ff8fa3;
  font-size: 13px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Button */
.btn-login {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #8e32e9, #6b46c1);
  border: none;
  border-radius: 12px;
  color: white;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 20px rgba(142, 50, 233, 0.35);
  position: relative;
  overflow: hidden;
  margin-top: 8px;
}
.btn-login:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(142, 50, 233, 0.5);
}
.btn-login:active:not(:disabled) { transform: translateY(0); }
.btn-login:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}
.btn-login::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transition: left 0.4s ease;
}
.btn-login:hover::after { left: 100%; }

/* Spinner */
.spinner {
  display: inline-block;
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  vertical-align: middle;
  margin-right: 8px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Footer */
.login-footer {
  text-align: center;
  margin-top: 28px;
  font-size: 12px;
  color: rgba(255,255,255,0.25);
}
.login-footer span { color: rgba(142,50,233,0.7); }

