@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* Global Font */
body, input, button, h1, h2, h3, p, span, label {
  font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
}

/* Background overlay tuning */
#background {
  filter: brightness(0.35) saturate(0.7) !important;
}

/* Main Login Modal - Clean Architectural Minimalist Card */
main > div {
  background: rgba(18, 18, 20, 0.88) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7) !important;
  border-radius: 12px !important;
}

/* Brand AB Badge on top of Login Card */
main section:first-child > div {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
}

main section:first-child > div::before {
  content: "AB";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background-color: #111111;
  color: #ffffff;
  font-weight: 900;
  font-size: 17px;
  letter-spacing: -0.5px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* Sub-label under AB Badge */
main section:first-child > div > div:first-child {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #e5e5e5 !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
}

/* Title & Description */
main section:first-child h1 {
  font-size: 26px !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  color: #ffffff !important;
  margin-top: 14px !important;
}

main section:first-child p {
  color: #a3a3a3 !important;
  font-size: 13px !important;
  font-weight: 400 !important;
}

/* Form Container */
main section:last-child > div {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 8px !important;
}

main section:last-child h2 {
  font-size: 16px !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em !important;
  color: #ffffff !important;
}

/* Password Input */
input[type="password"] {
  background: rgba(0, 0, 0, 0.5) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 6px !important;
  color: #ffffff !important;
  font-size: 14px !important;
  transition: all 0.2s ease !important;
}

input[type="password"]:focus {
  border-color: #ffffff !important;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2) !important;
}

/* Button - ArchDaily Monochromatic Style */
button[type="submit"] {
  background: #ffffff !important;
  color: #111111 !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  letter-spacing: 0.02em !important;
  border-radius: 6px !important;
  border: none !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
}

button[type="submit"]:hover {
  background: #e5e5e5 !important;
  transform: translateY(-1px) !important;
}

/* Label styling */
label {
  font-size: 12px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  color: #d4d4d4 !important;
}

form::after {
  content: "Acceso administrativo protegido de Asunto BIM.";
  display: block;
  font-size: 11px;
  color: #737373;
  text-align: center;
  margin-top: 14px;
}
