body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: linear-gradient(145deg, #051a16 0%, #0f172a 55%, #0d9488 140%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  position: relative;
  overflow: hidden;
}

body::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20,184,166,0.12), transparent 70%);
  pointer-events: none;
}

body::after {
  content: "";
  position: absolute;
  bottom: -100px;
  left: -60px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34,197,94,0.09), transparent 70%);
  pointer-events: none;
}

.admin-login-wrap {
  width: 100%;
  max-width: 460px;
  position: relative;
  z-index: 1;
}

.admin-login-brand {
  text-align: center;
  margin-bottom: 28px;
}

.admin-brand-mark {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: linear-gradient(135deg, #0d9488 0%, #14b8a6 100%);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  font-weight: 900;
  box-shadow: 0 10px 28px rgba(20, 184, 166, 0.40);
  margin-bottom: 14px;
}

.admin-brand-name {
  color: #fff;
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin: 0 0 6px;
  display: block;
}

.admin-brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(20, 184, 166, 0.15);
  border: 1px solid rgba(20, 184, 166, 0.30);
  color: #2dd4bf;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
}

.admin-login-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 36px 32px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.30);
}

.admin-login-title {
  font-size: 1.55rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 6px;
}

.admin-login-subtitle {
  color: #64748b;
  font-size: 0.95rem;
  margin: 0 0 24px;
  line-height: 1.6;
}

.form-label {
  font-weight: 700;
  color: #334155;
  margin-bottom: 8px;
  display: block;
  font-size: 0.92rem;
}

.form-control {
  height: 52px;
  border-radius: 14px;
  border: 1px solid #dbe3ef;
  background: #f8fafc;
  box-shadow: none !important;
  padding-left: 44px;
  font-size: 1rem;
  width: 100%;
  transition: border-color 0.18s ease;
}

.form-control:focus {
  border-color: #14b8a6;
  background: #fff;
  outline: none;
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.12) !important;
}

.input-icon-group { position: relative; }

.input-icon {
  position: absolute;
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
  color: #94a3b8;
  pointer-events: none;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  color: #64748b;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}

.btn-admin {
  width: 100%;
  height: 52px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, #0d9488 0%, #14b8a6 100%);
  color: white;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(20, 184, 166, 0.35);
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-admin:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(20, 184, 166, 0.45);
}

.locale-row {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-bottom: 20px;
}

.locale-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid #dbe3ef;
  background: white;
  color: #334155;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.18s ease;
}

.locale-link.active {
  background: #14b8a6;
  border-color: #14b8a6;
  color: white;
}

.admin-divider {
  border: none;
  border-top: 1px solid #e2e8f0;
  margin: 22px 0;
}

.admin-cross-link {
  text-align: center;
  color: #64748b;
  font-size: 0.92rem;
}

.admin-cross-link a {
  color: #14b8a6;
  font-weight: 600;
  text-decoration: none;
}

.admin-cross-link a:hover { text-decoration: underline; }

@media (max-width: 575px) {
  .admin-login-card {
    padding: 26px 20px;
    border-radius: 20px;
  }
}
