
.gc2-box,.gc2-account{max-width:920px;margin:20px auto;background:#101010;border:1px solid #292929;border-radius:20px;padding:clamp(22px,4vw,42px);color:#f7f7f7}.gc2-heading span,.gc2-account-head span{color:var(--ag-green,#00e765);font-weight:900;letter-spacing:.18em}.gc2-heading h2,.gc2-account-head h2{font-size:clamp(2rem,5vw,3.5rem);text-transform:uppercase;margin:10px 0}.gc2-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.gc2-grid .full{grid-column:1/-1}.gc2-form label{font-weight:800}.gc2-form input,.gc2-form select,.gc2-box #loginform input[type=text],.gc2-box #loginform input[type=password]{width:100%;margin-top:7px;padding:14px;border-radius:9px;border:1px solid #3b3b3b;background:#191919;color:white}.gc2-grid .check{display:flex;gap:10px;align-items:flex-start;color:#aaa;font-weight:500}.gc2-grid .check input{width:auto;margin-top:4px}.gc2-btn,.gc2-box #wp-submit{display:inline-block;margin-top:22px;background:var(--ag-green,#00e765);color:#001c0d;border:0;border-radius:9px;padding:15px 22px;font-weight:950;text-transform:uppercase;cursor:pointer}.gc2-box a,.gc2-account a{color:var(--ag-green,#00e765);font-weight:800}.gc2-message{max-width:920px;margin:20px auto;padding:16px;border-radius:10px;font-weight:700}.gc2-message.error{background:#3a1515;color:#ffb6b6}.gc2-message.success{background:#0e341f;color:#b8ffd2}.gc2-account-head{display:flex;justify-content:space-between;gap:20px}.gc2-account-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;margin-top:25px}.gc2-account-grid article,.gc2-history{background:#181818;border:1px solid #303030;border-radius:15px;padding:22px}.gc2-account-grid small{display:block;color:#aaa;margin-bottom:9px}.gc2-account-grid strong{font-size:1.3rem}.state{display:inline-block;padding:8px 12px;border-radius:999px}.state.green{background:#d9ffe8;color:#087735}.state.yellow{background:#fff4c6;color:#846300}.state.red{background:#ffdada;color:#9d1515}.state.gray{background:#ddd;color:#555}.gc2-history{margin-top:16px}.table-wrap{overflow:auto}.table-wrap table{width:100%;border-collapse:collapse}.table-wrap th,.table-wrap td{text-align:left;padding:12px;border-bottom:1px solid #303030;white-space:nowrap}@media(max-width:700px){.gc2-grid,.gc2-account-grid{grid-template-columns:1fr}.gc2-grid .full{grid-column:auto}.gc2-account-head{flex-direction:column}}


/* Carnet QR y asistencias del socio */
.gc2-member-app-grid{display:grid;grid-template-columns:minmax(300px,.72fr) minmax(0,1.28fr);gap:18px;margin-top:18px}
.gc2-qr-card{background:#0d0d0d;color:#fff;border:1px solid #272727;border-radius:18px;padding:24px;text-align:center}
.gc2-qr-card h3{color:#fff;margin:7px 0 18px}
.gc2-qr-label{color:#00e765;font-size:11px;font-weight:900;letter-spacing:.16em}
.gc2-member-qr{width:270px;min-height:270px;margin:0 auto 12px;padding:15px;background:#fff;border-radius:14px;display:grid;place-items:center}
.gc2-member-qr img,.gc2-member-qr canvas{max-width:100%;height:auto!important}
.gc2-qr-card p,.gc2-qr-loading{color:#a4a4a4}
.gc2-attendance-list{display:grid;gap:8px}
.gc2-attendance-list>div{display:flex;align-items:center;justify-content:space-between;padding:13px 15px;background:#f4f5f5;border-radius:10px}
.gc2-attendance-list span{color:#666}
@media(max-width:760px){
  .gc2-member-app-grid{grid-template-columns:1fr}
  .gc2-member-qr{width:min(270px,100%);min-height:240px}
}

.gc2-member-number{margin:10px auto 14px;padding:12px 16px;border:1px solid #303030;border-radius:12px;background:#171717;max-width:270px}
.gc2-member-number small,.gc2-member-number strong{display:block}
.gc2-member-number small{font-size:10px;letter-spacing:.14em;color:#929292;font-weight:800}
.gc2-member-number strong{font-size:24px;letter-spacing:.06em;color:#fff;margin-top:4px}


/* Rutina del socio 2.5 */
.gc2-routine-account{margin-top:18px;background:#0d0d0d;color:#fff;border:1px solid #292929;border-radius:18px;padding:22px}
.gc2-routine-account-head{display:flex;align-items:flex-end;justify-content:space-between;gap:15px;margin-bottom:18px}
.gc2-routine-account-head span{display:block;color:#00e765;font-size:11px;font-weight:900;letter-spacing:.15em}
.gc2-routine-account-head h3{color:#fff;font-size:24px;margin:4px 0 0}
.gc2-routine-account-head small{color:#999}
.gc2-routine-empty{text-align:center;padding:45px 15px;background:#171717;border-radius:14px}
.gc2-routine-empty strong{display:block;color:#fff;font-size:19px}
.gc2-routine-empty p{color:#999;margin-bottom:0}
.gc2-routine-image-link{display:block;position:relative;background:#fff;border-radius:14px;padding:10px;text-align:center;text-decoration:none;overflow:hidden}
.gc2-routine-account-image{display:block;width:100%;max-height:850px;object-fit:contain;margin:auto;border-radius:8px}
.gc2-routine-image-link>span{display:inline-block;margin:10px 0 3px;color:#111;font-weight:800}
.gc2-routine-notes{margin-top:14px;padding:16px;background:#171717;border-left:4px solid #00e765;border-radius:10px}
.gc2-routine-notes strong{color:#fff}
.gc2-routine-notes p{color:#d2d2d2;margin:7px 0 0;line-height:1.55}
@media(max-width:650px){
  .gc2-routine-account{padding:15px}
  .gc2-routine-account-head{display:block}
  .gc2-routine-account-head small{display:block;margin-top:7px}
}


/* Avatar del socio y contraste de asistencias 2.5.1 */
.gc2-profile-card{
    display:flex;
    align-items:center;
    gap:22px;
    margin-bottom:18px;
    padding:22px;
    background:#101010;
    border:1px solid #2b2b2b;
    border-radius:18px;
}
.gc2-profile-avatar-wrap{flex:0 0 auto}
.gc2-profile-avatar{
    width:118px;
    height:118px;
    object-fit:cover;
    border-radius:50%;
    border:4px solid #00e765;
    background:#222;
}
.gc2-profile-info{flex:1}
.gc2-profile-info>span{
    color:#00e765;
    font-size:11px;
    font-weight:900;
    letter-spacing:.14em;
}
.gc2-profile-info h2{
    margin:5px 0 3px;
    color:#fff;
}
.gc2-profile-info>p{
    margin:0 0 14px;
    color:#aaa;
}
.gc2-avatar-form{
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
}
.gc2-avatar-upload{display:inline-flex;align-items:center;cursor:pointer}
.gc2-avatar-upload input{
    position:absolute;
    opacity:0;
    pointer-events:none;
}
.gc2-avatar-upload span,
.gc2-avatar-form button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:40px;
    padding:0 16px;
    border:0;
    border-radius:9px;
    background:#00e765;
    color:#06130b;
    font-weight:900;
    cursor:pointer;
}
.gc2-avatar-form button{background:#fff;color:#111}
.gc2-avatar-remove{color:#bbb;font-size:13px}
.gc2-avatar-help{display:block;margin-top:8px;color:#858585}
.gc2-avatar-message{
    display:inline-block;
    margin:0 0 12px;
    padding:8px 11px;
    border-radius:8px;
    font-size:13px;
    font-weight:700;
}
.gc2-avatar-message.success{background:#dff8e9;color:#075127}
.gc2-avatar-message.error{background:#ffe4e4;color:#7d1717}

/* El fondo de la fila es claro: fecha y hora deben ser oscuras. */
.gc2-attendance-list>div{background:#f1f1f1!important}
.gc2-attendance-list>div strong{color:#111!important;font-weight:900}
.gc2-attendance-list>div span{color:#333!important;font-weight:700}

@media(max-width:650px){
    .gc2-profile-card{display:block;text-align:center}
    .gc2-profile-avatar-wrap{margin-bottom:14px}
    .gc2-avatar-form{justify-content:center}
}


/* Apps instalables 2.6 */
.gc2-install-app-card{
    display:flex;
    align-items:center;
    gap:14px;
    margin:0 0 18px;
    padding:17px 18px;
    background:linear-gradient(135deg,#00e765,#00bd54);
    color:#04150a;
    border-radius:16px;
}
.gc2-install-app-card>div{flex:1}
.gc2-install-app-card span{display:block;font-size:10px;font-weight:950;letter-spacing:.15em}
.gc2-install-app-card strong{display:block;font-size:19px;margin:3px 0}
.gc2-install-app-card p{margin:0;color:#0b3c20}
.gc2-install-app-card button{
    border:0;border-radius:10px;background:#080808;color:#fff;
    min-height:43px;padding:0 16px;font-weight:900;cursor:pointer
}
.gc2-install-app-card .gc2-ios-help{background:rgba(255,255,255,.75);color:#111}
.gc2-ios-instructions{
    margin:-7px 0 18px;padding:16px;background:#161616;color:#fff;
    border:1px solid #303030;border-radius:12px
}
.gc2-ios-instructions strong{display:block;color:#00e765;margin-top:8px}
.gc2-ios-instructions p{color:#bbb;margin:4px 0 9px}
.gc2-staff-login{
    max-width:500px;margin:70px auto;padding:35px;text-align:center;
    background:#101010;color:#fff;border:1px solid #292929;border-radius:20px
}
.gc2-staff-login>span{color:#00e765;font-weight:950;letter-spacing:.16em}
.gc2-staff-login h1{color:#fff;font-size:36px}
.gc2-staff-login p{color:#aaa}
.gc2-staff-app-shell{max-width:720px;margin:25px auto;padding:0 15px 35px}
.gc2-staff-app-header{
    display:flex;justify-content:space-between;align-items:flex-start;
    padding:24px;background:#0d0d0d;border:1px solid #292929;border-radius:19px;
    color:#fff;margin-bottom:16px
}
.gc2-staff-app-header span{color:#00e765;font-size:11px;font-weight:950;letter-spacing:.15em}
.gc2-staff-app-header h1{color:#fff;margin:6px 0 4px;font-size:31px}
.gc2-staff-app-header p{color:#999;margin:0}
.gc2-staff-app-header>a{color:#fff}
.gc2-staff-actions{display:grid;grid-template-columns:repeat(2,1fr);gap:13px}
.gc2-staff-action{
    position:relative;display:block;min-height:155px;padding:22px;
    background:#111;color:#fff!important;border:1px solid #292929;border-radius:17px;
    text-decoration:none!important
}
.gc2-staff-action>span{display:block;width:44px;height:7px;background:#00e765;border-radius:10px;margin-bottom:23px}
.gc2-staff-action strong{display:block;color:#fff;font-size:20px}
.gc2-staff-action p{color:#999;margin:7px 25px 0 0}
.gc2-staff-action b{position:absolute;right:18px;bottom:17px;color:#00e765;font-size:22px}
.gc2-staff-dashboard-link{
    display:block;margin-top:14px;padding:15px;text-align:center;background:#fff;color:#111!important;
    border-radius:12px;font-weight:900;text-decoration:none!important
}
@media(max-width:650px){
    .gc2-install-app-card{display:block}
    .gc2-install-app-card button{margin-top:11px;width:100%}
    .gc2-staff-actions{grid-template-columns:1fr}
    .gc2-staff-app-header h1{font-size:25px}
}


/* Corrección definitiva de legibilidad en Mi Cuenta 2.6.1 */
.gc2-account .gc2-attendance-history,
.gc2-account .gc2-attendance-history h3{
    color:#111!important;
}
.gc2-account .gc2-attendance-list>div{
    background:#f4f5f5!important;
    border:1px solid #dedede!important;
    color:#111!important;
}
.gc2-account .gc2-attendance-list>div strong,
.gc2-account .gc2-attendance-list>div strong *,
.gc2-account .gc2-attendance-list>div span,
.gc2-account .gc2-attendance-list>div span *{
    color:#111!important;
    opacity:1!important;
    text-shadow:none!important;
}
.gc2-account .gc2-attendance-list>div span{
    color:#4a4a4a!important;
}


/* ==================================================
   GYM CONTROL 3.0 — App Socio
================================================== */
.gc2-account{
    max-width:860px!important;
    margin:22px auto 80px!important;
}
.gc2-account-head{
    border-radius:20px!important;
    padding:24px!important;
    margin-bottom:14px!important;
}
.gc2-profile-card{
    border-radius:20px!important;
    box-shadow:none!important;
}
.gc2-account-grid{
    gap:10px!important;
}
.gc2-account-grid article{
    border-radius:16px!important;
    box-shadow:none!important;
}
.gc2-member-app-grid{
    gap:14px!important;
}
.gc2-qr-card,.gc2-history,.gc2-routine-account,.gc3-member-routine-upload{
    border-radius:20px!important;
    box-shadow:none!important;
}
.gc3-member-routine-upload{
    margin-top:16px;
    padding:22px;
    background:#101211;
    color:#fff;
    border:1px solid #2b2e2c;
}
.gc3-upload-copy span{
    color:#00e765;
    font-size:10px;
    font-weight:950;
    letter-spacing:.14em;
}
.gc3-upload-copy h3{
    color:#fff;
    margin:6px 0;
    font-size:24px;
}
.gc3-upload-copy p{
    color:#a5aaa7;
    margin:0 0 18px;
}
.gc3-routine-upload-form{
    display:grid;
    gap:13px;
}
.gc3-routine-upload-form label{
    color:#d8dcda;
    font-weight:800;
}
.gc3-routine-upload-form textarea{
    width:100%;
    margin-top:7px;
    padding:13px;
    border-radius:12px;
    border:1px solid #383c39;
    background:#080909;
    color:#fff;
    box-sizing:border-box;
}
.gc3-file-picker{
    display:block;
}
.gc3-file-picker input{
    position:absolute;
    opacity:0;
    pointer-events:none;
}
.gc3-file-picker span{
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:62px;
    padding:0 16px;
    border:1px dashed #00e765;
    border-radius:14px;
    color:#00e765;
    background:#0b170f;
    cursor:pointer;
}
.gc3-routine-upload-form button{
    min-height:49px;
    border:0;
    border-radius:12px;
    background:#00e765;
    color:#031108;
    font-weight:950;
    cursor:pointer;
}
.gc3-routine-upload-form>small{
    color:#868b88;
}
.gc3-pending-routine{
    display:flex;
    gap:14px;
    align-items:center;
    margin:0 0 16px;
    padding:13px;
    background:#191b1a;
    border-radius:14px;
}
.gc3-pending-routine img{
    width:72px;
    height:72px;
    object-fit:cover;
    border-radius:10px;
}
.gc3-pending-routine strong{
    display:block;
    color:#ffe37b;
}
.gc3-pending-routine p,.gc3-pending-routine small{
    color:#aaa;
    margin:4px 0 0;
}
@media(max-width:650px){
    .gc2-account{margin-top:8px!important}
    .gc2-profile-card{display:block!important}
    .gc2-account-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}


/* ==================================================
   GYM CONTROL 3.1 — Mi Cuenta
================================================== */
.gc31-install-section{
    margin-top:18px;
    padding:18px 20px;
    border:1px solid #2b2e2c;
    border-radius:18px;
    background:#101211;
    color:#fff;
}
.gc31-install-copy span{
    display:block;
    margin-bottom:5px;
    color:#00e765;
    font-size:10px;
    font-weight:950;
    letter-spacing:.14em;
}
.gc31-install-copy strong{
    display:block;
    color:#fff;
    font-size:18px;
    line-height:1.25;
}
.gc31-install-copy p{
    margin:6px 0 0;
    color:#9ca19e;
}
.gc31-install-actions{
    display:flex;
    gap:9px;
    flex-wrap:wrap;
    margin-top:14px;
}
.gc31-install-actions button{
    min-height:43px;
    padding:0 16px;
    border-radius:11px;
    border:1px solid #00e765;
    background:#00e765;
    color:#031108;
    font-weight:950;
    cursor:pointer;
}
.gc31-install-actions .gc2-ios-help{
    background:transparent;
    color:#00e765;
}
.gc31-install-section .gc2-ios-instructions{
    margin-top:14px;
    padding:14px;
    border-radius:12px;
    background:#080909;
    border:1px solid #242725;
    color:#c8ccca;
}
.gc31-install-section .gc2-ios-instructions strong{
    display:block;
    margin-top:7px;
    color:#fff;
}
.gc31-install-section .gc2-ios-instructions p{
    margin:4px 0 8px;
}

/* Más protagonismo para el QR */
.gc2-qr-card{
    padding:28px!important;
}
.gc2-member-qr{
    max-width:285px!important;
    margin:18px auto!important;
}

/* Mejor lectura de la planificación */
.gc2-routine-account{
    padding:24px!important;
}
.gc2-routine-account-image{
    width:100%!important;
    max-height:720px!important;
    object-fit:contain!important;
}

/* Asistencias más limpias */
.gc2-attendance-list>div{
    display:flex!important;
    justify-content:space-between!important;
    align-items:center!important;
    padding:12px 0!important;
    border-bottom:1px solid #e5e5e5!important;
}
.gc2-attendance-list>div:last-child{
    border-bottom:0!important;
}

@media(max-width:650px){
    .gc31-install-section{
        padding:16px;
        margin-bottom:20px;
    }
    .gc31-install-actions{
        display:grid;
        grid-template-columns:1fr;
    }
    .gc31-install-actions button{
        width:100%;
    }
    .gc2-qr-card{
        padding:22px 16px!important;
    }
}
