/*

Theme Name: X – Child Theme
Theme URI: https://theme.co/x/
Author: Themeco
Author URI: https://theme.co/
Description: Make all of your modifications to X in this child theme.
Version: 1.0.0
Template: x

*/

/* ======== Satisfactis Auth – versión sin variables ni propiedades raras ======== */

.sf-auth-page {
  background: radial-gradient(circle at top, #11131f 0, #05060a 55%);
  color: #f5f5f7;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
               "Segoe UI", sans-serif;
}

/* Layout general de la página de login */

.sf-auth-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 2.5rem 1.5rem;
  box-sizing: border-box;
}

.sf-auth-background {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  pointer-events: none;
  opacity: 1;
 /* background:
    radial-gradient(circle at 10% 0%, rgba(255, 107, 61, 0.25) 0, transparent 55%),
    radial-gradient(circle at 90% 100%, rgba(80, 180, 255, 0.18) 0, transparent 55%);*/
    background-color: #fff;
  z-index: 0;
}

.sf-auth-wrapper {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 460px;
}

.sf-auth-card {
  background: #ffffff;
  border-radius: 28px;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.04);
  padding: 2.5rem 2.25rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.04);
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
}

/* Cabecera de la tarjeta */

.sf-auth-header {
  text-align: left;
  margin-bottom: 1.8rem;
}

.sf-auth-title {
  font-size: clamp(1.6rem, 2vw, 1.9rem);
  letter-spacing: 0.03em;
  font-weight: 600;
  margin: 0 0 0.4rem;
}

.sf-auth-subtitle {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #a2a2ad;
}

/* Pie de la tarjeta */

.sf-auth-footer {
  margin-top: 1.6rem;
  font-size: 0.85rem;
  color: #a2a2ad;
  text-align: center;
}

/* Mensajes (logout correcto, registro completo, etc.) */

.sf-auth-notice {
  border-radius: 12px;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  border: 1px solid #2b2e3d;
}

.sf-auth-notice--success {
  background: rgba(46, 204, 113, 0.08);
  border-color: rgba(46, 204, 113, 0.55);
}

/* Formulario de login */

.sf-auth-form-wrapper {
  margin-bottom: 1.25rem;
}

/* wp_login_form() genera #sf-loginform con <p> hijos */

.sf-auth-card form#sf-loginform {
  display: grid;
  grid-auto-rows: auto;
  row-gap: 0.85rem;
}

.sf-auth-card form#sf-loginform p {
  margin: 0;
}

.sf-auth-card label {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a2a2ad;
  margin-bottom: 0.35rem;
}

.sf-auth-card input[type="text"],
.sf-auth-card input[type="password"] {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  border: 1px solid #2b2e3d;
  background: rgba(5, 6, 12, 0.75);
  color: #f5f5f7;
  font-size: 0.95rem;
  transition: border-color 150ms ease, box-shadow 150ms ease, background 150ms ease;
  outline: none;
  box-sizing: border-box;
}

.sf-auth-card input[type="text"]:focus,
.sf-auth-card input[type="password"]:focus {
  border-color: #ff8a5f;
  box-shadow: 0 0 0 1px rgba(255, 107, 61, 0.35);
  background: rgba(9, 10, 18, 0.95);
}

/* Recordarme */

.sf-auth-card .login-remember {
  display: flex;
  align-items: center;
  column-gap: 0.4rem;
  font-size: 0.85rem;
  color: #a2a2ad;
}

.sf-auth-card .login-remember label {
  text-transform: none;
  letter-spacing: 0;
  margin: 0;
}

/* Botón principal */

.sf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 1px;
  padding: 0.7rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition:
    transform 120ms ease-out,
    box-shadow 120ms ease-out,
    background 160ms ease-out;
}

.sf-btn-primary {
  background: #ffffff;
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.55);
}

.sf-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.65);
}

.sf-btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

/* Enlaces de "olvidé contraseña" y "crear cuenta" */

.sf-auth-links {
  display: flex;
  flex-wrap: wrap;
  column-gap: 0.5rem;
  row-gap: 0.35rem;
  align-items: center;
  justify-content: flex-start;
  font-size: 0.85rem;
  color: #a2a2ad;
}

.sf-auth-link {
  color: #ff8a5f;
  text-decoration: none;
}

.sf-auth-link:hover {
  text-decoration: underline;
}

.sf-auth-divider {
  opacity: 0.4;
}

/* Responsive */

@media (max-width: 480px) {
  .sf-auth-card {
    padding: 2rem 1.6rem 1.8rem;
    border-radius: 22px;
  }

  .sf-auth-title {
    font-size: 1.45rem;
  }
}



