body { background: #f4f6f8; }

.tarjeta {
    background: #fff;
    border-radius: .75rem;
    box-shadow: 0 1px 3px rgba(0,0,0,.08);
    padding: 1.25rem;
}

.cifra { font-size: 2rem; font-weight: 700; line-height: 1.1; }

.foto-socio {
    width: 48px; height: 48px; border-radius: 50%;
    object-fit: cover; background: #dee2e6;
    display: inline-flex; align-items: center; justify-content: center;
    font-weight: 600; color: #495057;
}
.foto-socio.grande { width: 160px; height: 160px; font-size: 3rem; }

.codigo { font-family: ui-monospace, Consolas, monospace; font-weight: 700; letter-spacing: .05em; }

/* Cámara para tomar la foto del socio */
.camara { position: relative; max-width: 420px; background: #000; border-radius: .75rem; overflow: hidden; aspect-ratio: 4 / 3; }
.camara video, .camara img { width: 100%; height: 100%; object-fit: cover; display: block; }
.camara video { transform: scaleX(-1); }
.camara .guia {
    position: absolute; inset: 12% 28%; border: 3px dashed rgba(255,255,255,.7);
    border-radius: 50%; pointer-events: none;
}

table.tabla-socios td { vertical-align: middle; }

@media print {
    body { background: #fff; }
    .tarjeta { box-shadow: none; padding: 0; }
}

/* Marca GymPase: negro #0b0f14 y verde #22c55e (verde oscuro #15803d para texto sobre blanco) */
a { --bs-link-color-rgb: 21,128,61; --bs-link-hover-color-rgb: 22,101,52; }
.marca-barra { background: #0b0f14; border-bottom: 3px solid #22c55e; }
.marca-barra .nav-link.active { color: #22c55e; }
.marca-simbolo { height: 24px; margin-right: 4px; vertical-align: -4px; }
.marca-pase { color: #22c55e; }
.marca-entrar { background: #0b0f14; color: #fff; border-radius: .75rem; padding: 1rem; margin-bottom: 1rem; text-align: center; font-size: 1.75rem; font-weight: 700; }
.marca-entrar .marca-simbolo { height: 40px; vertical-align: -9px; }
.btn-dark { --bs-btn-bg: #0b0f14; --bs-btn-border-color: #0b0f14; --bs-btn-hover-bg: #1b2430; --bs-btn-hover-border-color: #1b2430; --bs-btn-active-bg: #1b2430; }
.btn-success, .btn-primary { --bs-btn-color: #0b0f14; --bs-btn-bg: #22c55e; --bs-btn-border-color: #22c55e; --bs-btn-hover-color: #0b0f14; --bs-btn-hover-bg: #16a34a; --bs-btn-hover-border-color: #16a34a; --bs-btn-active-color: #0b0f14; --bs-btn-active-bg: #16a34a; --bs-btn-active-border-color: #16a34a; --bs-btn-disabled-color: #0b0f14; --bs-btn-disabled-bg: #22c55e; --bs-btn-disabled-border-color: #22c55e; }
.btn-outline-primary { --bs-btn-color: #15803d; --bs-btn-border-color: #15803d; --bs-btn-hover-bg: #15803d; --bs-btn-hover-border-color: #15803d; --bs-btn-active-bg: #15803d; }
.form-control:focus, .form-select:focus, .form-check-input:focus { border-color: #22c55e; box-shadow: 0 0 0 .25rem rgba(34,197,94,.25); }
.form-check-input:checked { background-color: #15803d; border-color: #15803d; }