/* ==========================================================================
   CITY MAINTAINANCE — ADMIN LOGIN STYLING
   Glassmorphic authentication screen, animations, and demo credential card
   ========================================================================== */

.adm-login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at top right, rgba(0, 86, 224, 0.15), transparent 40%),
              radial-gradient(circle at bottom left, rgba(37, 211, 102, 0.1), transparent 40%),
              var(--adm-bg);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}

/* Background floating ambient orbs */
.adm-login-page::before {
  content: "";
  position: absolute;
  width: 350px;
  height: 350px;
  background: linear-gradient(135deg, rgba(0, 86, 224, 0.25), rgba(56, 189, 248, 0.2));
  border-radius: 50%;
  filter: blur(80px);
  top: -80px;
  right: -80px;
  pointer-events: none;
  z-index: 0;
}

.adm-login-page::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.2), rgba(16, 185, 129, 0.15));
  border-radius: 50%;
  filter: blur(70px);
  bottom: -60px;
  left: -60px;
  pointer-events: none;
  z-index: 0;
}

.adm-login-container {
  width: 100%;
  max-width: 440px;
  position: relative;
  z-index: 1;
}

.adm-login-card {
  background: var(--adm-surface);
  border: 1px solid var(--adm-border);
  border-radius: var(--adm-radius-lg);
  padding: 2.25rem 2rem;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.25), 0 0 1px 1px rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  position: relative;
}

.adm-login-brand {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 1.75rem;
}

.adm-login-brand-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--adm-accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-weight: 800;
  font-size: 1.25rem;
  box-shadow: 0 4px 14px rgba(0, 86, 224, 0.4);
}

.adm-login-brand-title {
  font-family: var(--adm-font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--adm-text-main);
  line-height: 1.2;
}

.adm-login-brand-subtitle {
  font-size: 0.75rem;
  color: var(--adm-text-secondary);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.adm-login-header {
  margin-bottom: 1.75rem;
}

.adm-login-title {
  font-family: var(--adm-font-heading);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--adm-text-main);
  margin-bottom: 0.35rem;
}

.adm-login-desc {
  font-size: 0.8125rem;
  color: var(--adm-text-secondary);
}

/* Demo Credentials Helper Pill */
.adm-demo-helper {
  background: var(--adm-surface-subtle);
  border: 1px dashed var(--adm-border);
  border-radius: var(--adm-radius-md);
  padding: 0.75rem 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.75rem;
  color: var(--adm-text-secondary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.adm-demo-creds-btn {
  background: var(--adm-primary-light);
  color: var(--adm-primary);
  border: 1px solid rgba(0, 86, 224, 0.2);
  border-radius: 6px;
  padding: 0.35rem 0.65rem;
  font-size: 0.6875rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.adm-demo-creds-btn:hover {
  background: var(--adm-primary);
  color: #FFFFFF;
}

.adm-login-form {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.adm-input-icon-wrapper {
  position: relative;
}

.adm-input-icon {
  position: absolute;
  left: 0.875rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--adm-text-muted);
  pointer-events: none;
  display: flex;
  align-items: center;
}

.adm-input-with-icon {
  padding-left: 2.6rem !important;
}

.adm-password-toggle {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--adm-text-muted);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
}

.adm-password-toggle:hover {
  color: var(--adm-text-main);
}

.adm-login-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78125rem;
}

.adm-checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--adm-text-secondary);
  cursor: pointer;
  user-select: none;
}

.adm-checkbox-label input {
  accent-color: var(--adm-primary);
  width: 15px;
  height: 15px;
}

.adm-login-btn {
  width: 100%;
  padding: 0.85rem 1rem;
  font-size: 0.9375rem;
  font-weight: 700;
  border-radius: var(--adm-radius-md);
  margin-top: 0.5rem;
}

.adm-login-footer {
  margin-top: 1.75rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--adm-text-muted);
  border-top: 1px solid var(--adm-border);
  padding-top: 1rem;
}

.adm-login-theme-box {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 10;
}
