@charset "UTF-8";
/* ===== Auth page layout ===== */
.dm-auth-page {
  min-height: 100vh;
  padding: 0 16px 32px;
  margin-top: -20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  color: #0f172a;
}

/* Cabecera (icono + título + subtítulo) */
.dm-auth-page__header {
  text-align: center;
  margin-bottom: 10px;
}

.dm-auth-page__icon-wrapper {
  width: 72px;
  height: 72px;
  border-radius: 24px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #3b82f6, #6366f1);
  box-shadow: 0 18px 45px rgba(37, 99, 235, 0.35);
}

.dm-auth-page__icon-glyph {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  position: relative;
}

.dm-auth-page__icon-glyph::before {
  content: "";
  position: absolute;
  inset: 7px 6px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.95);
  border-right-color: transparent;
  transform: rotate(-25deg);
}

.dm-auth-page__title {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 4px;
}

.dm-auth-page__subtitle {
  font-size: 15px;
  color: #6b7280;
}

/* ===== Tarjeta ===== */
.dm-auth-card {
  width: 100%;
  max-width: 480px;
  background: #ffffff;
  border-radius: 28px;
  padding: 28px 28px 24px;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.1), 0 0 0 1px rgba(148, 163, 184, 0.08);
}

.dm-auth-card__title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 4px;
  margin-top: 0;
}

.dm-auth-card__subtitle {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 24px;
}

/* ===== Formulario ===== */
.dm-auth-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Reseteo de los form-item de Drupal dentro del login */
.dm-auth-form .form-item {
  margin: 0;
}

/* Labels */
.dm-auth-form .form-item__label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 6px;
  color: #111827;
}

/* Inputs */
.dm-auth-form .form-element {
  width: 100%;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  padding: 10px 12px;
  font-size: 14px;
  background: #f9fafb;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.dm-auth-form .form-element:focus {
  outline: none;
  border-color: #2563eb;
  background: #ffffff;
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.35), 0 8px 20px rgba(15, 23, 42, 0.1);
}

/* Placeholders */
.dm-auth-form .form-element::placeholder {
  color: #9ca3af;
}

/* ===== Botón ===== */
.dm-auth-actions {
  margin-top: 12px;
}

.dm-auth-submit {
  width: 100%;
  border-radius: 999px;
  border: none;
  padding: 12px 18px;
  font-size: 15px;
  font-weight: 600;
  background: #020617;
  color: #f9fafb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.4);
  transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease;
}

.dm-auth-submit:hover {
  background: #02041a;
  transform: translateY(-1px);
  box-shadow: 0 22px 45px rgba(15, 23, 42, 0.5);
}

.dm-auth-submit:active {
  transform: translateY(0);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.35);
}

/* ===== Footer ===== */
.dm-auth-page__footer {
  margin-top: 20px;
  text-align: center;
  font-size: 13px;
  color: #6b7280;
}

.dm-auth-page__register a {
  color: #2563eb;
  font-weight: 500;
  text-decoration: none;
}

.dm-auth-page__register a:hover {
  text-decoration: underline;
}

.dm-auth-page__copy {
  margin-top: 6px;
  font-size: 12px;
  color: #9ca3af;
}

/* Responsive pequeño */
@media (max-width: 600px) {
  .dm-auth-page {
    padding-top: 32px;
  }
  .dm-auth-card {
    padding: 22px 20px 20px;
    border-radius: 22px;
  }
}

/*# sourceMappingURL=login.css.map */
