/* ==========================================
   ÁREA DE SOCIO – LOGIN / RECUPERAR / RESET
   ========================================== */

/* -------------------------------------------------
   CENTRAR TÍTULO Y SUBTÍTULO SOLO EN ÁREA DE SOCIO
   ------------------------------------------------- */
.sa-main--area-socio .sa-main__header {
    max-width: 800px;
    margin: 0 auto 25px;
    text-align: center;
}

.sa-main--area-socio .sa-main__title,
.sa-main--area-socio .sa-main__subtitle {
    text-align: center;
}

/* ==========================================
   BLOQUES CENTRADOS (LOGIN / FORGOT / RESET)
   ========================================== */

/* Login centrado */
.sa-form--login {
    max-width: 420px;
    margin: 1.5rem auto 2rem;
    text-align: left;
}

/* Recuperar contraseña centrado */
.sa-form--forgot {
    max-width: 420px;
    margin: 1.5rem auto 2rem;
}

/* Nueva contraseña centrado */
.sa-form--reset {
    max-width: 420px;
    margin: 1.5rem auto 2rem;
}

/* Títulos de forgot/reset */
.sa-form--forgot .sa-form__title,
.sa-form--reset .sa-form__title {
    font-size: 1.3rem;
    text-align: left;
    margin-bottom: 1rem;
    font-family: 'Quicksand_Bold';
}

/* ==========================================
   CAMPOS DEL FORMULARIO
   ========================================== */
.sa-form__group {
    margin-bottom: 1rem;
}

.sa-form__group label {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
    font-family: 'Quicksand_Bold';
    color: #000000;
}

.sa-form__group input[type="text"],
.sa-form__group input[type="email"],
.sa-form__group input[type="password"] {
    width: 100%;
    border-radius: 999px;
    border: none;
    background: #ffffff;
    padding: 0.55rem 0.9rem;
    font-size: 0.9rem;
    font-family: 'Quicksand_Bold';
    outline: none;
    box-shadow: 0 0 0 1px #ddd inset;
    transition: box-shadow 0.2s ease;
}

.sa-form__group input:focus {
    box-shadow: 0 0 0 2px #c4122f inset;
}

/* ==========================================
   CHECKBOX
   ========================================== */
.sa-form__group--inline {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.sa-form__group--inline input[type="checkbox"] {
    width: auto;
    margin: 0;
    box-shadow: none;
    border-radius: 3px;
}

.sa-checkbox span {
    font-size: 0.85rem;
    font-family: 'Quicksand_Book';
    color: #333;
}

/* ==========================================
   BOTONES
   ========================================== */
.sa-btn {
    display: inline-block;
    border-radius: 999px;
    padding: 0.6rem 1.8rem;
    border: none;
    cursor: pointer;
    font-family: 'Quicksand_Bold';
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.8rem;
}

/* Botón rojo */
.sa-btn--primary {
    background: #c4122f !important;
    color: #fff;
}

/* Botones de forgot/reset → ancho completo */
.sa-form--forgot .sa-btn--primary,
.sa-form--reset .sa-btn--primary {
    width: 100%;
    display: block;
    padding: 0.75rem 1rem;
    margin-top: 1rem;
}

/* Botón del login → ancho completo */
.sa-form--login .sa-btn--primary {
    width: 100%;
    display: block;
    margin: 1.2rem 0 0;
    padding: 0.75rem 1rem;
    border-radius: 999px;
    text-align: center;
}

/* ==========================================
   ENLACES (volver al login)
   ========================================== */
.sa-form__back {
    text-align: left;
    margin-top: 1rem;
}

.sa-form__back a {
    font-family: 'Quicksand_Book';
    font-size: 0.85rem;
    color: #555;
    text-decoration: none;
}

.sa-form__back a:hover {
    text-decoration: underline;
}

/* ==========================================
   ENLACE REGISTRO
   ========================================== */
.sa-socios__registro {
    margin-top: 1.5rem;
    text-align: center;
}

.sa-socios__registro p {
    margin: 0;
}

.sa-link--registro {
    display: inline-block;
    margin-top: 0.35rem;
    color: #c4122f !important;
    text-decoration: none;
    font-family: 'Quicksand_Bold';
}

.sa-link--registro:hover {
    text-decoration: underline;
}

/* ==========================================
   ALERTAS
   ========================================== */
.sa-socios--login .sa-alert {
    padding: 0.6rem 0.9rem;
    border-radius: 8px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    max-width: 420px;      
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.sa-alert--error {
    background: #fee2e2;
    color: #b91c1c;
}

/* ==========================================
   LOGGED AREA
   ========================================== */
.sa-socios--logged h1 {
    font-family: 'Quicksand_Bold';
    font-size: 1.4rem;
    color: #c4122f;
}

.sa-socios--logged p {
    font-family: 'Quicksand_Bold';
    font-size: 0.95rem;
    color: #444;
}

.sa-btn--outline {
    background: transparent;
    border: 2px solid #c4122f;
    color: #c4122f;
}

/* ==========================================
   PÁGINA PRINCIPAL – ÁREA SOCIO
   ========================================== */

/* ===== HERO ===== */
.sa-area-topbar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 12px;
}

.sa-area-header {
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    border-radius: 20px;
    padding: 28px 32px;
    margin-bottom: 40px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.sa-area-header__left {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.sa-area-greeting {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    color: #111827;
}

.sa-area-subtitle {
    margin-top: 8px;
    font-size: 15px;
    color: #6b7280;
    font-weight: 600;
}

.sa-area-subtitle--small {
    margin-top: 4px;
    font-size: 14px;
    color: #9ca3af;
    font-weight: 500 !important;
}

/* ===== ACCIONES SUPERIOR DERECHA ===== */

.sa-logout-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 14px;
    color: #374151;
    border: 1px solid #e5e7eb;
    background: #fff;
    text-decoration: none;
    transition: all .2s ease;
}

.sa-logout-btn:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
}

/* ===== DASHBOARD ===== */

.sa-dashboard {
    margin-top: 10px;
}

.sa-dashboard__cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 15px;
}

.sa-dashboard-card {
    background: #fff;
    border-radius: 20px;
    padding: 28px 26px 24px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.06);
    transition: all .25s ease;
    display: flex;
    flex-direction: column;
}

.sa-dashboard-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
}

.sa-dashboard-card__icon {
    font-size: 52px;
    margin-bottom: 18px;
}

.sa-dashboard-card__title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #111827;
}

.sa-dashboard-card__desc {
    font-size: 14.5px;
    color: #6b7280;
    margin-bottom: 20px;
}

.sa-dashboard-card__cta {
    display: inline-block;
    margin-top: auto;
    padding: 8px 18px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #1f2937;
    border: 1px solid #e5e7eb;
    background: #fff;
    transition: all .2s ease;
}

.sa-dashboard-card:hover .sa-dashboard-card__cta {
    background: #111827;
    color: #fff;
    border-color: #111827;
}

@media (max-width: 768px) {

    .sa-area-header {
        padding: 28px 20px;
    }

    .sa-area-header__left {
        max-width: 100%;
    }

 

    .sa-area-greeting {
        font-size: 24px;
    }
}
.sa-carnet {
    text-align: left;
    margin-top: 26px;
    margin-bottom: 26px;

}

.sa-carnet-bg {
    background-image: url('../img/fondo-carnet.png');
    background-size: cover;
    background-position: center;
    border-radius: 18px;
    padding: 24px;
    max-width: 520px;
    width: 100%;
    box-shadow: 0 20px 50px rgba(0,0,0,.15);
}

.sa-carnet__content {
    backdrop-filter: blur(4px);
    border-radius: 14px;
    padding: 20px;
}

.sa-carnet__top {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    color: #000000;
    margin-bottom: 16px;
    font-weight: 600;
}

.sa-carnet__body {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 20px;
    align-items: center;
}

.sa-carnet__logo img {
    width: 110px;
    max-width: 100%;
    height: auto;
}


.sa-carnet__row .label {
    color: #6b7280;
}

.sa-carnet__row .value {
    font-weight: 600;
}

.sa-carnet__footer {
    margin-top: 14px;
    font-size: 12px;
    color: #9ca3af;
}
.sa-carnet__field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sa-carnet__label {
    font-size: 14px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.sa-carnet__value {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
}
@media (max-width: 600px) {

    .sa-carnet-bg {
        max-width: 100%;
        padding: 16px;
    }

    .sa-carnet__content {
        padding: 14px;
    }

    .sa-carnet__body {
        grid-template-columns: 90px 1fr;
        gap: 14px;
    }

    .sa-carnet__logo img {
        width: 80px;
    }

    .sa-carnet__value {
        font-size: 16px;
    }

    .sa-carnet__label {
        font-size: 12px;
    }
}

.sa-icon-mensajes {
    position: relative;
}

.sa-badge {
    position: absolute;
    top: -6px;
    right: -8px;

    min-width: 20px;
    height: 20px;
    padding: 0 6px;

    background: #e11d48;
    color: #fff;

    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;

    display: flex;
    align-items: center;
    justify-content: center;
}
.sa-form__group--recaptcha {
  margin: 20px 0;
  display: flex;
  justify-content: center;
}
@media (max-width: 480px) {
  .sa-form__group--recaptcha {
    transform: scale(0.9);
    transform-origin: center;
  }
}



