/* login-ahm.css (overrides) */

/* ejemplo: ajustar el fondo general */
body.login {
  background-color: #f5f8fc;
}

/* ejemplo: mejorar el texto del soporte */
.user-login-5 .login-content p {
  line-height: 1.5;
}

/* ================================
   Open Sans (self-hosted)
   ================================ */

/* 300 */
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 300;
  src: url("/fonts/open-sans-v34-latin-300.woff2") format("woff2");
}

/* 400 (regular) */
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400;
  src: url("/fonts/open-sans-v34-latin-regular.woff2") format("woff2");
}

/* 600 */
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 600;
  src: url("/fonts/open-sans-v34-latin-600.woff2") format("woff2");
}

/* 700 (bold) */
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 700;
  src: url("/fonts/open-sans-v34-latin-700.woff2") format("woff2");
}

/* Aplica la fuente */
body {
  font-family: "Open Sans", Arial, sans-serif;
}

/* ================================
   MODAL (Profile selector)
   ================================ */

/* MODAL BASE */
.profile-modal {
  border: 0;
  border-radius: 4px;
  overflow: hidden;
}

.profile-modal-header {
  border-bottom: 0;
  padding: 18px 22px 8px 22px;
}

.profile-modal-header .modal-title {
  font-size: 22px;
  font-weight: 300;
  color: #555;
}

/* BODY */
.profile-modal-body {
  padding: 18px 22px 28px 22px;
}

/* CONTENEDOR DE OPCIONES (los "tabs" grises) */
.profile-options-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  background: #f5f5f5;
  padding: 8px;
  border-radius: 2px;
}

/* CADA OPCIÓN */
.profile-option {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  min-width: 140px;
  height: 46px;
  border: 1px solid #dcdcdc;
  background: #e9e9e9;
  color: #666;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  cursor: pointer;
  user-select: none;
  transition: all 0.15s ease;
}

/* Separación visual como en la imagen */
.profile-option + .profile-option {
  border-left: 0;
}

/* Hover */
.profile-option:hover {
  background: #f0f0f0;
  color: #333;
}

/* Línea de color vertical al lado izquierdo */
.profile-option::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: #6c757d; /* default gris */
}

/* ACTIVO (si quieres marcarlo) */
.profile-option.active {
  background: #fff;
  color: #333;
}

.profile-option.active::before {
  background: #a020f0; /* ejemplo morado */
}

/* Opcional: bordes redondeados al inicio y final */
.profile-option:first-child {
  border-top-left-radius: 2px;
  border-bottom-left-radius: 2px;
}

.profile-option:last-child {
  border-top-right-radius: 2px;
  border-bottom-right-radius: 2px;
}

/* ================================
   FIX: Modal arriba con 10px
   (anula centrado vertical por theme/BS)
   ================================ */

.modal-open #static.modal {
  display: block !important;
  padding-top: 0 !important;
}

.modal-open #static.modal .modal-dialog {
  margin: 0 auto !important;
  margin-top: 10px !important; /* ✅ aquí está el ajuste */
}
