﻿/**
 * SOC — unica hoja de estilos de marca (index.html, despues de Telerik).
 * Todo el CSS de la app SOC vive en este archivo; no crear hojas parciales soc-*.css.
 */
/* ========== base ========== */
:root {
    /*
     * Manual de identidad SOC (Pantone / HEX oficial).
     * Usar estos tokens en nuevos estilos; los --soc-* legacy se migran gradualmente.
     */
    --verde-primario-soc: #006d4e;       /* Pantone 342 C — R0 G109 B78 */
    --verde-claro-soc: #4ed176;          /* Pantone 2256 C — R78 G209 B118 */
    --verde-secundario-soc: #0fac78;     /* Verde secundario marca (legacy: --color-verdeSecundario) */
    --soc-nav-hover-bg: rgba(255, 255, 255, 0.1);
    --soc-nav-hover-fg: #ffffff;
    --soc-nav-active-bg: #ffffff;
    --soc-nav-active-fg: var(--verde-primario-soc);
    --soc-shell-page-bg: #f4f6f8;
    --soc-shell-outer-bg: color-mix(in srgb, var(--verde-primario-soc) 6%, #eef1f4);
    --soc-shell-card-bg: #ffffff;
    --soc-shell-card-shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 4px 14px rgba(16, 24, 40, 0.05);
    --soc-shell-panel-radius: 20px;
    --soc-shell-sidebar-radius: 16px;
    --soc-shell-frame-gap: 10px;
    --soc-shell-sidebar-transition-duration: 0.5s;
    --soc-shell-sidebar-transition-easing: cubic-bezier(0.4, 0, 0.2, 1);
    --soc-shell-outer-padding: 8px;
    --azul-primario-soc: #079def;        /* Pantone 2192 C — R7 G157 B230 */
    --celeste-soc: #52deff;              /* Pantone 305 C — R82 G222 B255 */
    --coral-soc: #ff7150;                /* Pantone 1645 C — R255 G113 B80 */
    --rosa-vibrante-soc: #ff9fcf;        /* Pantone 211 C — R255 G150 B198 */
    --salmon-soc: #ff9c9c;               /* Pantone 169 C — R255 G147 B147 */
    --rosa-palido-soc: #ffbdde;          /* Pantone 182 C — R255 G180 B213 */

    --soc-sidebar-bg: var(--verde-primario-soc);
    --soc-header-bg: var(--verde-primario-soc);
    --soc-browser-toolbar-strip: var(--verde-primario-soc);
    --soc-header-text-color: #ffffff;
    --heatmap-0: #ebedf0;
    --heatmap-1: #9be9a8;
    --heatmap-2: #40c463;
    --heatmap-3: #30a14e;
    --heatmap-4: #216e39;
    --soc-page-title-color: var(--verde-primario-soc);
    --soc-modal-title-color: #0b7d62;
    --soc-link-color: #0b8261;
    --color-primario:#149570; /* @deprecated usar --verde-primario-soc */
    --color-verdeSecundario:#0fac78; /* @deprecated usar --verde-secundario-soc */
    --color-secundario: #95cd51;
    --color-rosaSoc:#f08cb9; /* @deprecated legacy */
    --color-naranjaSoc:#ed694b; /* @deprecated legacy */
    --color-azulSoc:#4ac1ec; /* @deprecated legacy */
    --color-azulSocSecundario:#29b0ff; /* @deprecated legacy */
    --colorRojoSoc:#ff4f4f; /* @deprecated legacy */
    --highdmin-nav-link-hover-color: #0fac78 !important;
    /* Guía botones (primario sólido verde SOC / secundario) */
    --soc-btn-primary: var(--verde-primario-soc);
    --soc-btn-primary-hover: var(--verde-claro-soc);
    --soc-btn-primary-fg: #ffffff;
    --soc-btn-primary-disabled-bg: color-mix(in srgb, var(--verde-primario-soc) 35%, #ffffff);
    --soc-btn-primary-disabled-border: color-mix(in srgb, var(--verde-primario-soc) 45%, #ffffff);
    --soc-btn-secondary-fg: var(--verde-primario-soc);
    --soc-btn-secondary-border: var(--verde-primario-soc);
    --soc-btn-secondary-hover-fg: #ffffff;
    --soc-btn-secondary-hover-border: var(--verde-primario-soc);
    --soc-btn-secondary-disabled-fg: #98a2b3;
    --soc-btn-secondary-disabled-border: #d0d5dd;
    --soc-btn-pill-radius: 5px;
    /* Botón Editar — paleta azul (más claro #79ceff) */
    --soc-btn-edit-bg: #79ceff;
    --soc-btn-edit-border: #32b7fe;
    --soc-btn-edit-fg: #0064a6;
    --soc-btn-edit-hover-bg: #079def;
    --soc-btn-edit-hover-border: #007ecd;
    --soc-btn-edit-hover-fg: #ffffff;
    --soc-btn-edit-disabled-bg: #b8e8ff;
    --soc-btn-edit-disabled-border: #8fd4f8;
    --soc-btn-edit-disabled-fg: #5a8aa8;
    /* Desactivar */
    --soc-btn-deactivate: var(--coral-soc);
    --soc-btn-deactivate-hover: #e85d3f;
    --soc-btn-deactivate-disabled-bg: #ffc9b8;
    --soc-btn-deactivate-disabled-border: #ffb598;
}
@font-face {
    font-family: "Nunito";
    src: url("../fonts/Nunito/Nunito-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Nunito";
    src: url("../fonts/Nunito/Nunito-SemiBold.ttf") format("truetype");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Nunito";
    src: url("../fonts/Nunito/Nunito-Bold.ttf") format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
/**HELPER`S**/
html {
    /* Color al “rebote” del scroll; ayuda a Safari a relacionar la página con la marca */
    background-color: var(--soc-browser-toolbar-strip, #006d4e);
}

body{
    font-family: Nunito;
}
a {
    text-decoration: none;
}

/* Enlaces de contenido (configurable en Apariencia). Excluye botones y estilos Telerik tipo .k-link */
.soc-app-links a:not([class*="btn"]):not(.k-link):not(.k-button):not(.k-picker),
.soc-app-links .btn-link,
.modal a:not([class*="btn"]):not(.k-link):not(.k-button):not(.k-picker),
.modal .btn-link,
.soc-login-page a:not([class*="btn"]),
.soc-login-page .btn-link,
.soc-ui-appearance-page a:not([class*="btn"]),
.soc-ui-appearance-page .btn-link {
    color: var(--soc-link-color, #0b8261);
}

.soc-app-links a:not([class*="btn"]):not(.k-link):not(.k-button):not(.k-picker):hover,
.soc-app-links .btn-link:hover,
.modal a:not([class*="btn"]):not(.k-link):not(.k-button):not(.k-picker):hover,
.modal .btn-link:hover,
.soc-login-page a:not([class*="btn"]):hover,
.soc-login-page .btn-link:hover,
.soc-ui-appearance-page a:not([class*="btn"]):hover,
.soc-ui-appearance-page .btn-link:hover {
    color: color-mix(in srgb, var(--soc-link-color, #0b8261) 78%, #000000);
}

.soc-login-page .btn-link {
    font-weight: 700;
}
svg{
    width: inherit !important;
    height: auto !important;
}

.bg-soc{
    background-color: var(--color-primario);
}
.page-content{
    min-height: 100vh;
}
.footer{
    padding: 0px !important;
}
.boldSoc{
    color: var(--color-primario);
    font-weight: 600;
}
.text-verde{
    color: var(--color-primario);
}
.center{
    text-align: center;
}
.mt-10{
    margin-top: 10px;
}
.mt-3{
    margin-top: 30px;
}
.r-20{
    margin-right: 10px;
}
.mt-buscar{
    margin-top: 29px;
}
.align-right{
    text-align: right;
}
.left-check{
    padding-left: 50px;
}
.p-20{
    padding: 20px;
}
.card{
    background-color: #ffffff;
    border: 1px solid #ededed;
    border-radius: 5px;
    padding: 20px;
    margin: 20px 0;
}
.btn-guardar{
    background-color: #0fac78;
    border: 1px solid #0fac78;
    border-radius: 5px;
    color: white;
    cursor: pointer;
    font-size: 14px;
    padding: 10px 20px;
    margin: 10px;
}
.btn-cancelar{
    background-color: #ff4f4f;
    border: 1px solid #ff4f4f;
    border-radius: 5px;
    color: white;
    cursor: pointer;
    font-size: 14px;
    padding: 10px 20px;
    margin: 10px;
}
.texto-secundario{
    color: #6c6c6c;
    font-size: 13px;
}
.h-auto{
    height: auto;
}

/**LOADER***/
.contentLoader {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}
.iconoLoader {
    width: 80px; 
    animation: spin 3s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
/**LOGIN**/
.auth-bg {
    background-color: #006a4c !important;
}
.text-description{
    text-align: center !important;
    font-size: 13px !important;
    color: #717171 !important;
    padding: 0px !important;
}
.content-form{
    background-color: #ffffff !important;
}
.recuperar-contraseña {
    color: #4ed176 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-decoration: underline;
}
/**TOP NAV**/
.page-container {
    --highdmin-gutter-x: 0px !important;
    padding: 0px !important;
}
.logotipoSistema{
    color: #006d4e;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 0px;
    padding: 0 20px;
}
.logotipoSistema small{
    color: #3aa6ff;
    font-weight: 600;
    font-size: 14px;
}
/********Telerik*******/
.titulo-tabla{
    color: var(--soc-page-title-color, #006d4e);
    font-size: 17px;
    font-weight: 700;
}
.k-link{
    background-color: #006d4e;
    color: #ffffff !important;
    font-weight: 700;
}
.k-link:hover{
    background-color: #006d4e;
    color: #ffffff !important;
}
.k-grid-filter-row input {
    color: black;        
    caret-color: black;    
    background-color: white; 
}
.matriz-thead {
    background-color: #006a4c;
    color: #ffffff;
    font-weight: 800;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
.matriz-thead div{
    border: 1px solid #ebebeb;
    padding-left: 10px;
}
.matriz{
    border: 1px solid #ebebeb;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
.bg-bandeja-operativa{
    background-color: #f8f8f8;
    font-size: 14px;
    font-weight: 700;
}
.bandejas-operativas{
    border: 1px solid #ebebeb;
    padding-left: 10px;
    height: 50px;
}
.bandejas-operativas strong{
    color: #006a4c;
}
.iconoCheck{
    margin-top: 10px;
    width: 25px;
}
.no-aplica{
    background: #f8f8f8;
    color: #6c6c6c;
    font-size: 13px;
    height: 50px;
    display: flex;
    justify-content: center;     
    align-items: center;    
    text-align: center;
}
.k-checkbox-wrap{
    margin-top: 10px;
}
.k-checkbox {
    width: 25px !important;
    height: 25px !important;
    border-radius: 50% !important;
    padding: 3px !important;
}
.k-checkbox:checked,
.k-checkbox.k-checked {
    background-color: #0fac78 !important;
    border-color: #0fac78 !important;
}
.k-checkbox:checked::before {
    color: #ffffff;
}
.k-checkbox:hover {
    border-color: #0fac78;
}
.k-checkbox:focus {
    box-shadow: 0 0 0 2px rgba(15, 172, 120, 0.3);
}
/****Tabla usuarios******/
.estado-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 5px;
    vertical-align: middle;
}
.nombre-tabla{
    color: #0fac78;
    font-weight: 800;
}
/* Telerik ThemeColor primary (p. ej. Editar en grid) — guía pill azul, todos los contextos */
.k-button.k-button-solid-primary {
    border-color: var(--soc-btn-primary) !important;
    color: #ffffff !important;
    background-color: var(--soc-btn-primary) !important;
    border-radius: var(--soc-btn-pill-radius) !important;
    font-weight: 600 !important;
    padding: 5px 15px !important;
}

.k-button.k-button-solid-primary:hover:not(.k-disabled):not(:disabled) {
    background-color: var(--soc-btn-primary-hover) !important;
    border-color: var(--soc-btn-primary-hover) !important;
    color: #ffffff !important;
}

.k-button.k-button-solid-primary.k-disabled,
.k-button.k-button-solid-primary:disabled {
    background-color: var(--soc-btn-primary-disabled-bg) !important;
    border-color: var(--soc-btn-primary-disabled-border) !important;
    color: #ffffff !important;
    opacity: 1 !important;
    cursor: not-allowed;
}

/* Editar en grillas (Telerik primary + clase) — azul más claro de la paleta */
.k-button.k-button-solid-primary.btn-soc-edit {
    background-color: var(--soc-btn-edit-bg) !important;
    border-color: var(--soc-btn-edit-border) !important;
    color: var(--soc-btn-edit-fg) !important;
    border-radius: var(--soc-btn-pill-radius) !important;
    font-weight: 600 !important;
}

.k-button.k-button-solid-primary.btn-soc-edit:hover:not(.k-disabled):not(:disabled) {
    background-color: var(--soc-btn-edit-hover-bg) !important;
    border-color: var(--soc-btn-edit-hover-border) !important;
    color: var(--soc-btn-edit-hover-fg) !important;
}

.k-button.k-button-solid-primary.btn-soc-edit.k-disabled,
.k-button.k-button-solid-primary.btn-soc-edit:disabled {
    background-color: var(--soc-btn-edit-disabled-bg) !important;
    border-color: var(--soc-btn-edit-disabled-border) !important;
    color: var(--soc-btn-edit-disabled-fg) !important;
    opacity: 1 !important;
    cursor: not-allowed;
}

/* Fallback robusto: aplica el estilo Editar aunque Telerik cambie clases internas */
.k-button.btn-soc-edit,
button.btn-soc-edit {
    background-color: var(--soc-btn-edit-bg) !important;
    border-color: var(--soc-btn-edit-border) !important;
    color: var(--soc-btn-edit-fg) !important;
    border-radius: var(--soc-btn-pill-radius) !important;
    font-weight: 600 !important;
}

.k-button.btn-soc-edit:hover:not(.k-disabled):not(:disabled),
button.btn-soc-edit:hover:not(:disabled) {
    background-color: var(--soc-btn-edit-hover-bg) !important;
    border-color: var(--soc-btn-edit-hover-border) !important;
    color: var(--soc-btn-edit-hover-fg) !important;
}

.k-button.btn-soc-edit.k-disabled,
.k-button.btn-soc-edit:disabled,
button.btn-soc-edit:disabled {
    background-color: var(--soc-btn-edit-disabled-bg) !important;
    border-color: var(--soc-btn-edit-disabled-border) !important;
    color: var(--soc-btn-edit-disabled-fg) !important;
    opacity: 1 !important;
    cursor: not-allowed;
}

/* Botones HTML + Telerik con clase SOC — misma guía en toda la app */
.btn-soc-primary.k-button,
button.btn-soc-primary:not(.k-button),
.btn.btn-soc-primary:not(.k-button),
input[type="submit"].btn-soc-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--soc-btn-primary) !important;
    border: 1px solid var(--soc-btn-primary) !important;
    color: var(--soc-btn-primary-fg) !important;
    border-radius: var(--soc-btn-pill-radius);
    font-weight: 600;
    cursor: pointer;
    padding: 7px 16px;
    font-size: 13px;
    line-height: 1.2;
    gap: 6px;
}

.btn-soc-primary.k-button:hover:not(.k-disabled):not(:disabled),
button.btn-soc-primary:not(.k-button):hover:not(:disabled),
.btn.btn-soc-primary:not(.k-button):hover:not(:disabled),
input[type="submit"].btn-soc-primary:hover:not(:disabled) {
    background-color: var(--soc-btn-primary-hover) !important;
    border-color: var(--soc-btn-primary-hover) !important;
    color: #ffffff !important;
}

.btn-soc-primary.k-button.k-disabled,
.btn-soc-primary.k-button:disabled,
button.btn-soc-primary:not(.k-button):disabled,
.btn.btn-soc-primary:not(.k-button):disabled,
input[type="submit"].btn-soc-primary:disabled {
    background-color: var(--soc-btn-primary-disabled-bg) !important;
    border-color: var(--soc-btn-primary-disabled-border) !important;
    color: #ffffff !important;
    opacity: 1;
    cursor: not-allowed;
}

.btn-soc-secondary.k-button,
button.btn-soc-secondary:not(.k-button),
.btn.btn-soc-secondary:not(.k-button) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff !important;
    border: 1px solid var(--soc-btn-secondary-border) !important;
    color: var(--soc-btn-secondary-fg) !important;
    border-radius: var(--soc-btn-pill-radius);
    font-weight: 600;
    cursor: pointer;
    padding: 7px 16px;
    font-size: 13px;
    line-height: 1.2;
    gap: 6px;
}

.btn-soc-secondary.k-button:hover:not(.k-disabled):not(:disabled),
button.btn-soc-secondary:not(.k-button):hover:not(:disabled),
.btn.btn-soc-secondary:not(.k-button):hover:not(:disabled) {
    border-color: var(--soc-btn-secondary-hover-border) !important;
    color: var(--soc-btn-secondary-hover-fg) !important;
    background-color: var(--soc-btn-secondary-border) !important;
}

.btn-soc-secondary.k-button.k-disabled,
.btn-soc-secondary.k-button:disabled,
button.btn-soc-secondary:not(.k-button):disabled,
.btn.btn-soc-secondary:not(.k-button):disabled {
    border-color: var(--soc-btn-secondary-disabled-border) !important;
    color: var(--soc-btn-secondary-disabled-fg) !important;
    background-color: #ffffff !important;
    opacity: 1;
    cursor: not-allowed;
}

button.btn-soc-close:not(.k-button) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 16px;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 600;
    border-radius: var(--soc-btn-pill-radius);
    cursor: pointer;
    gap: 6px;
}

button.btn-soc-primary:not(.k-button) .bx,
button.btn-soc-secondary:not(.k-button) .bx,
button.btn-soc-close:not(.k-button) .bx,
label.btn-soc-secondary .bx {
    font-size: 1.05em;
    line-height: 1;
}

/* Desactivar — sólido coral (#ff7150) */
.k-button.btn-soc-deactivate,
button.btn-soc-deactivate:not(.k-button) {
    background-color: var(--soc-btn-deactivate) !important;
    border: 1px solid var(--soc-btn-deactivate) !important;
    color: #ffffff !important;
    border-radius: var(--soc-btn-pill-radius);
    font-weight: 600;
    cursor: pointer;
    padding: 7px 16px;
    font-size: 13px;
    line-height: 1.2;
}

.k-button.btn-soc-deactivate:hover:not(.k-disabled):not(:disabled),
button.btn-soc-deactivate:not(.k-button):hover:not(:disabled) {
    background-color: var(--soc-btn-deactivate-hover) !important;
    border-color: var(--soc-btn-deactivate-hover) !important;
    color: #ffffff !important;
}

.k-button.btn-soc-deactivate.k-disabled,
.k-button.btn-soc-deactivate:disabled,
button.btn-soc-deactivate:not(.k-button):disabled {
    background-color: var(--soc-btn-deactivate-disabled-bg) !important;
    border-color: var(--soc-btn-deactivate-disabled-border) !important;
    color: #ffffff !important;
    opacity: 1 !important;
    cursor: not-allowed;
}

.boton-regresar{
    background-color: transparent !important;
    border: none !important;
    color: #ff4f4f !important;
    font-weight: 700;
}

/* ================= Catálogo de Bancos ================= */
.soc-banks-page .soc-banks-grid {
    background: #ffffff;
    border: 1px solid #e3e7ec;
    border-radius: 6px;
}

.soc-bank-badge-active {
    background-color: var(--soc-page-title-color, #006d4e) !important;
    color: #ffffff !important;
    font-weight: 600;
}

.soc-bank-actions {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px 0;
}

.soc-bank-actions .soc-bank-link {
    color: var(--soc-page-title-color, #006d4e);
    font-weight: 600;
    cursor: default;
    text-decoration: none;
    font-size: 13px;
}

.soc-bank-actions .soc-bank-link:hover {
    text-decoration: underline;
}

.soc-bank-actions .sep {
    color: #9aa3ad;
    margin: 0 6px;
    user-select: none;
}

.soc-bank-detail {
    margin: 8px 8px 12px 32px;
    padding: 14px 16px;
    background: #fafbfc;
    border-left: 3px solid var(--soc-page-title-color, #006d4e);
    border-radius: 0 8px 8px 0;
}

.soc-bank-detail-title {
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 0.04em;
    color: var(--soc-page-title-color, #006d4e);
}

.soc-bank-detail-thead {
    background: #eceef2;
    padding: 8px 12px;
    font-weight: 700;
    font-size: 13px;
    color: #3a424a;
    border-radius: 4px 4px 0 0;
}

.soc-bank-detail-row {
    padding: 10px 12px;
    background: #ffffff;
    border: 1px solid #e3e7ec;
    border-top: none;
    border-radius: 0 0 4px 4px;
}

.soc-bank-input:focus {
    border-color: var(--soc-page-title-color, #006d4e);
    box-shadow: 0 0 0 0.15rem rgba(0, 109, 78, 0.18);
}


:root {
    --header-height: 3rem;
    --nav-width: 68px;
    --first-color: #4723D9;
    --first-color-light: #AFA5D9;
    --white-color: #F7F6FB;
    --body-font: 'Nunito', sans-serif;
    --normal-font-size: 1rem;
    --z-fixed: 100;
}
*,::before,::after {
    box-sizing: border-box;
}

body{
    background-color: #f3f6f8;
}

/* ================= Navigation Items (page styling) ================= */
.navigation-items-page{
    padding: 0 20px 40px 20px;
}

.navigation-items-page .card{
    margin: 0;
}

.navigation-items-page .btn-soc-link{
    background: transparent;
    border: none;
    color: #006d4e;
    font-weight: 800;
    cursor: pointer;
    padding: 0;
}

.navigation-items-page .btn-soc-danger{
    color: #ff4f4f;
}

.navigation-items-page .table-soc{
    margin-bottom: 0;
}

.navigation-items-page .table-soc thead th{
    background-color: #006a4c;
    color: #ffffff;
    font-weight: 800;
    border-color: #006a4c;
}

.navigation-items-page .table-soc tbody td{
    vertical-align: middle;
    color: #515151;
}

.navigation-items-page .table-actions{
    white-space: nowrap;
}

.navigation-items-page .modal-content{
    border-radius: 12px;
}

.navigation-items-page .modal-actions{
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 16px;
}

/* Títulos de modales Bootstrap */
.modal-title {
    color: var(--soc-modal-title-color, #0b7d62);
}

/* Ventanas Telerik (título) — incluye .soc-tenant-window y otras */
.k-window-title {
    color: var(--soc-modal-title-color, #0b7d62);
}

/* ================= Tenants modal (TelerikWindow) ================= */
.soc-tenant-window .k-window-titlebar{
    border-bottom: 1px solid #d9dde3;
    padding: 16px 20px;
}

.soc-tenant-window .k-window-title{
    font-weight: 800;
    color: var(--soc-modal-title-color, #0b7d62);
}

.soc-tenant-window .k-window-content{
    background: #eceef2;
    padding: 14px;
}

.soc-tenant-window-body{
    background: #f4f5f7;
    border-radius: 12px;
    padding: 24px;
    max-width: 460px;
    margin: 0 auto;
}

.soc-tenant-window .form-label{
    font-weight: 700;
    color: #606774;
    margin-bottom: 6px;
}

.soc-tenant-control{
    width: 100%;
}

.soc-tenant-window .k-input,
.soc-tenant-window .k-input-inner,
.soc-tenant-window .k-picker-md,
.soc-tenant-window .k-picker{
    border-radius: 6px;
}

.soc-tenant-window .modal-actions{
    justify-content: flex-start;
    gap: 10px;
}

.soc-tenant-logo-preview-wrap{
    margin-top: 10px;
}

.soc-tenant-logo-preview{
    max-height: 48px;
    max-width: 220px;
    object-fit: contain;
    background: #fff;
    border: 1px solid #dfe3e8;
    border-radius: 6px;
    padding: 4px 8px;
}

/* ================= Tenants grid ================= */
.soc-tenants-grid{
    background: #ffffff;
    border: 1px solid #d9dde3;
    border-radius: 4px;
}

.soc-tenants-grid .k-grid-header{
    background: #ffffff;
    border-bottom: 1px solid #dde2e8;
}

.soc-tenants-grid .k-grid-header th{
    font-weight: 800;
    color: #2f3642;
    font-size: 14px;
    border-right: none;
}

.soc-tenants-grid .k-grouping-header{
    background: #ffffff;
    border-bottom: 1px solid #e3e7ec;
    padding: 10px 12px;
}

.soc-tenants-grid .k-grouping-header .k-chip,
.soc-tenants-grid .k-grouping-header .k-indicator-container {
    background: var(--verde-secundario-soc) !important;
    border: 1px solid var(--verde-secundario-soc) !important;
    border-radius: 6px;
    color: #ffffff !important;
    font-weight: 600;
    box-shadow: none;
    min-height: 32px;
}

.soc-tenants-grid .k-grouping-header .k-chip .k-chip-content,
.soc-tenants-grid .k-grouping-header .k-indicator-container .k-chip-content {
    padding: 6px 10px;
    min-height: 30px;
    line-height: 1.25;
}

.soc-tenants-grid .k-grouping-header .k-chip .k-chip-content,
.soc-tenants-grid .k-grouping-header .k-chip .k-chip-label,
.soc-tenants-grid .k-grouping-header .k-indicator-container .k-chip-content,
.soc-tenants-grid .k-grouping-header .k-indicator-container .k-chip-label {
    color: #ffffff !important;
    font-size: 13px;
}

.soc-tenants-grid .k-grouping-header .k-chip .k-chip-action,
.soc-tenants-grid .k-grouping-header .k-chip .k-chip-remove-action,
.soc-tenants-grid .k-grouping-header .k-indicator-container .k-button {
    color: #ffffff !important;
    opacity: 0.92;
}

.soc-tenants-grid .k-grouping-header .k-chip .k-chip-action:hover,
.soc-tenants-grid .k-grouping-header .k-chip .k-chip-remove-action:hover,
.soc-tenants-grid .k-grouping-header .k-indicator-container .k-button:hover {
    opacity: 1;
    background: color-mix(in srgb, #ffffff 18%, var(--verde-secundario-soc)) !important;
}

.soc-tenants-grid .k-grouping-header .k-chip .k-svg-icon,
.soc-tenants-grid .k-grouping-header .k-chip .k-svg-icon path,
.soc-tenants-grid .k-grouping-header .k-indicator-container .k-svg-icon,
.soc-tenants-grid .k-grouping-header .k-indicator-container .k-svg-icon path {
    fill: #ffffff !important;
    color: #ffffff !important;
}

.soc-tenants-grid .k-table-row td{
    color: #2e3137;
    border-top: 1px solid #eef1f5;
    font-size: 14px;
}

.soc-tenants-grid .k-grouping-row td{
    background: #f8fafc;
    font-weight: 700;
    color: #4a5568;
}

/* Acción terciaria en grid (Personal, Cambiar contraseña, etc.) — outline como secundario */
.soc-btn-personal.k-button {
    background-color: #ffffff !important;
    color: var(--soc-btn-secondary-fg) !important;
    border: 1px solid var(--soc-btn-secondary-border) !important;
    border-radius: var(--soc-btn-pill-radius);
    font-weight: 600;
}

.soc-btn-personal.k-button:hover:not(.k-disabled):not(:disabled) {
    border-color: var(--soc-btn-secondary-hover-border) !important;
    color: var(--soc-btn-secondary-hover-fg) !important;
    background-color: #ffffff !important;
}

.soc-tenants-grid .k-pager{
    border-top: 1px solid #dfe4ea;
    background: #ffffff;
}

.soc-branches-block{
    border-left: 3px solid #2aa780;
    padding: 8px 0 0 14px;
    margin: 0 0 2px 8px;
}

.soc-branches-title{
    margin: 0 0 6px 0;
    font-size: 12px;
    font-weight: 800;
    color: #177c63;
    letter-spacing: 0.5px;
}

.soc-branches-grid .k-grid-header th{
    font-size: 13px;
}

/* ================= Register User ================= */
.register-user-page{
    padding: 0 20px 40px 20px;
}

.register-user-page .register-user-actions{
    display: flex;
    gap: 12px;
    justify-content: flex-start;
}

.register-user-page .card{
    margin: 0;
}

.register-user-page .table-soc{
    margin-bottom: 0;
}

.register-user-page .table-soc thead th{
    background-color: #006a4c;
    color: #ffffff;
    font-weight: 800;
    border-color: #006a4c;
}

.register-user-page .table-soc tbody td{
    vertical-align: middle;
    color: #515151;
}

.register-user-page .modal-actions{
    display: flex;
    gap: 12px;
    justify-content: flex-start;
}

.register-user-page .modal-content{
    border-radius: 12px;
}

#body-pd {
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    transition: .5s;
}

/* ================= HEADER ================= */
.header {
    width: 100%;
    height: var(--header-height);
    position: fixed;
    top: 0;
    left: 0;
    /* Fondo verde SOC fijo: Safari en macOS muestrea este color para teñir el chrome del navegador */
    background: var(--soc-header-bg, #006d4e);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    z-index: var(--z-fixed);
    transition: .5s;
    border-bottom: 1px solid rgba(0,0,0,0.15);
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.header_toggle {
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--soc-header-text-color, #ffffff);
}

.header_img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    overflow: hidden;
}

.header_img img {
    width: 40px;
}
/* ================= HEADER LAYOUT ================= */
.header {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.header-left {
    flex: 0 0 48px; 
    display: flex;
    justify-content: center;
    align-items: center;
}
.header-logo {
    flex: 0 0 auto;
}
.header-spacer {
    flex: 1;
}
.header-notifications {
    display: flex;
    align-items: center;
}
.logoHeader{
    font-size: 20px;
}
.version{
    font-size: 15px;
    color: #3aa6ff;
}
/* empuja contenido a la derecha */
.header-spacer {
    flex: 1;
}

/* derecha */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-action {
    color: var(--soc-header-text-color, #ffffff);
    font-size: 14px;
    cursor: pointer;
}
/* ================= LOGOTIPO ================= */
.logotipoSistema {
    margin: 0;
    line-height: 1.1;
}

.loaderSoc{
    width: 150px;
    display: block;
}
/* ================= SIDEBAR ================= */
.l-navbar {
    position: fixed;
    top: 0;
    left: -30%;
    width: var(--nav-width);
    height: 100vh;
    background: var(--soc-sidebar-bg, #006d4e);
    padding: .15rem 0 0 0;
    transition: .5s;
    z-index: var(--z-fixed);
}

.nav {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-family: nunito;
    padding-left: 0;
}

.nav_logo,
.nav_link {
    display: grid;
    grid-template-columns: max-content max-content;
    align-items: center;
    column-gap: 1rem;
    padding: .5rem 0 .5rem 1.5rem;
}

.nav_logo {
    margin-bottom: 2px;
    /* Reduce el alto del logo para que el bloque de usuario suba */
    padding-top: .15rem;
    padding-bottom: .15rem;
}

.nav_link {
    position: relative;
    color: #ffffff;
    transition: .3s;
}

.nav_link:hover,
.active {
    color: #95cd51;
}

.nav_icon {
    font-size: 1.25rem;
}

/* Sidebar abierto (no usar .show suelto: Bootstrap modals también usan "show") */
.l-navbar.show {
    left: 0;
}

.body-pd {
    padding-left: calc(var(--nav-width) + 1rem);
}

.l-navbar {
    background-color: var(--soc-sidebar-bg, #006d4e)!important;
}

.iconoLogo{
    width: 25px;
    display: inline-block;
    margin-top: 5px;
}

.logoSistema{
    width: 140px;
    display: none;
}

/* Expandido */
.l-navbar.show .iconoLogo{
    display: none;
}

.l-navbar.show .logoSistema{
    display: inline-block;
}

/* Animación suave */
.iconoLogo,
.logoSistema{
    transition: opacity .3s ease, transform .3s ease;
}

/* ================= LINKS ================= */
.nav_icon{
    color: #ffffff;
}

.nav_name{
    color: #ffffff;
}

.active {
    color: #95cd51 !important;
}

.active::before {
    background-color: #95cd51 !important;
}

#header-toggle{
    color: var(--soc-header-text-color, #ffffff) !important;
    font-size: 35px !important;
}

.iconoSalir{
    width: 25px;
}

.nav_logo{
    padding-left: 0px;
}

.nav_link{
    padding-left: 0px;
}

/* ================= DESKTOP ================= */
@media screen and (min-width: 768px) {

    #body-pd {
        padding-left: calc(var(--nav-width) + 2rem);
    }

    .header {
        height: calc(var(--header-height) + 1rem);
        padding-left: calc(var(--nav-width) + 2rem);
    }

    .header_img {
        width: 40px;
        height: 40px;
    }

    .header_img img {
        width: 45px;
    }

    /* Posición horizontal del sidebar: ver bloque "Layout fix" al final del archivo */

    /* Ancho sidebar expandido en desktop */
    .l-navbar.show {
        width: calc(var(--nav-width) + 175px);
    }

    .body-pd {
        padding-left: calc(var(--nav-width) + 188px);
    }
}

/* ================= MAIN ================= */
#body-pd {
    margin-top: var(--header-height);
    transition: .5s;
}

#body-pd.body-pd {
    padding-left: calc(var(--nav-width) + 1rem);
}

.header.body-pd {
    padding-left: calc(var(--nav-width) + 1rem);
}

/* ================= DESKTOP PUSH ================= */
@media screen and (min-width: 768px) {

    #body-pd.body-pd {
        padding-left: calc(var(--nav-width) + 188px);
    }

    .header.body-pd {
        padding-left: calc(var(--nav-width) + 188px);
    }
}

/* ================= ANIMACIONES ================= */
.nav_name {
    opacity: 0;
    transform: translateX(-10px);
    transition: opacity .3s ease, transform .3s ease;
    white-space: nowrap;
}

.l-navbar.show .nav_name {
    opacity: 1;
    transform: translateX(0);
    transition-delay: .15s; 
    font-size: 13px;
    font-family: nunito;
    font-weight: 600;
}

.nav_link {
    overflow: hidden;
}

.nav_logo-name {
    opacity: 0;
    transform: translateX(-10px);
    transition: opacity .3s ease, transform .3s ease;
}

.l-navbar.show .nav_logo-name {
    opacity: 1;
    transform: translateX(0);
    transition-delay: .15s;
}

.main-content{
    margin-top: 100px !important;
}

/* ================= SUBMENU ================= */
.nav-list{
    border-bottom: 1px solid #ebebeb;
}
.nav_item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    width: 100%;
}

.nav_link_toggle {
    background-color: transparent;
    border: none;
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 13px;
}

.nav_arrow {
    font-size: 1rem;
    transition: transform 1s ease;
}

.nav_submenu {
    max-height: 0;
    overflow: hidden;
    padding-left: 35px;
    margin: 0 0;
    opacity: 0;
    transform: translateY(-6px);
    transition:
        max-height .4s ease,
        opacity .3s ease,
        transform .3s ease;
}
.nav_item.open .nav_submenu {
    max-height: 500px;
    opacity: 1;
    transform: translateY(0);
}

.nav_submenu li{
    list-style: none;
}

.nav_sublink {
    display: block;
    padding: .4rem 0;
    font-size: .9rem;
    color: #515151;
    opacity: .85;
    transition: 1s;
    font-size: 13px;
}

.nav_sublink:hover {
    opacity: 1;
    color: #006d4e;
}

.nav_item.open .nav_submenu {
    background-color: #006d4e;
    max-height: 500px;
}

.nav_item.open .nav_arrow {
    transform: rotate(180deg);
}

.logoUsuario{
    border-radius: 50%;
    width: 30px;
    vertical-align: middle;
}
.usuario{
    background-color: #006d4e;
    color: #ffffff;
    font-size: 13px;
    padding: 10px 14px;
    border-radius: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0;
}
.usuario {
    transition: opacity .3s ease, transform .3s ease;
}

/* Asegura que el texto del usuario se vea sobre el fondo verde */
.usuario .nav_name,
.usuario strong{
    color: #ffffff !important;
}
.l-navbar:not(.show) .usuario {
    opacity: 0;
    transform: translateX(-10px);
    pointer-events: none;
}
/* Sidebar colapsado */
.l-navbar:not(.show) .nav_name,
.l-navbar:not(.show) .nav_arrow {
    opacity: 0;
    width: 0;
    overflow: hidden;
    pointer-events: none;
}

/* =========================================================
   TEMA GLOBAL ESTILO EJEMPLO (layout completo)
========================================================= */

#header {
    height: 72px;
    padding: 0 18px;
    border-bottom: 1px solid rgba(0,0,0,0.15);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.header-left {
    flex: 0 0 46px;
}

.header-logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

.header-logo-img {
    height: 42px;
    width: auto;
    object-fit: contain;
    display: block;
    /* Mantener colores originales del logo cargado */
    filter: none;
}

.header-center {
    flex: 1;
    text-align: center;
}

.header-title {
    margin: 0;
    color: var(--soc-header-text-color, #ffffff);
    font-size: 30px;
    line-height: 1;
    font-weight: 700;
}

.header-actions {
    gap: 10px;
    font-size: 12px;
    color: var(--soc-header-text-color, #ffffff);
}

.header-user {
    color: var(--soc-header-text-color, #ffffff);
}

/* Header action icons (bell, logout) */
.header-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    padding: 0;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: var(--soc-header-text-color, #ffffff);
    cursor: pointer;
    line-height: 1;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.header-icon-btn .bx {
    font-size: 25px;
    line-height: 1;
}

.header-icon-btn:hover {
    background: color-mix(in srgb, var(--soc-header-text-color, #ffffff) 12%, transparent);
}

.header-icon-btn:focus-visible {
    outline: 2px solid color-mix(in srgb, var(--soc-header-text-color, #ffffff) 55%, #fff);
    outline-offset: 2px;
}

#body-pd {
    margin-top: 72px;
    padding-right: 12px;
}

.main-content {
    margin-top: 72px !important;
    background: #f4f6f8;
    min-height: calc(100vh - 72px);
    padding-bottom: 18px;
}

.l-navbar {
    top: 72px;
    height: calc(100vh - 72px);
    background: var(--soc-sidebar-bg, #006d4e) !important;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.12);
    padding-top: 10px;
}

.nav {
    padding-left: 0;
    padding-top: 0;
}

.usuario {
    position: relative;
    background: var(--soc-sidebar-bg, #006d4e);
    border-radius: 0;
    margin: 0;
    width: 100%;
    min-height: 72px;
    padding: 10px 40px 10px 22px;
    align-items: center;
    box-sizing: border-box;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.usuario .logoUsuario {
    width: 40px;
    height: 40px;
    object-fit: cover;
}

.usuario .soc-user-photo {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.soc-profile-photo-upload {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.soc-profile-photo-upload__frame {
    position: relative;
    width: 112px;
    height: 112px;
    flex-shrink: 0;
}

.soc-profile-photo-upload__trigger {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border-radius: 50%;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    border: 2px dashed #d0d5dd;
    background: #f8faf9;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.soc-profile-photo-upload__trigger:hover,
.soc-profile-photo-upload__trigger:focus-within {
    border-color: var(--verde-primario-soc);
    box-shadow: 0 0 0 3px rgba(0, 109, 78, 0.12);
}

.soc-profile-photo-upload__image,
.soc-profile-photo-upload__empty {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.soc-profile-photo-upload__empty {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #f3f6f8 0%, #e9ecef 100%);
}

.soc-profile-photo-upload__empty .bx {
    font-size: 2.75rem;
    color: #adb5bd;
    line-height: 1;
}

.soc-profile-photo-upload__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border-radius: 50%;
    background: rgba(0, 45, 32, 0.55);
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    padding: 8px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.soc-profile-photo-upload__trigger:hover .soc-profile-photo-upload__overlay,
.soc-profile-photo-upload__trigger:focus-within .soc-profile-photo-upload__overlay {
    opacity: 1;
}

.soc-profile-photo-upload__overlay .bx {
    font-size: 1.35rem;
    line-height: 1;
}

.soc-profile-photo-upload__remove {
    position: absolute;
    right: -2px;
    bottom: 2px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 2px solid #ffffff;
    border-radius: 50%;
    background: #fff;
    color: var(--coral-soc);
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.soc-profile-photo-upload__remove:hover {
    background: var(--coral-soc);
    color: #fff;
    border-color: var(--coral-soc);
}

.soc-profile-photo-upload__remove .bx {
    font-size: 14px;
    line-height: 1;
}

.soc-profile-photo-upload__input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.soc-profile-photo-upload__hint {
    margin: 0;
    max-width: 220px;
    text-align: center;
    font-size: 12px;
    line-height: 1.4;
    color: #6b7580;
}

.soc-profile-photo-upload__error {
    margin: 0;
    text-align: center;
    font-size: 12px;
    line-height: 1.4;
    color: #b42318;
}

.coaches-config-window .soc-profile-photo-upload,
.coaches-modal-form-grid__full .soc-profile-photo-upload {
    align-self: center;
}

/* Legacy — mantener por si hay referencias antiguas */
.soc-staff-photo-preview {
    width: 112px;
    height: 112px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--verde-primario-soc);
    display: block;
    margin: 0 auto;
}

.soc-staff-photo-placeholder {
    width: 112px;
    height: 112px;
    border-radius: 50%;
    background-color: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    border: 2px dashed #ced4da;
}

.soc-staff-photo-placeholder i {
    font-size: 2.5rem;
    color: #adb5bd;
}

.coaches-config-window .soc-staff-photo-block {
    align-items: center;
    text-align: center;
}

.coaches-config-window .soc-staff-photo-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
}

.coaches-config-window .soc-staff-photo-upload {
    cursor: pointer;
    margin: 0;
}

.soc-config-subpage-title-card__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-shrink: 0;
}

/* Tarjeta de título: acciones a la izquierda, Volver siempre al final (derecha) */
.soc-config-subpage-title-card__actions .btn-soc-secondary:not(.btn-soc-volver) {
    order: 1;
}

.soc-config-subpage-title-card__actions .btn-soc-primary {
    order: 2;
}

.soc-config-subpage-title-card__actions .btn-soc-volver {
    order: 3;
}

/* Botones compactos — alias del tamaño estándar SOC */
.btn-soc-compact.btn-soc-primary,
.btn-soc-compact.btn-soc-secondary,
button.btn-soc-compact.btn-soc-primary,
button.btn-soc-compact.btn-soc-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.coaches-config-window .soc-staff-photo-block {
    align-items: center;
    text-align: center;
}

.coaches-config-window .soc-staff-photo-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
}

.coaches-config-window .soc-staff-photo-upload {
    cursor: pointer;
    margin: 0;
}

.soc-user-welcome {
    display: block;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.2;
    opacity: 0.92;
    margin-bottom: 2px;
}

.soc-user-name {
    display: block;
    font-size: 14px;
    line-height: 1.25;
    margin-bottom: 2px;
}

.soc-user-role {
    display: block;
    font-size: 12px;
    line-height: 1.2;
    opacity: 0.92;
    font-weight: 400;
}

.soc-user-role-label {
    display: inline-block;
    margin-top: 5px;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.2;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    padding: 2px 8px;
    color: #ffffff;
}

.usuario .soc-user-welcome,
.usuario .soc-user-role {
    color: #ffffff !important;
}

.usuario .soc-user-name {
    color: #ffffff !important;
}

.nav_item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.nav_link {
    border-radius: 0;
    margin-right: 0;
}

.nav_link:hover,
.nav_item.open > .nav_link {
    background: rgba(0, 0, 0, 0.12);
    color: #ffffff;
}

.nav_sublink {
    color: #ffffff;
}

.nav_submenu .nav_sublink:hover {
    color: rgba(255, 255, 255, 0.92) !important;
    opacity: 1;
}

.nav_subicon {
    margin-right: 8px;
    font-size: 15px;
    vertical-align: middle;
}

.nav_item.open .nav_submenu {
    background: var(--soc-sidebar-bg, #006d4e);
    border-radius: 0 0 6px 6px;
}

.card,
.k-card,
.k-grid,
.k-tilelayout-item {
    border-radius: 8px !important;
    border: 1px solid #e3e8eb !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
}

.k-grid-header,
.k-table-thead {
    background: #f6f8f9 !important;
}

@media (max-width: 992px) {
    .header-title {
        font-size: 22px;
    }

    .header-logo-img {
        height: 34px;
    }

    .header-user {
        display: none;
    }
}

.header-bell-wrap {
    position: relative;
}

.header-bell-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: #f44336;
    color: #fff;
    font-size: 9px;
    line-height: 14px;
    min-width: 14px;
    height: 14px;
    border-radius: 50%;
    text-align: center;
    font-weight: 700;
}

/* Dashboard clone */
.soc-dashboard {
    padding: 0 12px 16px;
}

.soc-dashboard-title {
    margin: 4px 0 10px;
    color: var(--soc-page-title-color, #0b6f54);
    font-size: 22px;
    font-weight: 700;
}

.soc-kpi-row,
.soc-stage-row,
.soc-chart-row {
    display: grid;
    gap: 10px;
    margin-bottom: 10px;
}

.soc-kpi-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.soc-kpi-card {
    background: #fff;
    border: 1px solid #dfe5e8;
    border-top: 3px solid #0b8261;
    border-radius: 6px;
    padding: 10px 14px;
}

.soc-kpi-card span {
    display: block;
    text-transform: uppercase;
    color: #8a9399;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .03em;
}

.soc-kpi-card strong {
    display: block;
    margin-top: 2px;
    color: #1f2f36;
    font-size: 39px;
    line-height: 1.1;
}

.soc-kpi-card .soc-positive {
    color: #0f9b67;
}

.soc-stage-row {
    grid-template-columns: repeat(7, minmax(0, 1fr));
}

.soc-stage-card {
    background: #fff;
    border: 1px solid #dfe5e8;
    border-radius: 6px;
    text-align: center;
    padding: 8px 8px 4px;
    min-height: 120px;
    display: flex;
    flex-direction: column;
}

.soc-stage-card h3 {
    margin: 0 -8px 8px;
    padding: 7px 6px;
    border-bottom: 1px solid #e9eef1;
    color: #7f8890;
    text-transform: uppercase;
    font-size: 10px;
    font-weight: 700;
    min-height: 33px;
}

.soc-stage-card strong {
    font-size: 38px;
    line-height: 1.15;
    color: #1f2f36;
}

.soc-stage-card small {
    color: #8a949b;
    text-transform: uppercase;
    font-size: 10px;
}

.soc-stage-card a {
    margin-top: auto;
    color: var(--soc-link-color, #0b8261);
    font-size: 12px;
    font-weight: 700;
}

.soc-chart-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.soc-chart-card {
    background: #fff;
    border: 1px solid #dfe5e8;
    border-radius: 6px;
    padding: 10px 14px 12px;
}

.soc-chart-card h3 {
    margin: 0 0 10px;
    text-transform: uppercase;
    font-size: 10px;
    color: #7f8890;
    font-weight: 700;
}

.soc-bars {
    height: 250px;
    display: grid;
    align-items: end;
    gap: 12px;
    border: 1px solid #edf1f3;
    border-radius: 4px;
    padding: 16px 12px;
    background:
        linear-gradient(to top, #f3f6f8 1px, transparent 1px) 0 100%/100% 20%,
        #fff;
}

.soc-bars span {
    border-radius: 2px 2px 0 0;
}

.soc-bars-blue {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.soc-bars-blue span {
    background: linear-gradient(180deg, #43c5e7 0%, #26a9d7 100%);
}

.soc-bars-green {
    grid-template-columns: repeat(7, minmax(0, 1fr));
}

.soc-bars-green span {
    background: linear-gradient(180deg, #15a26f 0%, #0b8b5f 100%);
}

/* Telerik Chart en dashboard Home */
.soc-chart-telerik-wrap {
    margin-top: 6px;
    border: 1px solid #edf1f3;
    border-radius: 6px;
    padding: 4px 6px 0;
    background: #ffffff;
    min-height: 268px;
}

.soc-chart-telerik-wrap .k-chart,
.soc-chart-telerik.k-chart {
    --kendo-chart-bg: #ffffff;
}

.soc-chart-telerik-blue.k-chart {
    --kendo-chart-series-1: #43c5e7;
}

.soc-chart-telerik-green.k-chart {
    --kendo-chart-series-1: #0b8b5f;
}

@media (max-width: 1400px) {
    .soc-stage-row {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 1100px) {
    .soc-kpi-row,
    .soc-chart-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .soc-kpi-row,
    .soc-stage-row,
    .soc-chart-row {
        grid-template-columns: 1fr;
    }
}

/* Configuracion / Coaches: ver seccion configuracion mas abajo en este archivo */

/* =========================================================
   Layout fix: header no invade sidebar
========================================================= */
:root {
    --soc-sidebar-open-width: 262px;
}

.l-navbar {
    top: 0 !important;
    height: 100vh !important;
    width: var(--soc-sidebar-open-width) !important;
    left: calc(-1 * var(--soc-sidebar-open-width)) !important;
    padding-top: 0;
    background-color: var(--soc-sidebar-bg, #006d4e) !important;
    transition: left 0.35s ease !important;
    box-shadow: none;
}

.l-navbar.show {
    left: 0 !important;
    box-shadow: 4px 0 18px rgba(0, 0, 0, 0.12);
}

.soc-sidebar-close {
    position: absolute;
    top: 10px;
    right: 6px;
    z-index: 3;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
}

.soc-sidebar-close:hover {
    background: rgba(255, 255, 255, 0.14);
}

.soc-sidebar-close i {
    font-size: 26px;
}

.soc-sidebar-fab {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 110;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 0 10px 10px 0;
    background: var(--soc-sidebar-bg, #006d4e);
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-shadow: 2px 2px 12px rgba(0, 0, 0, 0.18);
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.soc-sidebar-fab:hover {
    filter: brightness(0.88);
    box-shadow: 2px 4px 14px rgba(0, 0, 0, 0.22);
}

.soc-sidebar-fab i {
    font-size: 26px;
}

.header {
    left: 0;
    width: 100%;
    margin-left: 0;
}

#body-pd {
    padding-left: 12px;
}

@media screen and (min-width: 768px) {
    .header.body-pd {
        margin-left: var(--soc-sidebar-open-width) !important;
        width: calc(100% - var(--soc-sidebar-open-width)) !important;
        padding-left: 18px !important;
        padding-right: 18px !important;
    }

    #body-pd.body-pd {
        padding-left: calc(var(--soc-sidebar-open-width) + 12px) !important;
    }
}

/* Página configuración apariencia */
.soc-ui-appearance-page {
    padding: 0 4px 24px;
    max-width: 640px;
}

.soc-ui-appearance-card {
    background: #fff;
    border: 1px solid #e3e8eb;
    border-radius: 10px;
    padding: 20px 22px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.soc-ui-appearance-row {
    margin-bottom: 20px;
}

.soc-ui-appearance-row:last-of-type {
    margin-bottom: 0;
}

.soc-ui-appearance-label {
    display: block;
    font-weight: 700;
    color: #3a4550;
    margin-bottom: 8px;
    font-size: 14px;
}

.soc-ui-appearance-hint {
    display: block;
    font-size: 12px;
    color: #7a8692;
    margin-top: 6px;
    line-height: 1.35;
}

.soc-ui-appearance-input {
    max-width: 100%;
}

.soc-ui-appearance-color-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.soc-ui-appearance-color {
    width: 52px;
    height: 40px;
    padding: 2px;
    border: 1px solid #cfd6dc;
    border-radius: 8px;
    cursor: pointer;
    background: #fff;
}

.soc-ui-appearance-hex {
    max-width: 140px;
    font-family: ui-monospace, monospace;
    font-size: 14px;
}

.soc-ui-appearance-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #e9eef1;
}

.soc-app-links .pagination .page-item:not(.active):not(.disabled) .page-link,
.modal .pagination .page-item:not(.active):not(.disabled) .page-link {
    color: var(--soc-link-color, #0b8261);
}

/* ── TabStrip estilo subrayado (global) ─────────────────────── */
.k-tabstrip > .k-tabstrip-items-wrapper {
    border-bottom: 1px solid #d1d5db;
    background: transparent !important;
}
.k-tabstrip .k-tabstrip-items {
    border: none !important;
    background: transparent !important;
    gap: 0;
}
/* Reset total de fondo y bordes en todos los estados */
.k-tabstrip .k-tabstrip-items .k-item,
.k-tabstrip .k-tabstrip-items .k-item *,
.k-tabstrip .k-tabstrip-items .k-tabstrip-item,
.k-tabstrip .k-tabstrip-items .k-tabstrip-item * {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
    color: #1a5c3e !important;
}
.k-tabstrip .k-tabstrip-items .k-item,
.k-tabstrip .k-tabstrip-items .k-tabstrip-item {
    font-weight: 400;
    font-size: 0.95rem;
    padding: 10px 20px;
    margin-bottom: -1px;
    cursor: pointer;
    transition: opacity .15s;
}
.k-tabstrip .k-tabstrip-items .k-item:hover,
.k-tabstrip .k-tabstrip-items .k-tabstrip-item:hover {
    opacity: 0.7;
}
/* Tab activo: fondo verde tenue, negrita y subrayado */
.k-tabstrip .k-tabstrip-items .k-item.k-active,
.k-tabstrip .k-tabstrip-items .k-tabstrip-item.k-active,
.k-tabstrip .k-tabstrip-items .k-item.k-state-active,
.k-tabstrip .k-tabstrip-items .k-tabstrip-item.k-state-active {
    font-weight: 600 !important;
    background-color: rgba(26, 92, 62, 0.06) !important;
    border-bottom: 2px solid #1a5c3e !important;
}
.k-tabstrip > .k-content,
.k-tabstrip .k-tabstrip-content {
    border: none !important;
    padding: 20px 0 0 0;
    box-shadow: none !important;
    background: transparent !important;
}

/* ── Uso Plataforma ─────────────────────────────────────────── */
.uso-plataforma-page { padding: 0 8px; }
.uso-plataforma-page .titulo-modulo { color: #1a5c3e; font-size: 1.6rem; margin-bottom: 20px; }

.filtros-row { display: flex; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
.filtro-item { display: flex; flex-direction: column; gap: 4px; }
.filtro-item label { font-size: 0.8rem; color: #555; font-weight: 500; }
.filtro-hint { font-size: 0.82rem; color: #666; margin-bottom: 20px; }

.loading-container { display: flex; justify-content: center; padding: 40px; }
.sin-datos { color: #888; padding: 20px 0; }

/* KPI Cards */
.kpi-row { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.kpi-card { border: 1.5px solid #b8d8c8; border-radius: 6px; padding: 18px 24px; min-width: 160px; text-align: center; }
.kpi-card .kpi-label { display: block; font-size: 0.7rem; color: #666; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 8px; }
.kpi-card .kpi-value { display: block; font-size: 2rem; font-weight: 700; color: #1a5c3e; }

/* Tables */
.detalle-tables-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.detalle-table-section h4 { color: #1a5c3e; font-size: 1rem; margin-bottom: 8px; }
.soc-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.soc-table th { border-bottom: 2px solid #c8e6d8; padding: 6px 8px; color: #444; text-align: left; }
.soc-table td { border-bottom: 1px solid #eef4f0; padding: 5px 8px; }
.soc-table tr:hover td { background: #f5faf7; }
.text-right { text-align: right !important; }

/* Broker tab */
.tab-broker { padding: 8px 0; }
.broker-header { display: flex; align-items: center; gap: 20px; margin-bottom: 4px; }
.broker-header h3 { color: #1a5c3e; margin: 0; }
.broker-sort { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; color: #666; }
.btn-sort { border: 1px solid #ccc; background: #fff; border-radius: 20px; padding: 3px 12px; cursor: pointer; font-size: 0.82rem; }
.btn-sort-active { border: 1.5px solid #1a5c3e; background: #fff; border-radius: 20px; padding: 3px 12px; cursor: pointer; font-size: 0.82rem; font-weight: 600; color: #1a5c3e; }
.hint-broker { font-size: 0.82rem; color: #888; margin-bottom: 16px; }
.broker-row { display: flex; align-items: center; gap: 12px; padding: 8px 4px; border-bottom: 1px solid #eef4f0; cursor: pointer; }
.broker-row:hover { background: #f5faf7; }
.broker-row--selected { background: #edf7f1; }
.broker-name { min-width: 160px; font-size: 0.88rem; font-weight: 500; }
.broker-bar-wrap { flex: 1; height: 22px; background: #f0f0f0; border-radius: 3px; overflow: hidden; }
.broker-bar { height: 100%; background: #1a5c3e; border-radius: 3px; transition: width .3s; }
.broker-stat { font-size: 0.8rem; min-width: 80px; text-align: center; }
.broker-stat small { display: block; font-size: 0.65rem; color: #888; }
.broker-stat--actions { color: #1a5c3e; }
.broker-stat--contacts { color: #0055aa; }
.broker-stat--opps { color: #7b3fa0; }
.broker-detail-panel { background: #fafffe; border: 1px solid #c8e6d8; border-radius: 6px; padding: 20px; margin: 8px 0 16px 0; }
.bdp-header h4 { margin: 0 0 2px 0; color: #1a5c3e; }
.bdp-header p { margin: 0 0 16px 0; font-size: 0.82rem; color: #666; }
.bdp-users-header { display: grid; grid-template-columns: 160px 100px 1fr; font-size: 0.75rem; color: #888; border-bottom: 1px solid #ddd; padding-bottom: 4px; margin-bottom: 6px; }
.bdp-user-row { display: grid; grid-template-columns: 160px 100px 1fr; align-items: center; padding: 5px 0; border-bottom: 1px solid #f0f0f0; }
.bdp-username { font-size: 0.88rem; font-weight: 500; }
.bdp-total { font-size: 0.88rem; color: #1a5c3e; font-weight: 700; }
.hour-cells { display: flex; gap: 2px; }
.hour-cell { width: 14px; height: 14px; border-radius: 2px; }

/* Heatmap tab */
.tab-heatmap h3 { color: #1a5c3e; margin-top: 0; }
.calendar-heatmap { display: flex; flex-wrap: wrap; gap: 3px; margin-bottom: 8px; max-width: 700px; }
.cal-day { width: 18px; height: 18px; border-radius: 2px; cursor: pointer; }
.cal-day:hover { opacity: .8; outline: 1px solid #666; }
.heatmap-legend { display: flex; align-items: center; gap: 4px; font-size: 0.75rem; color: #888; margin-bottom: 24px; }
.leg-box { width: 14px; height: 14px; border-radius: 2px; }
/* Patrón semanal — estructura alineada */
.week-pattern-wrap { display: flex; flex-direction: column; gap: 2px; margin-bottom: 24px; }
.wp-header { display: flex; align-items: center; gap: 2px; }
.wp-day-spacer { width: 28px; flex-shrink: 0; }
.wp-hour-labels { display: flex; gap: 2px; }
.wp-hour-label { width: 20px; font-size: 0.62rem; color: #888; text-align: center; flex-shrink: 0; overflow: hidden; }
.wp-row { display: flex; align-items: center; gap: 2px; }
.wp-day-label { width: 28px; font-size: 0.7rem; color: #666; flex-shrink: 0; }
.wp-cells { display: flex; gap: 2px; }
.wp-cell { width: 20px; height: 16px; border-radius: 2px; flex-shrink: 0; }
.mt-4 { margin-top: 24px; }
.day-detail-table { border: 1px solid #e0eae4; border-radius: 6px; overflow: hidden; font-size: 0.85rem; max-width: 700px; }
.ddt-header { display: grid; grid-template-columns: 120px 60px 80px 1fr; background: #f0f7f3; padding: 7px 12px; font-size: 0.75rem; font-weight: 600; color: #444; }
.ddt-row { display: grid; grid-template-columns: 120px 60px 80px 1fr; padding: 6px 12px; border-bottom: 1px solid #eef4f0; align-items: center; }
.ddt-row:hover:not(.ddt-weekend) { background: #f5faf7; }
.ddt-weekend { color: #aaa; }
.activity-bar { height: 10px; background: #1a5c3e; border-radius: 2px; min-width: 0; }

/* Sesiones Activas */
.tab-sesiones { padding: 8px 0; }
.sa-header { display: flex; align-items: center; gap: 20px; margin-bottom: 16px; }
.sa-kpis { display: flex; gap: 12px; }
.sa-kpi { border: 1.5px solid #ccc; border-radius: 6px; padding: 8px 20px; text-align: center; min-width: 80px; }
.sa-kpi--green { border-color: #1a5c3e; }
.sa-kpi-num { display: block; font-size: 1.5rem; font-weight: 700; color: #1a5c3e; }
.sa-kpi-label { display: block; font-size: 0.65rem; color: #888; text-transform: uppercase; }
.btn-soc-outline { border: 1.5px solid #1a5c3e; background: #fff; color: #1a5c3e; border-radius: 6px; padding: 6px 16px; cursor: pointer; font-size: 0.88rem; }
.btn-soc-outline:hover { background: #f0f7f3; }
.estado-dot { font-size: 1rem; }
.estado-conectado { color: #22c55e; }
.estado-inactivo { color: #aaa; }
.role-chip { background: #dbeafe; color: #1e40af; border-radius: 4px; padding: 2px 8px; font-size: 0.78rem; }

/* Modal detalle de día */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.4); display: flex; align-items: center; justify-content: center; z-index: 9999; }
.modal-dia-detalle { background: #fff; border-radius: 10px; width: 680px; max-width: 95vw; max-height: 80vh; overflow-y: auto; box-shadow: 0 8px 32px rgba(0,0,0,.18); }
.modal-dia-header { display: flex; justify-content: space-between; align-items: flex-start; padding: 20px 24px 12px; border-bottom: 1px solid #eee; }
.modal-dia-header h4 { margin: 0 0 4px 0; color: #1a5c3e; font-size: 1.2rem; }
.modal-dia-header p { margin: 0; font-size: 0.85rem; color: #666; }
.btn-cerrar { background: none; border: none; font-size: 1.2rem; cursor: pointer; color: #666; }
.modal-dia-body { padding: 16px 24px; }
.hora-grupo { margin-bottom: 16px; }
.hora-titulo { color: #1a5c3e; margin: 0 0 8px 0; font-size: 0.95rem; }
.hora-tabla { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.hora-tabla th { border-bottom: 1.5px solid #ddd; padding: 5px 8px; color: #555; }
.hora-tabla td { border-bottom: 1px solid #f0f0f0; padding: 4px 8px; }
.tipo-chip { background: #dbeafe; color: #1e40af; border-radius: 4px; padding: 1px 7px; font-size: 0.75rem; }

/* ======================== NOTIFICATION BELL DROPDOWN ======================== */
.header-bell-wrap { position: relative; cursor: pointer; }
.notification-overlay { position: fixed; inset: 0; z-index: 1040; }
.notification-dropdown {
    position: absolute; top: calc(100% + 8px); right: 0;
    width: 280px; background: #fff; border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,.18); z-index: 1050;
    overflow: hidden;
}
.notification-list { max-height: 300px; overflow-y: auto; }
.notification-empty { padding: 18px 16px; color: #888; font-size: 0.85rem; text-align: center; }
.notification-item {
    display: flex; align-items: flex-start; gap: 8px;
    padding: 10px 12px; border-bottom: 1px solid #f0f0f0;
}
.notification-item:last-child { border-bottom: none; }
.notification-item-content { flex: 1; min-width: 0; }
.notification-item-title { display: block; font-weight: 600; font-size: 0.9rem; color: #1a1a1a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.notification-item-date { display: block; font-size: 0.75rem; color: #888; margin-top: 2px; }
.notification-badge-active { color: #006d4e; font-weight: 600; }
.notification-item-close {
    background: none; border: none; color: #aaa; font-size: 1.1rem;
    cursor: pointer; padding: 0 2px; line-height: 1; flex-shrink: 0;
}
.notification-item-close:hover { color: #e53e3e; }
.notification-footer {
    display: flex; justify-content: space-between;
    padding: 10px 12px; border-top: 1px solid #e8e8e8; background: #fafafa;
}
.notification-footer-link { font-size: 0.8rem; color: #006d4e; cursor: pointer; text-decoration: none; }
.notification-footer-link:hover { text-decoration: underline; }

/* ======================== ALERTS MODULE PAGE ======================== */
.soc-alerts-page { padding: 24px; }
.soc-alerts-header {
    display: flex; align-items: center; gap: 16px;
    flex-wrap: wrap; margin-bottom: 20px;
}
.soc-alerts-count { font-size: 0.95rem; color: #444; }
.soc-alerts-notif-toggle { margin-left: auto; }
.soc-alerts-card {
    background: #fff; border-radius: 8px;
    box-shadow: 0 1px 6px rgba(0,0,0,.08); padding: 20px 24px;
}
.soc-alerts-card-title { font-size: 0.75rem; font-weight: 700; color: #888; letter-spacing: .06em; margin-bottom: 12px; }
.soc-alerts-filter { display: flex; gap: 4px; margin-bottom: 16px; }
.btn-soc-filter {
    padding: 6px 18px; border-radius: 6px; border: 1px solid #d1d5db;
    background: #fff; color: #555; font-size: 0.88rem; cursor: pointer;
    transition: background .15s, color .15s;
}
.btn-soc-filter.active { background: #006d4e; color: #fff; border-color: #006d4e; }
.btn-soc-filter:hover:not(.active) { background: #f3f4f6; }
.soc-alerts-empty { color: #888; font-size: 0.9rem; padding: 12px 0; }
.soc-alerts-list { display: flex; flex-direction: column; gap: 0; }
.soc-alert-item {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 14px 0; border-bottom: 1px solid #f0f0f0;
}
.soc-alert-item:last-child { border-bottom: none; }
.soc-alert-dot {
    width: 10px; height: 10px; border-radius: 50%;
    margin-top: 5px; flex-shrink: 0;
}
.soc-alert-dot.active { background: #006d4e; }
.soc-alert-dot.inactive { background: #ccc; }
.soc-alert-body { flex: 1; min-width: 0; }
.soc-alert-date { font-size: 0.78rem; color: #006d4e; font-weight: 600; margin-bottom: 2px; }
.soc-alert-title { font-size: 0.95rem; font-weight: 700; color: #1a1a1a; }
.soc-alert-comment { font-size: 0.85rem; color: #555; margin-top: 2px; }
.soc-alert-meta { font-size: 0.8rem; color: #888; margin-top: 4px; }
.soc-alert-action { font-size: 0.82rem; color: #006d4e; cursor: pointer; text-decoration: none; margin-top: 4px; display: inline-block; }
.soc-alert-action:hover { text-decoration: underline; }
.soc-alerts-modal .modal-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }

/* ===================== ANNOUNCEMENTS ===================== */
.soc-announcements-page { padding: 1.5rem; }
.soc-announcements-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.25rem; }
.soc-announcements-title { font-size: 1.35rem; font-weight: 700; color: var(--soc-page-title-color); display: flex; align-items: center; gap: 8px; margin: 0; }
.soc-announcements-tabs { display: flex; gap: 4px; margin-bottom: 1rem; border-bottom: 2px solid #e5e7eb; }
.soc-tab-btn { background: none; border: none; padding: 8px 16px; font-size: 0.9rem; font-weight: 600; color: #6b7280; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -2px; transition: color 0.15s, border-color 0.15s; display: flex; align-items: center; gap: 6px; }
.soc-tab-btn.active { color: var(--soc-page-title-color); border-bottom-color: var(--soc-page-title-color); }
.soc-tab-count { background: #e5e7eb; border-radius: 999px; font-size: 0.75rem; padding: 0 7px; line-height: 1.6; }
.soc-tab-btn.active .soc-tab-count { background: var(--soc-page-title-color); color: #fff; }
.soc-announcement-message-preview { font-size: 0.82rem; color: #6b7280; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 420px; margin-top: 2px; }
.soc-badge { display: inline-flex; align-items: center; gap: 4px; font-size: 0.72rem; padding: 2px 8px; border-radius: 999px; font-weight: 600; }
.soc-badge-contract { background: #fef3c7; color: #92400e; }
.soc-badge-attachment { background: #e0f2fe; color: #0369a1; }
.soc-badge-active { background: #d1fae5; color: #065f46; }
.soc-badge-inactive { background: #f3f4f6; color: #6b7280; }
.soc-scheduled-date { font-size: 0.82rem; color: #6b7280; display: flex; align-items: center; gap: 4px; }
.soc-actions-cell { display: flex; gap: 6px; align-items: center; }
.soc-btn-icon { background: none; border: 1px solid #d1d5db; border-radius: 6px; padding: 4px 8px; cursor: pointer; font-size: 1rem; display: inline-flex; align-items: center; gap: 4px; transition: background 0.12s, border-color 0.12s; color: #4b5563; }
.soc-btn-icon:hover { background: #f3f4f6; }
.soc-btn-responses { color: #0369a1; border-color: #bae6fd; }
.soc-btn-edit     { color: #065f46; border-color: #a7f3d0; }
.soc-btn-view     { color: #0369a1; border-color: #bae6fd; }
.soc-btn-view:hover { background: #e0f2fe; }
.soc-btn-copy-action { color: #6b7280; border-color: #d1d5db; }
.soc-btn-copy-action:hover { background: #f3f4f6; }
.soc-btn-resolve  { color: #059669; border-color: #6ee7b7; }
.soc-btn-resolve:hover  { background: #d1fae5; }
.soc-btn-resolved { color: #d97706; border-color: #fde68a; }
.soc-btn-resolved:hover { background: #fef3c7; }
.soc-btn-delete   { color: #991b1b; border-color: #fecaca; }
.soc-btn-delete:hover { background: #fee2e2; }
.soc-btn-danger { background: #dc2626; color: #fff; border: none; padding: 6px 16px; border-radius: 6px; cursor: pointer; font-weight: 600; }
.soc-btn-danger:hover { background: #b91c1c; }
.soc-responses-badge { background: #dbeafe; color: #1e40af; border-radius: 999px; font-size: 0.7rem; padding: 1px 6px; font-weight: 700; }
.soc-responses-summary { display: flex; gap: 12px; margin-bottom: 1rem; flex-wrap: wrap; }
.soc-response-chip { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; font-size: 0.8rem; font-weight: 600; border: 2px solid transparent; cursor: pointer; transition: filter 0.12s, box-shadow 0.12s; }
.soc-response-chip.all { background: #e0e7ff; color: #3730a3; }
.soc-response-chip.accepted, .soc-response-chip.aceptado { background: #d1fae5; color: #065f46; }
.soc-response-chip.later, .soc-response-chip.después { background: #fef3c7; color: #92400e; }
.soc-response-chip.rejected, .soc-response-chip.rechazado { background: #fee2e2; color: #991b1b; }
.soc-response-chip:hover { filter: brightness(0.94); }
.soc-response-chip.soc-chip-active { border-color: currentColor; box-shadow: 0 0 0 2px currentColor; }
.soc-announcement-modal .soc-toggle-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.soc-toggle-input { width: 2.5rem !important; height: 1.4rem !important; cursor: pointer; }
.soc-attachment-preview { display: inline-flex; align-items: center; gap: 6px; background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 6px; padding: 4px 10px; font-size: 0.85rem; color: #065f46; margin-bottom: 8px; }
.soc-btn-remove-attachment { background: none; border: none; color: #dc2626; cursor: pointer; font-size: 1rem; margin-left: 4px; line-height: 1; }
.soc-file-input { display: block; }
.soc-loading-text { color: #6b7280; font-style: italic; padding: 1rem 0; }

/* Modal usuario de anuncios */
.soc-announcement-user-modal .modal-dialog { max-width: 600px; }
.soc-announcement-modal-content { display: flex; flex-direction: column; max-height: 85vh; border-radius: 10px; overflow: hidden; }
.soc-announcement-modal-header { display: flex; flex-direction: row; align-items: center; gap: 10px; background: linear-gradient(135deg, var(--soc-page-title-color) 0%, #1a7f5a 100%); color: #fff; padding: 0.6rem 1.2rem; min-height: unset; border-bottom: none; }
.soc-announcement-header-icon { font-size: 1.3rem; opacity: 0.9; flex-shrink: 0; }
.soc-announcement-modal-title { color: #fff; font-size: 1rem; font-weight: 700; margin: 0; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.soc-announcement-modal-body { padding: 1.5rem; flex: 1; overflow-y: auto; min-height: 300px; }
.soc-announcement-message { font-size: 0.95rem; color: #374151; line-height: 1.7; white-space: pre-wrap; }
.soc-announcement-attachment { display: flex; align-items: center; gap: 8px; margin-top: 1.2rem; padding: 10px 14px; background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 8px; font-size: 0.88rem; color: #065f46; }
.soc-btn-download { background: none; border: 1px solid #065f46; color: #065f46; border-radius: 6px; padding: 4px 12px; cursor: pointer; font-size: 0.85rem; display: inline-flex; align-items: center; gap: 5px; transition: background 0.12s; }
.soc-btn-download:hover { background: #d1fae5; }
.soc-announcement-modal-footer { display: flex; gap: 8px; justify-content: flex-end; padding: 0.8rem 1.2rem; border-top: 1px solid #e5e7eb; flex-shrink: 0; }

/* Visor de adjunto */
.soc-attachment-viewer-modal .modal-dialog { max-width: 90vw; }
.soc-attachment-modal-content { height: 90vh; display: flex; flex-direction: column; border-radius: 10px; overflow: hidden; }
.soc-attachment-modal-header { background: linear-gradient(135deg, var(--soc-page-title-color) 0%, #1a7f5a 100%); color: #fff; padding: 0.6rem 1rem; display: flex; align-items: center; justify-content: space-between; min-height: unset; border-bottom: none; }
.soc-attachment-modal-name { font-size: 0.9rem; font-weight: 600; color: #fff; display: flex; align-items: center; gap: 6px; }
.soc-attachment-modal-body { flex: 1; padding: 0; overflow: hidden; display: flex; align-items: center; justify-content: center; background: #1a1a1a; }
.soc-attachment-iframe { width: 100%; height: 100%; border: none; display: block; }
.soc-attachment-img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }

/* ── Error Logs ─────────────────────────────────────────── */
.soc-errorlogs-page { padding: 1.5rem; }
.soc-errorlogs-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.25rem; }
.soc-errorlogs-title { font-size: 1.35rem; font-weight: 700; color: var(--soc-page-title-color); display: flex; align-items: center; gap: 8px; margin: 0; }
.soc-errorlogs-actions { display: flex; gap: 8px; }
.soc-errorlogs-empty { text-align: center; padding: 3rem; color: #9ca3af; }
.soc-errorlogs-empty i { font-size: 3rem; color: #10b981; }
.soc-log-date { font-size: 0.8rem; color: #6b7280; white-space: nowrap; }
.soc-log-resolved-at { font-size: 0.72rem; color: #059669; display: flex; align-items: center; gap: 3px; margin-top: 3px; }
.soc-tab-btn.soc-tab-resolved { color: #059669; }
.soc-tab-btn.soc-tab-resolved.active { background: #d1fae5; color: #065f46; border-color: #6ee7b7; }
.soc-log-level { display: inline-block; padding: 2px 8px; border-radius: 12px; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; }
.soc-log-level--error { background: #fee2e2; color: #dc2626; }
.soc-log-level--warning { background: #fef3c7; color: #d97706; }
.soc-log-level--info { background: #dbeafe; color: #2563eb; }
.soc-log-message { display: flex; flex-direction: column; gap: 2px; }
.soc-log-msg-text { font-size: 0.875rem; color: #111827; }
.soc-log-source { font-size: 0.75rem; color: #9ca3af; }
.soc-log-url { font-size: 0.72rem; color: #6b7280; display: flex; align-items: center; gap: 3px; }
.soc-log-user { font-size: 0.8rem; }
.soc-errorlog-modal { max-height: 90vh; display: flex; flex-direction: column; }
.soc-errorlog-detail-grid { display: flex; flex-direction: column; gap: 8px; margin-bottom: 1rem; }
.soc-detail-row { display: flex; gap: 12px; font-size: 0.875rem; border-bottom: 1px solid #f3f4f6; padding-bottom: 6px; }
.soc-detail-label { font-weight: 600; min-width: 120px; color: #374151; }
.soc-stacktrace-container { border: 1px solid #e5e7eb; border-radius: 6px; overflow: hidden; }
.soc-stacktrace-header { display: flex; justify-content: space-between; align-items: center; background: #1e1e1e; color: #d4d4d4; padding: 6px 12px; font-size: 0.8rem; }
.soc-btn-copy-stack { background: none; border: 1px solid #555; color: #d4d4d4; border-radius: 4px; padding: 2px 8px; cursor: pointer; font-size: 0.75rem; display: flex; align-items: center; gap: 4px; }
.soc-btn-copy-stack:hover { background: #333; }
.soc-stacktrace { background: #1e1e1e; color: #d4d4d4; padding: 12px; margin: 0; font-size: 0.75rem; max-height: 320px; overflow: auto; white-space: pre-wrap; word-break: break-all; }
.soc-errorlog-modal-footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.soc-email-send-row { display: flex; gap: 8px; align-items: center; flex: 1; }

/* Bootstrap modals usan clase "show"; no heredar reglas del sidebar */
.modal.fade.show,
.modal-backdrop.fade.show,
.soc-bitacora-modal-overlay,
.soc-bitacora-modal-backdrop {
    width: 100% !important;
    max-width: none !important;
}

/* ── Error Boundary ─────────────────────────────────────── */
.soc-error-boundary { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 3rem 2rem; text-align: center; }
.soc-error-boundary i { font-size: 3rem; color: #dc2626; }
.soc-error-boundary-title { font-size: 1rem; font-weight: 600; color: #111827; margin: 0; }
.soc-error-boundary-msg { font-size: 0.85rem; color: #6b7280; margin: 0; max-width: 480px; }

/* ── Page Navigation Loader ──────────────────────────────── */
.soc-page-loader {
    position: fixed; inset: 0;
    background: rgba(255,255,255,0.75);
    backdrop-filter: blur(3px);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 14px;
    z-index: 9998;
    animation: soc-fadein 0.12s ease;
    pointer-events: none;
}
.soc-page-loader .iconoLoader {
    width: 64px !important;
    max-width: 64px;
    height: auto;
}
.soc-page-loader-text {
    font-size: 0.85rem; color: #6b7280; font-weight: 500; letter-spacing: 0.02em;
}
@keyframes soc-fadein { from { opacity: 0; } to { opacity: 1; } }

/* ── Header white override ──────────────────────────────── */
.header {
    --soc-header-text-color: #0b6f54;
    background: #ffffff !important;
    border-bottom: 2px solid #dde3e7 !important;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06) !important;
}

.header .header-icon-btn:hover {
    background: rgba(11, 111, 84, 0.1);
}

/* ── Header username ──────────────────────────────────────── */
.header-username {
    font-size: 13px;
    color: var(--soc-header-text-color, #0b6f54);
    opacity: .9;
    white-space: nowrap;
}

.header-username strong {
    font-weight: 700;
    opacity: 1;
}

/* ── Coaching Home Page ──────────────────────────────────── */
.home-coaching {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-height: 100%;
    padding: 0 0 20px;
}

.home-coaching > .home-coaching-toolbar,
.home-coaching > .home-coaching-seguimiento,
.home-coaching > .home-coaching-panels,
.home-coaching > .home-coaching-table-card {
    margin-top: 0;
    margin-bottom: 0;
}

.soc-content-loader {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 420px;
    padding: 48px 24px;
}

.soc-content-loader__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.soc-content-loader__icon {
    width: 80px;
    opacity: 0.42;
    filter: grayscale(1);
    animation: spin 3s linear infinite;
}

.soc-content-loader__text {
    font-size: 0.85rem;
    color: #8a8a8a;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.home-coaching-panels {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: stretch;
}

.home-coaching-panel.soc-ui-panel {
    height: auto;
    min-width: 0;
}

.home-coaching-panel .soc-ui-panel-head {
    justify-content: center;
}

.home-coaching-panel .soc-ui-panel-title {
    justify-content: center;
    width: 100%;
    font-size: 17px;
}

.home-coaching-table-card.soc-ui-panel {
    height: auto;
}

.home-coaching-table-panel-body {
    padding: 0;
}

.home-coaching-table-panel-body .home-coaching-table-wrap {
    max-height: 500px;
    overflow-y: auto;
    overflow-x: auto;
}

.home-coaching-table-panel-body .home-coaching-table thead th {
    position: sticky;
    top: 0;
    z-index: 2;
}

/* Sesiones del Mes panel body */
.home-coaching-mes-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.home-coaching-mes-kpis {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.home-coaching-mes-kpi {
    --home-kpi-text: #ffffff;
    --home-kpi-label: rgba(255, 255, 255, 0.92);
    --home-kpi-decor: rgba(255, 255, 255, 0.28);
    --home-kpi-wave: 0.18;
    position: relative;
    overflow: hidden;
    background: linear-gradient(
        135deg,
        var(--verde-claro-soc) 0%,
        color-mix(in srgb, var(--verde-primario-soc) 88%, var(--verde-claro-soc)) 100%
    );
    border: none;
    border-radius: 16px;
    padding: 18px 20px;
    min-height: 112px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    text-align: left;
    color: var(--home-kpi-text);
    box-shadow: 0 12px 28px color-mix(in srgb, var(--verde-primario-soc) 18%, rgba(16, 24, 40, 0.12));
}

.home-coaching-mes-kpi::before {
    content: "";
    position: absolute;
    top: -30%;
    right: -15%;
    width: 72%;
    height: 90%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 68%);
    pointer-events: none;
}

/* Todas las tarjetas KPI: verde primario → verde secundario (manual SOC) */

.home-coaching-mes-kpi-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.home-coaching-mes-kpi-value {
    font-size: 34px;
    font-weight: 700;
    color: var(--home-kpi-text);
    line-height: 1;
    letter-spacing: -0.02em;
}

.home-coaching-mes-kpi-label {
    font-size: 13px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.01em;
    color: var(--home-kpi-label);
}

.home-coaching-mes-kpi-decor {
    position: absolute;
    right: 14px;
    bottom: 10px;
    font-size: 48px;
    line-height: 1;
    color: var(--home-kpi-decor, rgba(255, 255, 255, 0.26));
    opacity: 1;
    pointer-events: none;
    z-index: 0;
}

.home-coaching-mes-kpi-wave {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 56%;
    opacity: var(--home-kpi-wave, 0.24);
    pointer-events: none;
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 100% 100%;
    z-index: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 80' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' d='M0 48 C40 20 80 72 120 44 C160 16 200 60 240 36 C280 12 300 40 320 28 L320 80 L0 80 Z'/%3E%3C/svg%3E");
}

.home-coaching-mes-chart-wrap {
    border: 1px solid #edf1f3;
    border-radius: 6px;
    padding: 4px 6px 0;
    background: #fff;
}

.home-coaching-mes-chart-wrap svg,
.home-coaching-mes-chart-wrap .k-chart-surface {
    height: 100% !important;
}
.home-coaching-mes-chart-wrap .k-chart-surface,
.home-coaching-mes-chart-wrap svg {
    overflow: visible !important;
}

/* Sesiones Totales panel body */
.home-coaching-totales-body {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 20px;
    padding: 20px 16px 32px;
}

.home-coaching-legend {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 24px;
    padding-top: 4px;
    flex: 1;
}

.home-coaching-legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.home-coaching-legend-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    flex-shrink: 0;
}

.home-coaching-legend-label {
    font-size: 13px;
    color: #333;
    line-height: 1.3;
}

.home-coaching-piechart {
    flex-shrink: 0;
    align-self: center;
    overflow: visible;
    padding-bottom: 16px;
}

.home-coaching-piechart .k-chart,
.home-coaching-piechart .k-chart > *,
.home-coaching-piechart svg {
    overflow: visible !important;
}

/* Sessions table */
.home-coaching-table-wrap {
    overflow-x: auto;
}

.home-coaching-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.home-coaching-table thead tr {
    background: var(--verde-primario-soc);
}

.home-coaching-table th {
    padding: 10px 16px;
    text-align: center;
    font-weight: 700;
    color: #ffffff;
    background: var(--verde-primario-soc);
    border-bottom: none;
    border-right: 1px solid color-mix(in srgb, var(--verde-primario-soc) 80%, #003d2c);
    line-height: 1.35;
}

.home-coaching-table th:first-child,
.home-coaching-table td:first-child {
    text-align: left;
}

.home-coaching-table th:last-child,
.home-coaching-table td:last-child {
    border-right: none;
}

.home-coaching-table td {
    padding: 10px 16px;
    text-align: center;
    color: #333;
    border-bottom: 1px solid #edf1f3;
    border-right: 1px solid #edf1f3;
}

.home-coaching-table tbody tr:hover {
    background: #f6fbf8;
}

/* Toolbar superior: filtro (md-6) + KPIs (md-3 + md-3) — usa Bootstrap row g-3 */
.home-coaching-toolbar {
    margin-bottom: 0;
}

.home-coaching-toolbar > [class*="col-"] {
    display: flex;
    min-width: 0;
}

.home-coaching-filter-card {
    width: 100%;
    height: 100%;
    min-width: 0;
}

.home-coaching-filter-card .soc-ui-panel-head {
    justify-content: center;
    background: #f6f8fa;
    border-bottom: 1px solid #eaecf0;
    padding: 10px 16px;
}

.home-coaching-filter-card .soc-ui-panel-title {
    justify-content: center;
    width: 100%;
    font-size: 15px;
    font-weight: 700;
    color: var(--verde-primario-soc, #006d4e);
}

.home-coaching-filter-card-body {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 72px;
    padding: 12px 16px;
    overflow: hidden;
}

.home-coaching-filter-field {
    position: relative;
    z-index: 1;
    width: 100%;
    min-width: 0;
}

.home-coaching-filter-field-control {
    width: 100%;
    min-width: 0;
}

.home-coaching-filter-card-decor {
    position: absolute;
    right: 0px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 88px;
    line-height: 1;
    color: #b8c0c8;
    opacity: 0.38;
    pointer-events: none;
    z-index: 0;
}

/* Valores legacy — solo fuera de tarjetas KPI verdes */
.home-coaching-summary-value {
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.02em;
}

.home-coaching-summary-label {
    font-size: 12.5px;
    font-weight: 500;
    white-space: nowrap;
}

.home-coaching-filter {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    justify-content: flex-end;
}

.home-coaching-filter-label {
    font-size: 13px;
    font-weight: 600;
    color: #4b5563;
    margin: 0;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #6b7580;
}

/* Select coach — aspecto SOC (borde + botón verde derecho), sin cambiar el control nativo */
.home-coaching-filter-select-wrap {
    position: relative;
    width: 75%;
    z-index: 1;
}

.home-coaching-filter-select-wrap::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: var(--soc-cfg-control-height, 36px);
    height: 100%;
    border-radius: 0 5px 5px 0;
    background: var(--verde-primario-soc, #006d4e);
    pointer-events: none;
    z-index: 1;
}

.home-coaching-filter-select-wrap::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 12px;
    width: 0;
    height: 0;
    margin-top: -3px;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #ffffff;
    pointer-events: none;
    z-index: 2;
}

.home-coaching-filter-select {
    width: 100%;
    min-width: 0;
    height: var(--soc-cfg-control-height, 36px);
    min-height: var(--soc-cfg-control-height, 36px);
    padding: 6px calc(var(--soc-cfg-control-height, 36px) + 10px) 6px 12px;
    border-radius: 5px;
    border: 1px solid var(--soc-cfg-border, #e3e8eb);
    background: #ffffff;
    color: #6b7580;
    font-size: var(--soc-cfg-input-font-size, 13px);
    font-weight: 400;
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: none;
}

.home-coaching-filter-select:focus {
    border-color: var(--verde-primario-soc, #006d4e);
    box-shadow: 0 0 0 3px rgba(0, 109, 78, 0.12);
    outline: none;
}

.home-coaching-kpi-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 6px;
    width: 100%;
    height: 100%;
    min-height: 100px;
    overflow: hidden;
    text-align: left;
    color: #ffffff;
    border-radius: 16px;
    padding: 14px 16px;
    box-shadow: 0 12px 28px color-mix(in srgb, var(--verde-primario-soc) 18%, rgba(16, 24, 40, 0.12));
    background: linear-gradient(
        160deg,
        var(--verde-claro-soc) 0%,
        color-mix(in srgb, var(--verde-primario-soc) 92%, var(--verde-claro-soc)) 55%,
        color-mix(in srgb, var(--verde-primario-soc) 100%, #004d38) 100%
    );
}

.home-coaching-kpi-tile::before {
    content: "";
    position: absolute;
    top: -30%;
    right: -15%;
    width: 72%;
    height: 90%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 68%);
    pointer-events: none;
    z-index: 0;
}

.home-coaching-summary-decor {
    position: absolute;
    right: 12px;
    bottom: 10px;
    font-size: 40px;
    line-height: 1;
    color: rgba(255, 255, 255, 0.22);
    pointer-events: none;
    z-index: 1;
}

.home-coaching-kpi-tile .home-coaching-summary-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-width: calc(100% - 48px);
}

.home-coaching-kpi-tile .home-coaching-summary-value {
    font-size: 40px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
    color: #ffffff;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.08);
}

.home-coaching-kpi-tile .home-coaching-summary-label {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
    color: rgba(255, 255, 255, 0.96);
    letter-spacing: 0.01em;
}

.home-coaching-summary-wave {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 42%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
    border-radius: 0 0 16px 16px;
    mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.35) 70%, transparent 100%);
}

.home-coaching-summary-wave::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 100% 100%;
}

.home-coaching-summary-wave--back::before {
    opacity: 0.1;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 80' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' d='M0 52 C45 24 85 70 125 42 C165 14 205 58 245 34 C285 10 305 38 320 26 L320 80 L0 80 Z'/%3E%3C/svg%3E");
}

.home-coaching-summary-wave--front::before {
    opacity: 0.16;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 80' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' d='M0 48 C40 20 80 72 120 44 C160 16 200 60 240 36 C280 12 300 40 320 28 L320 80 L0 80 Z'/%3E%3C/svg%3E");
}

/* Seguimiento del coach — tarjetas blancas, onda gris, icono de color + texto gris */
.home-coaching-seguimiento .soc-ui-panel-head {
    padding: 12px 20px;
}

.home-coaching-seguimiento .soc-ui-panel-body {
    padding: 16px;
}

.home-coaching-seguimiento-head {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
}

.home-coaching-seguimiento-coach {
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    background: var(--verde-primario-soc);
    border-radius: 999px;
    padding: 4px 14px;
}

.home-coaching-seguimiento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.home-coaching-seg-tile {
    --seg-accent: var(--verde-primario-soc);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 18px;
    min-height: 118px;
    padding: 18px 20px;
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
    border: 1px solid #eaecf0;
    box-shadow: 0 4px 18px rgba(16, 24, 40, 0.06);
}

.home-coaching-seg-wave {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 48%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.home-coaching-seg-wave::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 100% 100%;
}

.home-coaching-seg-wave--back::before {
    opacity: 0.55;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 80' preserveAspectRatio='none'%3E%3Cpath fill='%23e5e7eb' d='M0 52 C45 24 85 70 125 42 C165 14 205 58 245 34 C285 10 305 38 320 26 L320 80 L0 80 Z'/%3E%3C/svg%3E");
}

.home-coaching-seg-wave--front::before {
    opacity: 0.42;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 80' preserveAspectRatio='none'%3E%3Cpath fill='%23f3f4f6' d='M0 48 C40 20 80 72 120 44 C160 16 200 60 240 36 C280 12 300 40 320 28 L320 80 L0 80 Z'/%3E%3C/svg%3E");
}

.home-coaching-seg-top {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
}

.home-coaching-seg-icon {
    flex: 0 0 auto;
    font-size: 30px;
    line-height: 1;
    color: var(--seg-accent);
}

.home-coaching-seg-label {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    color: #6b7580;
}

.home-coaching-seg-value {
    position: relative;
    z-index: 1;
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
    color: #374151;
}

.home-coaching-seg-tile--held {
    --seg-accent: var(--verde-secundario-soc);
}

.home-coaching-seg-tile--upcoming {
    --seg-accent: var(--azul-primario-soc);
}

.home-coaching-seg-tile--completed {
    --seg-accent: var(--verde-primario-soc);
}

.home-coaching-seg-tile--pending {
    --seg-accent: var(--coral-soc);
}

@media (max-width: 992px) {
    .home-coaching-seguimiento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 520px) {
    .home-coaching-seguimiento-grid {
        grid-template-columns: 1fr;
    }
}

/* Oficinas por programa y por coach: dos columnas */
.home-coaching-oficinas {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.home-coaching-oficinas-subtitle {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 10px;
    color: var(--verde-primario-soc, #006d4e);
}

/* La columna de conteo no necesita la mitad del ancho */
.home-coaching-oficinas .home-coaching-table th:last-child,
.home-coaching-oficinas .home-coaching-table td:last-child {
    width: 110px;
    text-align: center;
}

@media (max-width: 900px) {
    .home-coaching-panels {
        grid-template-columns: 1fr;
    }

    .home-coaching-mes-kpis {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-coaching-oficinas {
        grid-template-columns: 1fr;
    }

    .home-coaching-filter-field {
        max-width: none;
    }

    .home-coaching-summary {
        border-right: none;
        border-bottom: 1px solid #e5e9ee;
        padding-right: 0;
        margin-right: 0;
        padding-bottom: 10px;
    }

    .home-coaching-filter {
        justify-content: flex-start;
    }

    .home-coaching-filter-select {
        max-width: none;
    }
}

/* =========================================================
   SIDEBAR — Phase 3 visual improvements
   Active state, hover highlight, padding, section divider.
   All changes scoped to .l-navbar to avoid collateral.
========================================================= */

/* Altura uniforme en cada opcion del menu lateral — ancho completo del sidebar */
.l-navbar .nav_list > .nav_item {
    width: 100%;
}

.l-navbar .nav_list > .nav_item > .nav_link,
.l-navbar .nav_list > .nav_item > .nav_link_toggle {
    display: flex !important;
    align-items: center;
    column-gap: 1rem;
    width: 100%;
    min-height: 44px;
    height: 44px;
    padding: 0 16px !important;
    box-sizing: border-box;
    border-radius: 0 !important;
    margin: 0 !important;
}

/* Hover: fondo blanco translúcido a todo el ancho */
.l-navbar .nav_link:hover:not(.active),
.l-navbar .nav_link_toggle:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    box-shadow: none !important;
    color: #ffffff !important;
    border-radius: 0 !important;
}

.l-navbar .nav_link:hover:not(.active) .nav_icon,
.l-navbar .nav_link_toggle:hover .nav_icon {
    color: #ffffff !important;
}

.l-navbar .nav_item.open > .nav_link_toggle {
    background: rgba(255, 255, 255, 0.12) !important;
    box-shadow: none !important;
    color: #ffffff !important;
    border-radius: 0 !important;
}

/* Active: mismo blanco que ítems reposo + barra/fondo sutil */
.l-navbar a.nav_link.active {
    box-shadow: inset 4px 0 0 rgba(255, 255, 255, 0.9) !important;
    background: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    border-radius: 0 !important;
}

.l-navbar a.nav_link.active .nav_icon {
    color: #ffffff !important;
}

.l-navbar a.nav_link.active .nav_name {
    color: #ffffff !important;
    font-weight: 700 !important;
}

/* Section divider between dynamic items (Inicio, Sesiones) and the permanent items */
.nav-section-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.18);
    margin: 0;
}

/* Evitar doble linea: el divider ya separa; quitar border del item anterior */
.l-navbar .nav_item:has(+ .nav-section-divider) {
    border-bottom: none;
}


/* ========== configuracion ========== */
/*
 * Configuracion — estilos del modulo Configuracion (maqueta / propuesta UI).
 * Layout de subpagina: clase canonica .soc-ui-subpage en markup (junto a .coaches-page legacy).
 * Los selectores CSS siguen usando .coaches-page; migracion gradual sin romper estilos.
 */

:root {
    /* Alias modulo Configuracion — manual de identidad (seccion base arriba) */
    --soc-brand-green: var(--verde-primario-soc);
    --soc-brand-green-light: var(--verde-claro-soc);
    --soc-brand-blue: var(--azul-primario-soc);
    --soc-brand-sky: var(--celeste-soc);
    --soc-brand-coral: var(--coral-soc);
    --soc-brand-pink: var(--rosa-vibrante-soc);
    --soc-brand-salmon: var(--salmon-soc);
    --soc-brand-pale-pink: var(--rosa-palido-soc);

    --soc-cfg-bg: #f4f7f6;
    --soc-cfg-surface: #ffffff;
    --soc-cfg-surface-muted: #f8faf9;
    --soc-cfg-border: #e8ecea;
    --soc-cfg-border-strong: #c5d5cf;
    --soc-cfg-text: #1a1a1a;
    --soc-cfg-text-muted: #5c6569;
    --soc-cfg-accent: var(--soc-brand-green);
    --soc-cfg-accent-soft: #e8f5f0;
    --soc-cfg-accent-mint: var(--soc-brand-green-light);
    --soc-cfg-danger-soft: #fde8e8;
    --soc-cfg-danger: #b42318;
    --soc-cfg-radius-sm: 10px;
    --soc-cfg-radius: 5px;
    --soc-cfg-radius-lg: 5px;
    --soc-cfg-shadow: 0 6px 28px rgba(0, 0, 0, 0.06);
    --soc-cfg-shadow-hover: 0 14px 36px rgba(0, 0, 0, 0.12);
    --soc-cfg-filter-input-bg: #fafbfb;
    --soc-cfg-placeholder-color: #a8b0b4;
    --soc-cfg-placeholder-size: 12px;
    --soc-cfg-input-text-color: #6b7580;
    --soc-cfg-input-font-size: 13px;
}

/* ---------- Layout m?dulo ---------- */
.soc-ui-module {
    max-width: 100%;
    --soc-cfg-control-height: 36px;
}

.navigation-items-page.soc-ui-module {
    padding-top: 8px;
}

/* Subp?ginas Configuraci?n: card de t?tulo + botones verde marca (sin azul) */
.soc-config-subpage-title-card {
    margin-bottom: 10px;
    height: auto;
}

.soc-config-subpage-title-card.soc-ui-panel {
    height: auto;
}

.soc-config-subpage-title-card__body {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 12px;
}

.soc-config-subpage-title-card__intro {
    flex: 1;
    min-width: 200px;
    padding-top: 0;
}

.soc-config-subpage-title-card__heading {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--soc-brand-green);
    text-transform: none;
}

/* Titulos del modulo: solo primera letra en mayuscula (texto en .razor, sin forzar CSS) */
.soc-ui-module .soc-ui-panel-title,
.soc-ui-module .soc-ui-config-card-v2__title {
    text-transform: none;
}

.soc-config-subpage-title-card__subtitle {
    margin: 4px 0 0;
    max-width: 520px;
    font-size: 13px;
    line-height: 1.4;
    color: var(--soc-cfg-text-muted);
}

.soc-config-subpage-title-card__body > .btn-soc-secondary,
.soc-config-subpage-title-card__body .bitacora-header-actions button.btn-soc-secondary,
.coaches-form-panel .soc-ui-form-actions button.btn-soc-primary,
.coaches-form-panel .soc-ui-form-actions input.btn-soc-primary[type="submit"],
.coaches-form-panel .soc-ui-form-actions button.btn-soc-secondary,
.coaches-form-panel .soc-ui-form-actions button.btn-soc-close,
.coaches-config-window .soc-ui-form-actions button.btn-soc-close,
.coaches-config-window .soc-ui-form-actions button.btn-soc-primary,
.coaches-config-window .soc-ui-form-actions input.btn-soc-primary[type="submit"],
.coaches-config-window .soc-ui-form-actions button.btn-soc-secondary,
.coaches-config-window .modal-actions button.btn-soc-close,
.coaches-config-window .modal-actions button.btn-soc-primary,
.coaches-config-window .modal-actions input.btn-soc-primary[type="submit"],
.coaches-config-window .modal-actions button.btn-soc-secondary,
.session-participant-view-page .spv-header-actions button.btn-soc-primary,
.session-participant-view-page .spv-header-actions button.btn-soc-secondary {
    align-self: center;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 16px !important;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    visibility: visible;
    opacity: 1;
}

.coaches-page button.btn-soc-primary,
.coaches-page input.btn-soc-primary[type="submit"],
.coaches-page button.btn-soc-secondary,
.coaches-config-window button.btn-soc-primary,
.coaches-config-window input.btn-soc-primary[type="submit"],
.coaches-config-window button.btn-soc-secondary,
.coaches-config-window button.btn-soc-close,
.coaches-config-window button.btn-soc-deactivate,
button.btn-soc-close:not(.k-button) {
    border-radius: var(--soc-btn-pill-radius) !important;
    padding: 7px 16px !important;
    font-size: 13px !important;
    line-height: 1.2;
    transition: all 300ms cubic-bezier(0.250, 0.250, 0.750, 0.750);
    transition-timing-function: cubic-bezier(0.250, 0.250, 0.750, 0.750);
}

.coaches-page button.btn-soc-primary,
.coaches-page input.btn-soc-primary[type="submit"],
.coaches-config-window button.btn-soc-primary,
.coaches-config-window input.btn-soc-primary[type="submit"] {
    background-color: var(--soc-brand-green) !important;
    border: 1px solid var(--soc-brand-green) !important;
    color: #fff !important;
    box-shadow: none !important;
}

.coaches-page button.btn-soc-primary:hover:not(:disabled),
.coaches-page input.btn-soc-primary[type="submit"]:hover:not(:disabled),
.coaches-config-window button.btn-soc-primary:hover:not(:disabled),
.coaches-config-window input.btn-soc-primary[type="submit"]:hover:not(:disabled) {
    background-color: var(--soc-brand-green-light) !important;
    border-color: var(--soc-brand-green-light) !important;
    color: #fff !important;
}

.coaches-page button.btn-soc-secondary,
.coaches-config-window button.btn-soc-secondary {
    background-color: #fff !important;
    border: 1px solid var(--verde-primario-soc) !important;
    color: var(--verde-primario-soc) !important;
    box-shadow: none !important;
}

.coaches-page button.btn-soc-secondary:hover:not(:disabled),
.coaches-config-window button.btn-soc-secondary:hover:not(:disabled) {
    background-color: var(--verde-primario-soc) !important;
    border-color: var(--verde-primario-soc) !important;
    color: #fff !important;
}

.coaches-config-window button.btn-soc-close,
button.btn-soc-close:not(.k-button) {
    background-color: #fff !important;
    border: 1px solid var(--colorRojoSoc) !important;
    color: var(--colorRojoSoc) !important;
    box-shadow: none !important;
}

.coaches-config-window button.btn-soc-close:hover:not(:disabled),
button.btn-soc-close:not(.k-button):hover:not(:disabled) {
    background-color: var(--colorRojoSoc) !important;
    border-color: var(--colorRojoSoc) !important;
    color: #fff !important;
}

.coaches-config-window button.btn-soc-close:focus-visible,
button.btn-soc-close:not(.k-button):focus-visible {
    outline: 2px solid color-mix(in srgb, var(--colorRojoSoc) 55%, #ffffff);
    outline-offset: 2px;
}

.soc-config-subpage-title-card__body > .btn-soc-secondary:hover:not(:disabled),
.soc-config-subpage-title-card__body .bitacora-header-actions button.btn-soc-secondary:hover:not(:disabled) {
    background-color: var(--verde-primario-soc) !important;
    border-color: var(--verde-primario-soc) !important;
    color: #fff !important;
}

.coaches-page button.btn-soc-primary:focus-visible,
.coaches-page button.btn-soc-secondary:focus-visible,
.coaches-page input.btn-soc-primary[type="submit"]:focus-visible,
.coaches-config-window button.btn-soc-primary:focus-visible,
.coaches-config-window button.btn-soc-secondary:focus-visible,
.coaches-config-window input.btn-soc-primary[type="submit"]:focus-visible {
    outline: 2px solid var(--verde-primario-soc) !important;
    outline-offset: 2px;
    box-shadow: none !important;
}

/* Controles de formulario Configuraci?n: misma altura y ancho */
.coaches-form-panel {
    --soc-cfg-control-height: 36px;
    height: auto;
    overflow: visible;
}

.coaches-page .coaches-form-panel .soc-ui-panel-head {
    padding: 10px 16px;
    gap: 8px;
}

.coaches-page .coaches-form-panel .soc-ui-panel-title {
    font-size: 15px;
    gap: 8px;
}

.coaches-page .coaches-form-panel .soc-ui-panel-title i {
    font-size: 18px;
}

.coaches-page .coaches-form-panel .soc-ui-panel-body {
    padding: 10px 12px;
}

.coaches-page .coaches-form-panel .row.g-3 {
    --bs-gutter-x: 0.75rem;
    --bs-gutter-y: 0.5rem;
}

.coaches-page .coaches-form-panel .soc-ui-field-stacked.mb-3 {
    margin-bottom: 0.5rem !important;
}

.coaches-page .coaches-form-panel .soc-ui-field-stacked {
    width: 100%;
}

.coaches-page .coaches-form-panel .soc-ui-field-stacked .soc-ui-field-label {
    display: block;
    margin-bottom: 4px;
    color: var(--soc-cfg-input-text-color);
    font-weight: 400;
    font-size: var(--soc-cfg-input-font-size);
}

.coaches-page .coaches-form-panel .soc-ui-field-stacked .form-control:not(textarea) {
    width: 100%;
    height: var(--soc-cfg-control-height);
    min-height: var(--soc-cfg-control-height);
    padding: 6px 10px;
    line-height: 1.25;
    border-radius: 5px;
    border-color: var(--soc-cfg-border);
    background: #ffffff;
    color: var(--soc-cfg-input-text-color);
    font-size: var(--soc-cfg-input-font-size);
    font-weight: 400;
    box-sizing: border-box;
}

.coaches-page .coaches-form-panel .soc-ui-field-stacked .form-control:not(textarea)::placeholder,
.coaches-page .coaches-form-panel .soc-ui-field-stacked textarea.form-control::placeholder {
    color: var(--soc-cfg-placeholder-color);
    font-size: var(--soc-cfg-placeholder-size);
    font-weight: 400;
    opacity: 1;
}

.coaches-page .coaches-form-panel .soc-ui-field-stacked .form-control:not(textarea):focus {
    border-color: var(--soc-brand-green);
    box-shadow: 0 0 0 3px rgba(0, 109, 78, 0.12);
    background: #fff;
}

.coaches-page .coaches-form-panel .soc-ui-field-stacked .form-control:disabled,
.coaches-page .coaches-form-panel .soc-ui-field-stacked .form-control[readonly] {
    opacity: 1;
    color: var(--soc-cfg-input-text-color) !important;
    -webkit-text-fill-color: var(--soc-cfg-input-text-color);
    font-size: var(--soc-cfg-input-font-size);
    font-weight: 400;
    background: var(--soc-cfg-surface-muted);
    border-color: var(--soc-cfg-border);
}

.coaches-page .coaches-form-panel .soc-ui-field-stacked .form-select {
    width: 100%;
    height: var(--soc-cfg-control-height);
    min-height: var(--soc-cfg-control-height);
    padding: 6px 32px 6px 10px;
    line-height: 1.25;
    border-radius: 5px;
    border-color: var(--soc-cfg-border);
    background-color: #ffffff;
    color: var(--soc-cfg-input-text-color);
    font-size: var(--soc-cfg-input-font-size);
    font-weight: 400;
    box-sizing: border-box;
}

.coaches-page .coaches-form-panel .soc-ui-field-stacked .form-select:has(option[value=""]:checked) {
    color: var(--soc-cfg-placeholder-color);
    font-size: var(--soc-cfg-placeholder-size);
    font-weight: 400;
}

.coaches-page .coaches-form-panel .soc-ui-field-stacked .form-select:focus {
    border-color: var(--soc-brand-green);
    box-shadow: 0 0 0 3px rgba(0, 109, 78, 0.12);
    background-color: #fff;
}

.coaches-page .coaches-form-panel .soc-ui-field-stacked textarea.form-control {
    width: 100%;
    min-height: 120px;
    height: auto;
    padding: 10px 12px;
    border-radius: 5px;
    border-color: var(--soc-cfg-border);
    background: var(--soc-cfg-surface-muted);
    color: var(--soc-cfg-input-text-color);
    font-size: var(--soc-cfg-input-font-size);
    font-weight: 400;
    resize: vertical;
    box-sizing: border-box;
}

.coaches-page .coaches-form-panel .soc-ui-field-stacked textarea.form-control:focus {
    border-color: var(--soc-brand-green);
    box-shadow: 0 0 0 3px rgba(0, 109, 78, 0.12);
    background: #fff;
}

.coaches-page .coaches-form-panel .soc-ui-field-stacked .k-datepicker,
.coaches-page .coaches-form-panel .soc-ui-field-stacked .k-picker {
    display: inline-flex !important;
    align-items: stretch;
    width: 100% !important;
    max-width: 100%;
    height: var(--soc-cfg-control-height);
    overflow: visible;
}

.coaches-page .coaches-form-panel .soc-ui-field-stacked .k-picker .k-input {
    display: inline-flex !important;
    flex: 1 1 auto;
    min-width: 0;
    height: var(--soc-cfg-control-height);
    width: auto !important;
}

.coaches-page .coaches-form-panel .soc-ui-field-stacked .k-input-inner {
    height: var(--soc-cfg-control-height) !important;
    min-height: var(--soc-cfg-control-height) !important;
    padding: 6px 10px !important;
    border-radius: 5px !important;
    border-color: var(--soc-cfg-border) !important;
    background: var(--soc-cfg-surface-muted) !important;
    color: var(--soc-cfg-input-text-color) !important;
    font-size: var(--soc-cfg-input-font-size) !important;
    font-weight: 400 !important;
    box-sizing: border-box;
}

.coaches-page .coaches-form-panel .soc-ui-field-stacked .k-input-inner::placeholder {
    color: var(--soc-cfg-placeholder-color) !important;
    font-size: var(--soc-cfg-placeholder-size) !important;
    font-weight: 400 !important;
    opacity: 1 !important;
}

.coaches-page .coaches-form-panel .soc-ui-field-stacked .k-input-inner:focus,
.coaches-page .coaches-form-panel .soc-ui-field-stacked .k-input-inner.k-focus {
    border-color: var(--soc-brand-green) !important;
    box-shadow: 0 0 0 3px rgba(0, 109, 78, 0.12) !important;
    background: #fff !important;
}

.coaches-page .coaches-form-panel .soc-ui-field-stacked .k-input-button,
.coaches-page .coaches-form-panel .soc-ui-field-stacked .k-datepicker-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    width: var(--soc-cfg-control-height);
    min-width: var(--soc-cfg-control-height);
    height: var(--soc-cfg-control-height);
    border-radius: 0 5px 5px 0;
    background: var(--verde-primario-soc) !important;
    background-color: var(--verde-primario-soc) !important;
    border: 1px solid var(--verde-primario-soc) !important;
    border-color: var(--verde-primario-soc) !important;
    color: #fff !important;
}

.coaches-page .coaches-form-panel .soc-ui-field-stacked .k-input-button .k-icon,
.coaches-page .coaches-form-panel .soc-ui-field-stacked .k-datepicker-button .k-icon,
.coaches-page .coaches-form-panel .soc-ui-field-stacked .k-input-button .k-svg-icon,
.coaches-page .coaches-form-panel .soc-ui-field-stacked .k-datepicker-button .k-svg-icon,
.coaches-page .coaches-form-panel .soc-ui-field-stacked .k-input-button .k-svg-icon svg,
.coaches-page .coaches-form-panel .soc-ui-field-stacked .k-datepicker-button .k-svg-icon svg,
.coaches-page .coaches-form-panel .soc-ui-field-stacked .k-input-button .k-svg-icon path,
.coaches-page .coaches-form-panel .soc-ui-field-stacked .k-datepicker-button .k-svg-icon path {
    fill: #fff !important;
    color: #fff !important;
}

.coaches-page .coaches-form-panel .soc-ui-field-stacked .k-input-button:hover:not(:disabled),
.coaches-page .coaches-form-panel .soc-ui-field-stacked .k-datepicker-button:hover:not(:disabled) {
    background: var(--verde-primario-soc) !important;
    background-color: var(--verde-primario-soc) !important;
    border-color: var(--verde-primario-soc) !important;
}

.coaches-page .coaches-form-panel .soc-ui-field-stacked .k-dropdownlist,
.coaches-page .coaches-form-panel .soc-ui-field-stacked .k-numerictextbox {
    width: 100% !important;
    min-height: var(--soc-cfg-control-height);
    height: var(--soc-cfg-control-height);
    border-radius: 5px;
    border: 1px solid var(--soc-cfg-border);
    background: #ffffff;
    box-sizing: border-box;
    box-shadow: none;
}

.coaches-page .coaches-form-panel .soc-ui-field-stacked .k-dropdownlist .k-input-inner,
.coaches-page .coaches-form-panel .soc-ui-field-stacked .k-numerictextbox .k-input-inner {
    height: calc(var(--soc-cfg-control-height) - 2px) !important;
    min-height: calc(var(--soc-cfg-control-height) - 2px) !important;
    padding: 6px 10px !important;
    border: 0 !important;
    border-radius: 5px !important;
    background: transparent !important;
    color: var(--soc-cfg-input-text-color) !important;
    font-size: var(--soc-cfg-input-font-size) !important;
    font-weight: 400 !important;
    box-shadow: none !important;
}

.coaches-page .coaches-form-panel .soc-ui-field-stacked .k-dropdownlist .k-input-inner::placeholder,
.coaches-page .coaches-form-panel .soc-ui-field-stacked .k-numerictextbox .k-input-inner::placeholder {
    color: var(--soc-cfg-placeholder-color) !important;
    font-size: var(--soc-cfg-placeholder-size) !important;
    font-weight: 400 !important;
    opacity: 1 !important;
}

.coaches-page .coaches-form-panel .soc-ui-field-stacked .k-dropdownlist.k-focus,
.coaches-page .coaches-form-panel .soc-ui-field-stacked .k-numerictextbox.k-focus,
.coaches-page .coaches-form-panel .soc-ui-field-stacked .k-dropdownlist .k-input-inner:focus,
.coaches-page .coaches-form-panel .soc-ui-field-stacked .k-numerictextbox .k-input-inner:focus,
.coaches-page .coaches-form-panel .soc-ui-field-stacked .k-dropdownlist .k-input-inner.k-focus,
.coaches-page .coaches-form-panel .soc-ui-field-stacked .k-numerictextbox .k-input-inner.k-focus {
    border-color: var(--soc-brand-green) !important;
    box-shadow: 0 0 0 3px rgba(0, 109, 78, 0.12) !important;
}

.coaches-page .coaches-form-panel .soc-ui-field-stacked .k-dropdownlist .k-input-button,
.coaches-page .coaches-form-panel .soc-ui-field-stacked .k-numerictextbox .k-input-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 0;
    background: transparent;
    color: var(--soc-cfg-input-text-color);
    width: var(--soc-cfg-control-height);
    min-width: var(--soc-cfg-control-height);
    height: var(--soc-cfg-control-height);
}

.coaches-page .coaches-form-panel .soc-ui-field-stacked .k-textarea {
    width: 100% !important;
    border-radius: 5px;
    border: 1px solid var(--soc-cfg-border);
    background: #ffffff;
    box-sizing: border-box;
}

.coaches-page .coaches-form-panel .soc-ui-field-stacked .k-textarea .k-input-inner,
.coaches-page .coaches-form-panel .soc-ui-field-stacked .k-textarea textarea {
    min-height: 72px;
    padding: 10px 12px !important;
    border: 0 !important;
    border-radius: 5px !important;
    background: transparent !important;
    color: var(--soc-cfg-input-text-color) !important;
    font-size: var(--soc-cfg-input-font-size) !important;
    font-weight: 400 !important;
    resize: vertical;
    box-shadow: none !important;
}

.coaches-page .coaches-form-panel .soc-ui-field-stacked .k-textarea .k-input-inner:focus,
.coaches-page .coaches-form-panel .soc-ui-field-stacked .k-textarea textarea:focus {
    border-color: var(--soc-brand-green) !important;
    box-shadow: 0 0 0 3px rgba(0, 109, 78, 0.12) !important;
    background: #fff !important;
}

/* Botones de acci?n en grid (solo icono, uno junto al otro) */
.coaches-page .soc-config-grid-actions {
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 6px;
    overflow: visible;
    max-width: none;
}

/* Sin "..." por recorte de celda en columna Acciones */
.coaches-page .soc-ui-panel--grid .k-table-tbody .k-table-td:has(.soc-config-grid-actions),
.coaches-page .soc-ui-panel--grid .k-grid-content td:has(.soc-config-grid-actions),
.coaches-page .soc-ui-panel--grid .k-table-tbody .k-table-td:has(.soc-config-grid-actions--labeled),
.coaches-page .soc-ui-panel--grid .k-grid-content td:has(.soc-config-grid-actions--labeled) {
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: nowrap !important;
}

.coaches-page .soc-ui-panel--grid .k-table-tbody .k-table-td:has(.soc-config-grid-actions) .k-cell-inner,
.coaches-page .soc-ui-panel--grid .k-grid-content td:has(.soc-config-grid-actions) .k-cell-inner,
.coaches-page .soc-ui-panel--grid .k-table-tbody .k-table-td:has(.soc-config-grid-actions--labeled) .k-cell-inner,
.coaches-page .soc-ui-panel--grid .k-grid-content td:has(.soc-config-grid-actions--labeled) .k-cell-inner {
    overflow: visible !important;
    text-overflow: clip !important;
}

.coaches-page .soc-ui-panel--grid .k-table-tbody .k-table-td:has(.soc-config-grid-actions),
.coaches-page .soc-ui-panel--grid .k-grid-content td:has(.soc-config-grid-actions),
.coaches-page .soc-ui-panel--grid .k-table-tbody .k-table-td:has(.soc-config-grid-actions--labeled),
.coaches-page .soc-ui-panel--grid .k-grid-content td:has(.soc-config-grid-actions--labeled) {
    vertical-align: middle !important;
}

.coaches-page .soc-ui-panel--grid .k-table-tbody .k-table-td:has(.soc-config-grid-actions) .k-cell-inner,
.coaches-page .soc-ui-panel--grid .k-grid-content td:has(.soc-config-grid-actions) .k-cell-inner,
.coaches-page .soc-ui-panel--grid .k-table-tbody .k-table-td:has(.soc-config-grid-actions--labeled) .k-cell-inner,
.coaches-page .soc-ui-panel--grid .k-grid-content td:has(.soc-config-grid-actions--labeled) .k-cell-inner {
    display: flex !important;
    align-items: center !important;
    min-height: 100%;
}

.coaches-page .btn-soc-config-edit.k-button,
.coaches-page .btn-soc-config-show.k-button,
.coaches-page .btn-soc-config-password.k-button,
.coaches-page button.btn-soc-config-edit,
.coaches-page button.btn-soc-config-show,
.coaches-page button.btn-soc-config-password {
    display: inline-grid !important;
    place-items: center !important;
    width: 36px !important;
    min-width: 36px !important;
    height: 36px !important;
    min-height: 36px !important;
    padding: 0 !important;
    line-height: 1 !important;
    border-radius: 5px !important;
    border-width: 1px !important;
    border-style: solid !important;
    background: #fff !important;
    box-shadow: none !important;
    cursor: pointer;
    transition: all 300ms cubic-bezier(0.250, 0.250, 0.750, 0.750);
    transition-timing-function: cubic-bezier(0.250, 0.250, 0.750, 0.750);
}

.coaches-page .btn-soc-config-edit.k-button .k-button-text,
.coaches-page .btn-soc-config-show.k-button .k-button-text,
.coaches-page .btn-soc-config-password.k-button .k-button-text {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
}

/* Editar: verde primario */
.coaches-page .btn-soc-config-edit.k-button,
.coaches-page button.btn-soc-config-edit {
    border-color: var(--verde-primario-soc) !important;
    color: var(--verde-primario-soc) !important;
}

.coaches-page .btn-soc-config-edit.k-button:hover:not(.k-disabled):not(:disabled),
.coaches-page button.btn-soc-config-edit:hover:not(:disabled) {
    background: var(--verde-primario-soc) !important;
    background-color: var(--verde-primario-soc) !important;
    border-color: var(--verde-primario-soc) !important;
    color: #fff !important;
}

/* Ver: coral marca (manual de identidad) */
.coaches-page .btn-soc-config-show.k-button,
.coaches-page button.btn-soc-config-show {
    border-color: var(--coral-soc) !important;
    color: var(--coral-soc) !important;
}

.coaches-page .btn-soc-config-show.k-button:hover:not(.k-disabled):not(:disabled),
.coaches-page button.btn-soc-config-show:hover:not(:disabled) {
    background: var(--coral-soc) !important;
    background-color: var(--coral-soc) !important;
    border-color: var(--coral-soc) !important;
    color: #fff !important;
}

/* Contraseña: verde secundario marca */
.coaches-page .btn-soc-config-password.k-button,
.coaches-page button.btn-soc-config-password,
.coaches-page .soc-config-grid-actions .btn-soc-config-password,
.coaches-page .soc-config-grid-actions button.btn-soc-config-password {
    border-color: var(--verde-secundario-soc) !important;
    color: var(--verde-secundario-soc) !important;
}

.coaches-page .btn-soc-config-password.k-button:hover:not(.k-disabled):not(:disabled),
.coaches-page button.btn-soc-config-password:hover:not(:disabled),
.coaches-page .soc-config-grid-actions .btn-soc-config-password:hover:not(:disabled),
.coaches-page .soc-config-grid-actions button.btn-soc-config-password:hover:not(:disabled) {
    background: var(--verde-secundario-soc) !important;
    background-color: var(--verde-secundario-soc) !important;
    border-color: var(--verde-secundario-soc) !important;
    color: #fff !important;
}

.coaches-page .btn-soc-config-edit.k-button .bx,
.coaches-page .btn-soc-config-show.k-button .bx,
.coaches-page .btn-soc-config-password.k-button .bx,
.coaches-page button.btn-soc-config-edit .bx,
.coaches-page button.btn-soc-config-show .bx,
.coaches-page button.btn-soc-config-password .bx {
    display: block !important;
    font-size: 18px !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: translateY(1px);
    transition: all 300ms cubic-bezier(0.250, 0.250, 0.750, 0.750);
    transition-timing-function: cubic-bezier(0.250, 0.250, 0.750, 0.750);
}

.coaches-page .btn-soc-config-edit.k-button .bx,
.coaches-page button.btn-soc-config-edit .bx {
    color: var(--verde-primario-soc) !important;
}

.coaches-page .btn-soc-config-edit.k-button:hover:not(.k-disabled):not(:disabled) .bx,
.coaches-page button.btn-soc-config-edit:hover:not(:disabled) .bx {
    color: #fff !important;
}

.coaches-page .btn-soc-config-show.k-button .bx,
.coaches-page button.btn-soc-config-show .bx {
    color: var(--coral-soc) !important;
}

.coaches-page .btn-soc-config-show.k-button:hover:not(.k-disabled):not(:disabled) .bx,
.coaches-page button.btn-soc-config-show:hover:not(:disabled) .bx {
    color: #fff !important;
}

.coaches-page .btn-soc-config-password.k-button .bx,
.coaches-page button.btn-soc-config-password .bx,
.coaches-page .soc-config-grid-actions .btn-soc-config-password .bx,
.coaches-page .soc-config-grid-actions button.btn-soc-config-password .bx {
    color: var(--verde-secundario-soc) !important;
}

.coaches-page .btn-soc-config-password.k-button:hover:not(.k-disabled):not(:disabled) .bx,
.coaches-page button.btn-soc-config-password:hover:not(:disabled) .bx,
.coaches-page .soc-config-grid-actions .btn-soc-config-password:hover:not(:disabled) .bx,
.coaches-page .soc-config-grid-actions button.btn-soc-config-password:hover:not(:disabled) .bx {
    color: #fff !important;
}

/* Eliminar: rojo (acción destructiva) — misma geometría que el resto de acciones de grilla */
.coaches-page .btn-soc-config-delete.k-button,
.coaches-page button.btn-soc-config-delete {
    display: inline-grid !important;
    place-items: center !important;
    width: 36px !important;
    min-width: 36px !important;
    height: 36px !important;
    min-height: 36px !important;
    padding: 0 !important;
    line-height: 1 !important;
    border-radius: 5px !important;
    border-width: 1px !important;
    border-style: solid !important;
    background: #fff !important;
    box-shadow: none !important;
    cursor: pointer;
    border-color: #d92d20 !important;
    color: #d92d20 !important;
    transition: all 300ms cubic-bezier(0.250, 0.250, 0.750, 0.750);
    transition-timing-function: cubic-bezier(0.250, 0.250, 0.750, 0.750);
}

.coaches-page .btn-soc-config-delete.k-button:hover:not(.k-disabled):not(:disabled),
.coaches-page button.btn-soc-config-delete:hover:not(:disabled) {
    background: #d92d20 !important;
    background-color: #d92d20 !important;
    border-color: #d92d20 !important;
    color: #fff !important;
}

.coaches-page .btn-soc-config-delete.k-button .bx,
.coaches-page button.btn-soc-config-delete .bx {
    display: block !important;
    font-size: 18px !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: translateY(1px);
    color: #d92d20 !important;
    transition: all 300ms cubic-bezier(0.250, 0.250, 0.750, 0.750);
    transition-timing-function: cubic-bezier(0.250, 0.250, 0.750, 0.750);
}

.coaches-page .btn-soc-config-delete.k-button:hover:not(.k-disabled):not(:disabled) .bx,
.coaches-page button.btn-soc-config-delete:hover:not(:disabled) .bx {
    color: #fff !important;
}

.soc-ui-page-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.soc-ui-eyebrow {
    margin: 0 0 4px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--soc-cfg-accent);
}

.soc-ui-page-title {
    margin: 0;
    font-size: 28px;
    font-weight: 800;
    color: var(--soc-cfg-accent);
    line-height: 1.15;
}

.soc-ui-page-subtitle {
    margin: 6px 0 0;
    font-size: 14px;
    color: var(--soc-cfg-text-muted);
    max-width: 520px;
}

.soc-ui-page-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.soc-ui-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--soc-cfg-accent-soft);
    border: 1px solid var(--soc-cfg-border-strong);
    color: var(--soc-cfg-accent);
    font-size: 12px;
    font-weight: 700;
}

/* ---------- KPIs ---------- */
.soc-ui-kpi-row {
    margin-bottom: 24px;
}

.soc-ui-kpi-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    height: 100%;
    padding: 18px 20px;
    background: var(--soc-cfg-surface);
    border: 1px solid var(--soc-cfg-border);
    border-radius: var(--soc-cfg-radius);
    box-shadow: var(--soc-cfg-shadow);
}

.soc-ui-kpi-card--accent {
    background: linear-gradient(145deg, #006d4e 0%, #0a3d32 100%);
    border-color: transparent;
    color: #fff;
}

.soc-ui-kpi-card--accent .soc-ui-kpi-label,
.soc-ui-kpi-card--accent .soc-ui-kpi-value,
.soc-ui-kpi-card--accent .soc-ui-kpi-trend {
    color: #fff;
}

.soc-ui-kpi-card--accent .soc-ui-kpi-trend.is-up {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.soc-ui-kpi-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--soc-cfg-text-muted);
}

.soc-ui-kpi-value {
    font-size: 30px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--soc-cfg-text);
}

.soc-ui-kpi-trend {
    display: inline-flex;
    align-self: flex-start;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
}

.soc-ui-kpi-trend.is-up {
    background: #d8f3e8;
    color: #0b6f54;
}

.soc-ui-kpi-trend.is-down {
    background: var(--soc-cfg-danger-soft);
    color: var(--soc-cfg-danger);
}

.soc-ui-kpi-icon {
    align-self: flex-end;
    margin-top: auto;
    font-size: 22px;
    color: var(--soc-cfg-accent-mint);
    opacity: 0.9;
}

/* ---------- Paneles ---------- */
.soc-ui-panel {
    background: var(--soc-cfg-surface);
    border: 1px solid var(--soc-cfg-border);
    border-radius: var(--soc-cfg-radius-lg);
    box-shadow: var(--soc-cfg-shadow);
    overflow: hidden;
    height: 100%;
}

/* Formularios: no recortar popup del DatePicker (gana sobre .soc-ui-panel overflow) */
.coaches-page .soc-ui-panel.coaches-form-panel {
    height: auto;
    overflow: visible;
}

.soc-ui-panel-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--soc-cfg-border);
    background: var(--soc-cfg-surface-muted);
}

.coaches-page .soc-ui-panel-head--tabs {
    padding: 12px 16px;
    background: var(--soc-cfg-surface);
    border-bottom: none;
}

/* ── Vista unificada de Sesiones: toolbar (búsqueda + registrar) ──────────── */
.coaches-page .soc-sessions-toolbar {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
    margin-left: auto;
}

.coaches-page .soc-ui-panel-head--toolbar {
    flex-wrap: nowrap;
    gap: 16px;
}

.coaches-page .soc-ui-panel-head--toolbar .soc-ui-panel-title {
    flex: 0 1 auto;
    min-width: 0;
}

.coaches-page .soc-ui-panel-head--toolbar .soc-sessions-search input {
    min-width: 360px;
    width: 360px;
    max-width: 100%;
}

.coaches-page .soc-sessions-search {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.coaches-page .soc-sessions-search i {
    position: absolute;
    left: 10px;
    font-size: 1rem;
    color: var(--soc-cfg-placeholder-color);
    pointer-events: none;
}

.coaches-page .soc-sessions-search input {
    height: var(--soc-cfg-control-height);
    min-height: var(--soc-cfg-control-height);
    max-height: var(--soc-cfg-control-height);
    padding: 6px 12px 6px 32px;
    border: 1px solid var(--soc-cfg-border);
    border-radius: 5px;
    background: #ffffff;
    color: var(--soc-cfg-input-text-color);
    font-size: var(--soc-cfg-input-font-size);
    font-weight: 400;
    line-height: 1.25;
    min-width: 280px;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.coaches-page .soc-sessions-toolbar .btn-soc-primary,
.coaches-page .soc-sessions-toolbar .btn-soc-secondary {
    height: var(--soc-cfg-control-height);
    min-height: var(--soc-cfg-control-height);
    max-height: var(--soc-cfg-control-height);
    padding: 0 16px !important;
    line-height: 1.2;
}

.coaches-page .soc-sessions-search input::placeholder {
    color: var(--soc-cfg-placeholder-color);
    font-size: var(--soc-cfg-placeholder-size);
}

.coaches-page .soc-sessions-search input:focus {
    border-color: var(--verde-primario-soc);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0, 109, 78, 0.12);
}

.coaches-page .soc-ui-panel-head .soc-sessions-search--block,
.coaches-page .soc-ui-panel-search .soc-sessions-search--block {
    display: flex;
    flex: 1 1 100%;
    width: 100%;
}

.coaches-page .soc-ui-panel-head .soc-sessions-search--block input,
.coaches-page .soc-ui-panel-search .soc-sessions-search--block input {
    width: 100%;
    min-width: 0;
}

.coaches-page .soc-ui-panel-search {
    padding: 0 20px 14px;
    background: var(--soc-cfg-surface-muted);
    border-bottom: 1px solid var(--soc-cfg-border);
}

.coaches-page .soc-ui-panel-head--stacked {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
}

.coaches-page .soc-ui-panel-head--stacked .soc-ui-panel-title {
    width: 100%;
}

/* Botones de texto en grid (Coaches: Editar / Contraseña) */
.coaches-page .soc-config-grid-actions--labeled {
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
}

.coaches-page .soc-config-grid-actions--labeled .btn-soc-grid-edit,
.coaches-page .soc-config-grid-actions--labeled .btn-soc-grid-password {
    height: 32px;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 5px;
    border-width: 1px;
    border-style: solid;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.coaches-page .soc-config-grid-actions--labeled .btn-soc-grid-edit {
    background: var(--coral-soc);
    border-color: var(--coral-soc);
    color: #fff;
}

.coaches-page .soc-config-grid-actions--labeled .btn-soc-grid-edit:hover:not(:disabled) {
    background: var(--soc-btn-deactivate-hover);
    border-color: var(--soc-btn-deactivate-hover);
    color: #fff;
}

.coaches-page .soc-config-grid-actions--labeled .btn-soc-grid-password {
    background: #fff;
    border-color: var(--soc-cfg-border);
    color: var(--soc-cfg-input-text-color);
}

.coaches-page .soc-config-grid-actions--labeled .btn-soc-grid-password:hover:not(:disabled) {
    background: var(--soc-cfg-surface-muted);
    border-color: color-mix(in srgb, var(--soc-cfg-border) 70%, #98a2b3);
    color: var(--soc-cfg-input-text-color);
}

.soc-ui-panel-title {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 800;
    color: var(--soc-cfg-accent);
}

.soc-ui-panel-title i {
    font-size: 20px;
    opacity: 0.85;
}

.soc-ui-panel-body {
    padding: 16px;
}

.soc-ui-panel-body--grid {
    padding: 8px 10px 10px;
}

.soc-ui-panel-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.soc-ui-search {
    flex: 1;
    min-width: 180px;
    max-width: 280px;
    padding: 8px 14px;
    border: 1px solid var(--soc-cfg-border);
    border-radius: var(--soc-cfg-radius-sm);
    background: var(--soc-cfg-surface);
    font-size: 14px;
    color: var(--soc-cfg-text-muted);
}

.soc-ui-search:focus {
    outline: none;
    border-color: var(--soc-cfg-accent);
    box-shadow: 0 0 0 3px rgba(0, 109, 78, 0.12);
}

.soc-ui-form-actions {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
    padding-top: 16px;
    border-top: 1px solid var(--soc-cfg-border);
}

.soc-ui-field-row .form-control {
    border-radius: var(--soc-cfg-radius-sm);
    border-color: var(--soc-cfg-border);
    background: var(--soc-cfg-surface-muted);
}

.soc-ui-field-row .form-control:focus {
    border-color: var(--soc-cfg-accent);
    box-shadow: 0 0 0 3px rgba(0, 109, 78, 0.1);
    background: #fff;
}

.soc-ui-field-label {
    color: var(--soc-cfg-input-text-color);
    font-weight: 400;
    font-size: var(--soc-cfg-input-font-size);
}

.soc-ui-active-cell {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 13px;
    color: var(--soc-cfg-text-muted);
}

.soc-ui-grid-footer {
    margin-top: 10px;
    padding: 0 4px;
    font-size: 12px;
    font-weight: 600;
    color: var(--soc-cfg-text-muted);
}

/* Coaches: formulario arriba, tabla abajo */
.coaches-page-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Sesi?n participante: cards laterales con separaci?n y mismo radio */
.coaches-page .session-participant-content-row > .session-participant-side-col {
    align-self: flex-start !important;
}

.coaches-page .session-participant-side-stack {
    display: block;
    width: 100%;
}

.coaches-page .session-participant-side-stack > .session-participant-side-card {
    height: auto !important;
    min-height: 0 !important;
    border-radius: var(--soc-cfg-radius-lg) !important;
    overflow: hidden !important;
    margin-bottom: 0;
}

.coaches-page .session-participant-side-stack > .session-participant-side-card + .session-participant-side-card {
    margin-top: 24px !important;
}

.coaches-page .session-participant-side-stack > .session-participant-side-card.coaches-form-panel {
    height: auto !important;
    overflow: hidden !important;
}

.coaches-programa-forms-row > .col-md-6 > .coaches-form-panel {
    width: 100%;
}

.coaches-form-panel .soc-ui-form-actions {
    justify-content: flex-end;
    margin-top: 4px;
    padding-top: 10px;
    gap: 8px;
    border-top: none;
}

/* Coaches — modales Registrar / Editar / Contraseña (TelerikWindow) */
.coaches-config-window.k-window,
.coaches-config-window .k-window {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #eaecf0;
    box-shadow: 0 20px 48px rgba(16, 24, 40, 0.16);
}

.coaches-config-window .k-window-titlebar {
    background: #ffffff;
    border-bottom: 1px solid #eaecf0;
    padding: 16px 20px;
}

.coaches-config-window .k-window-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 700;
    color: var(--verde-primario-soc);
}

.coaches-config-window .k-window-title .bx {
    font-size: 20px;
    opacity: 0.9;
}

.coaches-config-window .k-window-content {
    background: #ffffff;
    padding: 0;
}

.coaches-config-window .soc-tenant-window-body,
.coaches-config-window .soc-tenant-window-body.coaches-form-panel {
    background: #ffffff;
    border-radius: 0;
    max-width: none;
    margin: 0;
}

.coaches-config-window .soc-tenant-window-body.coaches-form-panel {
    padding: 16px 20px 20px;
    --soc-cfg-control-height: 36px;
}

.coaches-config-window .soc-tenant-window-body.coaches-form-panel .soc-ui-form-actions {
    margin-top: 12px;
    padding-top: 12px;
}

.coaches-config-window .soc-tenant-window-body .row.g-3 {
    --bs-gutter-x: 1rem;
    --bs-gutter-y: 0.5rem;
}

.coaches-config-window .coaches-modal-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1rem;
    row-gap: 0.75rem;
    align-items: start;
}

.coaches-config-window .coaches-modal-form-grid .soc-ui-field-stacked:not(.soc-ui-switch-row) {
    display: flex;
    flex-direction: column;
}

.coaches-config-window .coaches-modal-form-grid--single {
    grid-template-columns: 1fr;
}

.coaches-config-window .coaches-modal-form-grid__full {
    grid-column: 1 / -1;
}

.coaches-config-window .soc-ui-switch-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: var(--soc-cfg-control-height);
}

.coaches-config-window .soc-ui-field-label--spacer {
    visibility: hidden;
    user-select: none;
}

.coaches-config-window .soc-ui-switch-row__label {
    margin: 0;
    font-size: var(--soc-cfg-input-font-size);
    color: var(--soc-cfg-input-text-color);
}

.coaches-config-window .coaches-form-panel .soc-ui-field-stacked .k-datepicker,
.coaches-config-window .coaches-form-panel .soc-ui-field-stacked .k-picker {
    display: flex !important;
    align-items: stretch;
    width: 100% !important;
    max-width: 100%;
    min-height: var(--soc-cfg-control-height);
    max-height: var(--soc-cfg-control-height);
    height: var(--soc-cfg-control-height);
    overflow: visible;
    box-sizing: border-box;
}

.coaches-config-window .coaches-form-panel .soc-ui-field-stacked .k-picker .k-input {
    display: inline-flex !important;
    flex: 1 1 auto;
    min-width: 0;
    height: var(--soc-cfg-control-height);
    width: auto !important;
}

.coaches-config-window .coaches-form-panel .soc-ui-field-stacked .k-input-inner {
    height: var(--soc-cfg-control-height) !important;
    min-height: var(--soc-cfg-control-height) !important;
    max-height: var(--soc-cfg-control-height) !important;
    padding: 6px 10px !important;
    border-radius: 5px 0 0 5px !important;
    border-color: var(--soc-cfg-border) !important;
    background: #ffffff !important;
    color: var(--soc-cfg-input-text-color) !important;
    font-size: var(--soc-cfg-input-font-size) !important;
    font-weight: 400 !important;
    box-sizing: border-box;
}

.coaches-config-window .coaches-form-panel .soc-ui-field-stacked .k-input-inner::placeholder {
    color: var(--soc-cfg-placeholder-color) !important;
    font-size: var(--soc-cfg-placeholder-size) !important;
    opacity: 1 !important;
}

.coaches-config-window .coaches-form-panel .soc-ui-field-stacked .k-input-inner:focus,
.coaches-config-window .coaches-form-panel .soc-ui-field-stacked .k-input-inner.k-focus {
    border-color: var(--soc-brand-green) !important;
    box-shadow: 0 0 0 3px rgba(0, 109, 78, 0.12) !important;
    background: #ffffff !important;
}

.coaches-config-window .coaches-form-panel .soc-ui-field-stacked .k-input-button,
.coaches-config-window .coaches-form-panel .soc-ui-field-stacked .k-datepicker-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: var(--soc-cfg-control-height);
    min-width: var(--soc-cfg-control-height);
    height: var(--soc-cfg-control-height);
    border-radius: 0 5px 5px 0;
    background: var(--verde-primario-soc) !important;
    border: 1px solid var(--verde-primario-soc) !important;
    color: #fff !important;
}

.coaches-config-window .coaches-form-panel .soc-ui-field-stacked .k-input-button .k-svg-icon,
.coaches-config-window .coaches-form-panel .soc-ui-field-stacked .k-datepicker-button .k-svg-icon,
.coaches-config-window .coaches-form-panel .soc-ui-field-stacked .k-input-button .k-svg-icon path,
.coaches-config-window .coaches-form-panel .soc-ui-field-stacked .k-datepicker-button .k-svg-icon path {
    fill: #fff !important;
    color: #fff !important;
}

/* Select + botón adjunto (mismo patrón visual que DatePicker) */
.coaches-config-window .soc-ui-field-addon {
    display: flex;
    align-items: stretch;
    width: 100%;
    min-height: var(--soc-cfg-control-height);
}

.coaches-config-window .soc-ui-field-addon__control {
    flex: 1 1 auto;
    min-width: 0;
    height: var(--soc-cfg-control-height);
    min-height: var(--soc-cfg-control-height);
    border-radius: 5px 0 0 5px !important;
    border-right: 0 !important;
}

.coaches-config-window .soc-ui-field-addon:not(:has(.soc-ui-field-addon__btn)) .soc-ui-field-addon__control {
    border-radius: 5px !important;
    border-right: 1px solid var(--soc-cfg-border) !important;
}

.coaches-config-window .soc-ui-field-addon__control:focus {
    border-color: var(--soc-brand-green);
    box-shadow: 0 0 0 3px rgba(0, 109, 78, 0.12);
    z-index: 1;
}

.coaches-config-window .soc-ui-field-addon__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: var(--soc-cfg-control-height);
    min-width: var(--soc-cfg-control-height);
    height: var(--soc-cfg-control-height);
    padding: 0;
    border: 1px solid var(--verde-primario-soc);
    border-radius: 0 5px 5px 0;
    background: var(--verde-primario-soc);
    color: #ffffff;
    cursor: pointer;
    line-height: 1;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.coaches-config-window .soc-ui-field-addon__btn .bx {
    font-size: 20px;
    line-height: 1;
}

.coaches-config-window .soc-ui-field-addon__btn:hover:not(:disabled) {
    background: color-mix(in srgb, var(--verde-primario-soc) 88%, #000);
    border-color: color-mix(in srgb, var(--verde-primario-soc) 88%, #000);
}

.coaches-config-window .soc-ui-field-addon__btn:focus-visible {
    outline: 2px solid color-mix(in srgb, var(--verde-primario-soc) 55%, #fff);
    outline-offset: 2px;
}

/* Acordeón inline: registrar coach debajo del select */
.coaches-config-window .soc-inline-coach-accordion {
    margin-top: 10px;
    border: 1px solid color-mix(in srgb, var(--verde-primario-soc) 22%, #dde1e3);
    border-radius: 10px;
    background: color-mix(in srgb, var(--verde-primario-soc) 4%, #ffffff);
    overflow: hidden;
    animation: soc-inline-coach-accordion-in 0.25s ease;
}

@keyframes soc-inline-coach-accordion-in {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.coaches-config-window .soc-inline-coach-accordion__head {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-bottom: 1px solid color-mix(in srgb, var(--verde-primario-soc) 14%, #eaecf0);
    color: var(--verde-primario-soc);
    font-size: 14px;
    font-weight: 700;
}

.coaches-config-window .soc-inline-coach-accordion__head .bx {
    font-size: 18px;
    line-height: 1;
}

.coaches-config-window .soc-inline-coach-accordion__body {
    padding: 12px 12px 4px;
}

.coaches-config-window .soc-inline-coach-accordion__actions {
    margin-top: 4px;
    padding-top: 12px;
    border-top: 1px solid #eaecf0;
}

.coaches-config-window .coaches-modal-form-grid .soc-ui-field-stacked.mb-3,
.coaches-config-window .coaches-modal-form-grid .soc-ui-field-stacked {
    margin-bottom: 0 !important;
    min-width: 0;
}

.coaches-config-window .soc-ui-field-stacked {
    width: 100%;
}

.coaches-config-window .soc-ui-field-stacked .soc-ui-field-label,
.coaches-config-window .soc-tenant-window-body .form-label {
    display: block;
    margin-bottom: 4px;
    color: var(--soc-cfg-input-text-color);
    font-weight: 400;
    font-size: var(--soc-cfg-input-font-size);
}

.coaches-config-window .soc-ui-field-stacked .form-control:not(textarea),
.coaches-config-window .soc-ui-field-stacked .form-select,
.coaches-config-window .soc-tenant-window-body.coaches-form-panel .form-control:not(textarea),
.coaches-config-window .soc-tenant-window-body.coaches-form-panel .form-select,
.coaches-config-window .soc-tenant-window-body .soc-tenant-control.form-control,
.coaches-config-window .soc-tenant-window-body .soc-tenant-control.form-select {
    width: 100%;
    height: var(--soc-cfg-control-height);
    min-height: var(--soc-cfg-control-height);
    max-height: var(--soc-cfg-control-height);
    padding: 6px 10px;
    line-height: 1.25;
    border-radius: 5px;
    border: 1px solid var(--soc-cfg-border);
    background: #ffffff;
    color: var(--soc-cfg-input-text-color);
    font-size: var(--soc-cfg-input-font-size);
    font-weight: 400;
    box-sizing: border-box;
}

.coaches-config-window .soc-ui-field-stacked .form-select,
.coaches-config-window .soc-tenant-window-body .soc-tenant-control.form-select {
    padding-right: 32px;
}

.coaches-config-window .soc-ui-field-stacked .form-control:not(textarea)::placeholder,
.coaches-config-window .soc-tenant-window-body .soc-tenant-control.form-control::placeholder {
    color: var(--soc-cfg-placeholder-color);
    font-size: var(--soc-cfg-placeholder-size);
    opacity: 1;
}

.coaches-config-window .soc-ui-field-stacked .form-control:not(textarea):focus,
.coaches-config-window .soc-ui-field-stacked .form-select:focus,
.coaches-config-window .soc-ui-field-stacked textarea.form-control:focus,
.coaches-config-window .soc-tenant-window-body .soc-tenant-control.form-control:focus,
.coaches-config-window .soc-tenant-window-body .soc-tenant-control.form-select:focus {
    border-color: var(--soc-brand-green);
    box-shadow: 0 0 0 3px rgba(0, 109, 78, 0.12);
    background: #ffffff;
    outline: none;
}

.coaches-config-window .soc-ui-field-stacked textarea.form-control {
    width: 100%;
    min-height: 120px;
    height: auto;
    padding: 10px 12px;
    border-radius: 5px;
    border: 1px solid var(--soc-cfg-border);
    background: var(--soc-cfg-surface-muted);
    color: var(--soc-cfg-input-text-color);
    font-size: var(--soc-cfg-input-font-size);
    font-weight: 400;
    resize: vertical;
    box-sizing: border-box;
}

.coaches-config-window .soc-ui-field-stacked .form-control:disabled,
.coaches-config-window .soc-tenant-window-body.coaches-form-panel .form-control:disabled,
.coaches-config-window .soc-tenant-window-body .soc-tenant-control.form-control:disabled {
    opacity: 1;
    color: var(--soc-cfg-input-text-color) !important;
    -webkit-text-fill-color: var(--soc-cfg-input-text-color);
    background: var(--soc-cfg-surface-muted);
    border-color: var(--soc-cfg-border);
}

.coaches-config-window .soc-ui-field-stacked .form-select:has(option[value=""]:checked),
.coaches-config-window .soc-tenant-window-body .soc-tenant-control.form-select:has(option[value=""]:checked) {
    color: var(--soc-cfg-placeholder-color);
    font-size: var(--soc-cfg-placeholder-size);
}

.coaches-config-window .soc-ui-field-stacked .form-control:-webkit-autofill,
.coaches-config-window .soc-ui-field-stacked .form-control:-webkit-autofill:hover,
.coaches-config-window .soc-ui-field-stacked .form-control:-webkit-autofill:focus,
.coaches-config-window .soc-tenant-window-body .soc-tenant-control.form-control:-webkit-autofill,
.coaches-config-window .soc-tenant-window-body .soc-tenant-control.form-control:-webkit-autofill:hover,
.coaches-config-window .soc-tenant-window-body .soc-tenant-control.form-control:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--soc-cfg-input-text-color);
    box-shadow: 0 0 0 1000px var(--soc-cfg-surface-muted) inset;
    border: 1px solid var(--soc-cfg-border);
}

.coaches-config-window .soc-tenant-window-body .validation-message,
.coaches-config-window .soc-tenant-window-body .text-danger {
    font-size: 12px;
}

.coaches-config-window .soc-tenant-window-body .validation-summary-errors {
    margin-bottom: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #fecdca;
    background: #fef3f2;
    color: #b42318;
    font-size: 13px;
}

.coaches-config-window .soc-tenant-window-body .soc-ui-form-actions,
.coaches-config-window .soc-tenant-window-body .modal-actions {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
    padding-top: 10px;
    border-top: none;
}

/* Broker modal — controles Telerik en grilla de dos columnas */
.coaches-config-window .coaches-form-panel .soc-ui-field-stacked .soc-tenant-control.k-input,
.coaches-config-window .coaches-form-panel .soc-ui-field-stacked .soc-tenant-control.k-picker,
.coaches-config-window .coaches-form-panel .soc-ui-field-stacked .soc-tenant-control.k-dropdownlist,
.coaches-config-window .coaches-form-panel .soc-ui-field-stacked .soc-tenant-control.k-numerictextbox {
    width: 100% !important;
    min-height: var(--soc-cfg-control-height, 36px);
    border-radius: 8px;
    border: 1px solid var(--soc-cfg-border, #dde1e3);
    background: var(--soc-cfg-filter-input-bg, #fafbfb);
    box-shadow: none;
}

.coaches-config-window .coaches-form-panel .soc-ui-field-stacked .soc-tenant-control .k-input-inner {
    min-height: calc(var(--soc-cfg-control-height, 36px) - 2px);
    padding: 6px 12px;
    font-size: 14px;
    color: #344054;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.coaches-config-window .coaches-form-panel .soc-ui-field-stacked .soc-tenant-control .k-input-inner::placeholder {
    color: #98a2b3;
    opacity: 1;
}

.coaches-config-window .coaches-form-panel .soc-ui-field-stacked .soc-tenant-control .k-input-inner:focus,
.coaches-config-window .coaches-form-panel .soc-ui-field-stacked .soc-tenant-control .k-input-inner.k-focus,
.coaches-config-window .coaches-form-panel .soc-ui-field-stacked .soc-tenant-control.k-focus {
    border-color: var(--verde-primario-soc);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--verde-primario-soc) 18%, transparent);
}

.coaches-config-window .coaches-form-panel .soc-ui-field-stacked .soc-tenant-control .k-input-button,
.coaches-config-window .coaches-form-panel .soc-ui-field-stacked .soc-tenant-control .k-button.k-input-button {
    border: 0;
    background: transparent;
    color: #667085;
}

.coaches-config-window .coaches-form-panel .soc-ui-field-stacked .k-fileselect,
.coaches-config-window .coaches-form-panel .soc-ui-field-stacked .k-upload {
    width: 100%;
    border-radius: 8px;
    border: 1px dashed color-mix(in srgb, var(--verde-primario-soc) 35%, #dde1e3);
    background: color-mix(in srgb, var(--verde-primario-soc) 4%, #ffffff);
}

.coaches-config-window .coaches-form-panel .soc-ui-field-stacked .k-fileselect .k-dropzone,
.coaches-config-window .coaches-form-panel .soc-ui-field-stacked .k-upload .k-dropzone {
    border: 0;
    background: transparent;
    min-height: 72px;
}

.coaches-config-window .coaches-form-panel .soc-ui-field-stacked .k-fileselect .k-button,
.coaches-config-window .coaches-form-panel .soc-ui-field-stacked .k-upload .k-button {
    border-radius: var(--soc-btn-pill-radius);
    border: 1px solid var(--verde-primario-soc);
    color: var(--verde-primario-soc);
    background: #ffffff;
    font-weight: 600;
}

.coaches-config-window .soc-tenant-window-body .soc-ui-form-actions .soc-tenant-modal-deactivate {
    margin-right: auto;
}

/* Editar coach: un poco mas de aire entre campos que en formularios de registro */
.coaches-page .coaches-form-panel.coaches-edit-panel .row.g-3 {
    --bs-gutter-y: 0.75rem;
}

.coaches-page .coaches-form-panel.coaches-edit-panel .soc-ui-field-stacked.mb-3 {
    margin-bottom: 0.875rem !important;
}

.coaches-page .coaches-form-panel.coaches-edit-panel .soc-ui-field-stacked .soc-ui-field-label {
    margin-bottom: 6px;
}

/* Editar coach: dos columnas, labels arriba (hom?logo a coaches-form-panel) */
.coaches-page .coaches-form-panel.coaches-edit-panel .soc-ui-field-stacked .soc-ui-field-readonly {
    display: flex;
    align-items: center;
    min-height: var(--soc-cfg-control-height, 42px);
    background: #eceeef !important;
    border: 1px solid #dde1e3 !important;
    color: #5c6569 !important;
    cursor: default;
}

.coaches-page .coaches-form-panel.coaches-edit-panel .soc-ui-active-cell {
    min-height: var(--soc-cfg-control-height, 42px);
    padding-top: 4px;
}

.coaches-edit-checks-row .soc-ui-field-stacked {
    width: 100%;
}

.coaches-edit-active .soc-toggle-input {
    width: 1.125rem !important;
    height: 1.125rem !important;
}

.coaches-edit-panel .coaches-edit-active input.soc-toggle-input:checked {
    background-color: var(--verde-claro-soc) !important;
    border-color: var(--verde-claro-soc) !important;
}

/* Checkboxes Activo — verde secundario (#4ed176 / verde-claro-soc) */
.coaches-page input[type="checkbox"].soc-toggle-input {
    accent-color: var(--verde-claro-soc);
    appearance: none !important;
    -webkit-appearance: none !important;
    width: 1.125rem !important;
    height: 1.125rem !important;
    min-width: 1.125rem !important;
    min-height: 1.125rem !important;
    margin: 0 !important;
    padding: 0 !important;
    cursor: pointer;
    border: 1px solid #adb5bd !important;
    border-radius: 4px !important;
    background-color: #fff !important;
    background-image: none !important;
    vertical-align: middle;
    flex-shrink: 0;
}

.coaches-page input[type="checkbox"].soc-toggle-input:checked {
    background-color: var(--verde-claro-soc) !important;
    border-color: var(--verde-claro-soc) !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3E%3Cpath d='M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.75.75 0 0 1 1.06-1.06L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0z'/%3E%3C/svg%3E") !important;
    background-size: 100% 100% !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

.coaches-page input[type="checkbox"].soc-toggle-input:focus-visible {
    outline: 2px solid var(--verde-claro-soc) !important;
    outline-offset: 2px;
}

.coaches-page .soc-ui-panel--grid .k-table-tbody tr {
    cursor: pointer;
}

.coaches-list-panel {
    margin-bottom: 8px;
}

/* Telerik grid dentro del panel Configuracion */
.coaches-page .soc-ui-panel--grid .k-grid {
    width: 100% !important;
    max-width: 100%;
    border-radius: var(--soc-cfg-radius-sm);
    border: 1px solid var(--soc-cfg-border);
    overflow: hidden;
}

.coaches-page .soc-ui-panel--grid .k-grid-table,
.coaches-page .soc-ui-panel--grid .k-grid-header-table,
.coaches-page .soc-ui-panel--grid table.k-table {
    width: 100% !important;
    table-layout: fixed;
}

.coaches-page .soc-ui-panel-body--grid {
    overflow-x: hidden;
    max-width: 100%;
}

/* Texto celdas de datos */
.coaches-page .soc-ui-panel--grid .k-grid-content td,
.coaches-page .soc-ui-panel--grid .k-grid-content .k-table-td,
.coaches-page .soc-ui-panel--grid .k-table-tbody td,
.coaches-page .soc-ui-panel--grid .k-table-tbody .k-table-td,
.coaches-page .soc-ui-panel--grid .soc-ui-active-cell {
    color: #565656 !important;
    font-weight: 600 !important;
}

/* Encabezado grid: fila t?tulos verde; fila filtros gris; sin franja verde al final */
.coaches-page .soc-ui-panel--grid .k-grid-header,
.coaches-page .soc-ui-panel--grid .k-grid-header-wrap,
.coaches-page .soc-ui-panel--grid .k-grid-header .k-table,
.coaches-page .soc-ui-panel--grid .k-grid-header .k-table-thead,
.coaches-page .soc-ui-panel--grid .k-grid-header .k-table-row {
    background: #fff !important;
    background-color: #fff !important;
}

/* Fila de t?tulos (primera fila del thead) */
.coaches-page .soc-ui-panel--grid .k-grid-header .k-table-thead > .k-table-row:first-child > .k-table-th,
.coaches-page .soc-ui-panel--grid .k-grid-header .k-table-thead > .k-table-row:first-child > th,
.coaches-page .soc-ui-panel--grid .k-grid-header thead > tr:first-child > th,
.coaches-page .soc-ui-panel--grid .k-grid-header thead > tr:first-child > .k-table-th {
    background-color: var(--verde-primario-soc) !important;
    background: var(--verde-primario-soc) !important;
    border-color: color-mix(in srgb, var(--verde-primario-soc) 80%, #003d2c) !important;
    color: #fff !important;
}

.coaches-page .soc-ui-panel--grid .k-grid-header .k-table-thead > .k-table-row:first-child .k-link,
.coaches-page .soc-ui-panel--grid .k-grid-header .k-table-thead > .k-table-row:first-child .k-column-title,
.coaches-page .soc-ui-panel--grid .k-grid-header thead > tr:first-child .k-link,
.coaches-page .soc-ui-panel--grid .k-grid-header thead > tr:first-child .k-column-title {
    color: #fff !important;
    background: transparent !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

.coaches-page .soc-ui-panel--grid .k-grid-header .k-table-thead > .k-table-row:first-child > .k-table-th,
.coaches-page .soc-ui-panel--grid .k-grid-header .k-table-thead > .k-table-row:first-child > th,
.coaches-page .soc-ui-panel--grid .k-grid-header thead > tr:first-child > th,
.coaches-page .soc-ui-panel--grid .k-grid-header thead > tr:first-child > .k-table-th {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.coaches-page .soc-ui-panel--grid .k-grid-content td:not(:has(.soc-config-grid-actions)):not(:has(.sessions-enter-btn)),
.coaches-page .soc-ui-panel--grid .k-grid-content .k-table-td:not(:has(.soc-config-grid-actions)):not(:has(.sessions-enter-btn)),
.coaches-page .soc-ui-panel--grid .k-table-tbody td:not(:has(.soc-config-grid-actions)):not(:has(.sessions-enter-btn)),
.coaches-page .soc-ui-panel--grid .k-table-tbody .k-table-td:not(:has(.soc-config-grid-actions)):not(:has(.sessions-enter-btn)) {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

/* Sin "..." en columna Ingresar (Sesiones registradas) */
.coaches-page .soc-ui-panel--grid .k-table-tbody .k-table-td:has(.sessions-enter-btn),
.coaches-page .soc-ui-panel--grid .k-grid-content td:has(.sessions-enter-btn) {
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: nowrap !important;
}

.coaches-page .soc-ui-panel--grid .k-table-tbody .k-table-td:has(.sessions-enter-btn) .k-cell-inner,
.coaches-page .soc-ui-panel--grid .k-grid-content td:has(.sessions-enter-btn) .k-cell-inner {
    overflow: visible !important;
    text-overflow: clip !important;
}

.coaches-page .soc-ui-panel--grid .k-grid-header .k-table-thead > .k-table-row:first-child .k-icon,
.coaches-page .soc-ui-panel--grid .k-grid-header .k-table-thead > .k-table-row:first-child .k-svg-icon,
.coaches-page .soc-ui-panel--grid .k-grid-header thead > tr:first-child .k-icon,
.coaches-page .soc-ui-panel--grid .k-grid-header thead > tr:first-child .k-svg-icon {
    color: #fff !important;
    fill: #fff !important;
}

/* Fila de filtros: fondo blanco (inputs grises como formulario) */
.coaches-page .soc-ui-panel--grid .k-grid-header .k-filter-row,
.coaches-page .soc-ui-panel--grid .k-grid-header tr.k-filter-row,
.coaches-page .soc-ui-panel--grid .k-grid-header .k-table-thead > .k-table-row.k-filter-row,
.coaches-page .soc-ui-panel--grid .k-grid-header .k-filter-row > .k-table-th,
.coaches-page .soc-ui-panel--grid .k-grid-header .k-filter-row > th,
.coaches-page .soc-ui-panel--grid .k-grid-header tr.k-filter-row > th,
.coaches-page .soc-ui-panel--grid .k-grid-header tr.k-filter-row > .k-table-th,
.coaches-page .soc-ui-panel--grid .k-grid-header tr.k-filter-row > td,
.coaches-page .soc-ui-panel--grid .k-filter-row .k-table-td,
.coaches-page .soc-ui-panel--grid .k-filter-row .k-filtercell {
    background: var(--soc-cfg-surface) !important;
    background-color: var(--soc-cfg-surface) !important;
    border-color: var(--soc-cfg-border) !important;
}

/* Segunda fila del thead = filtros (por si el orden DOM var?a) */
.coaches-page .soc-ui-panel--grid .k-grid-header .k-table-thead > .k-table-row:nth-child(2) > .k-table-th,
.coaches-page .soc-ui-panel--grid .k-grid-header .k-table-thead > .k-table-row:nth-child(2) > th,
.coaches-page .soc-ui-panel--grid .k-grid-header thead > tr:nth-child(2) > th,
.coaches-page .soc-ui-panel--grid .k-grid-header thead > tr:nth-child(2) > .k-table-th {
    background: var(--soc-cfg-surface) !important;
    background-color: var(--soc-cfg-surface) !important;
    border-color: var(--soc-cfg-border) !important;
}

/* Relleno / scroll a la derecha: blanco en fila filtros */
.coaches-page .soc-ui-panel--grid .k-grid-header tr.k-filter-row .k-grid-header-sticky,
.coaches-page .soc-ui-panel--grid .k-grid-header .k-filter-row .k-grid-header-sticky,
.coaches-page .soc-ui-panel--grid .k-grid-header .k-table-thead > .k-table-row.k-filter-row .k-grid-header-sticky {
    background: var(--soc-cfg-surface) !important;
    background-color: var(--soc-cfg-surface) !important;
}

.coaches-page .soc-ui-panel--grid .k-filter-row .k-filtercell .k-textbox,
.coaches-page .soc-ui-panel--grid .k-filter-row .k-filtercell .k-input,
.coaches-page .soc-ui-panel--grid .k-filter-row .k-filtercell .k-picker {
    width: 100%;
    max-width: 100%;
}

/* Inputs de filtro: gris sobre fila blanca (igual que coaches-form-panel) */
.coaches-page .soc-ui-panel--grid .k-filter-row .k-filtercell .k-input,
.coaches-page .soc-ui-panel--grid .k-filter-row .k-filtercell .k-picker,
.coaches-page .soc-ui-panel--grid .k-filter-row .k-filtercell .k-input-inner,
.coaches-page .soc-ui-panel--grid .k-filter-row .k-filtercell .k-textbox,
.coaches-page .soc-ui-panel--grid .k-filter-row .k-filtercell input.k-input-inner {
    border-radius: 5px !important;
    border: 1px solid var(--soc-cfg-border) !important;
    background: var(--soc-cfg-surface-muted) !important;
    background-color: var(--soc-cfg-surface-muted) !important;
    color: var(--soc-cfg-text-muted) !important;
    font-weight: 600 !important;
}

.coaches-page .soc-ui-panel--grid .k-filter-row .k-filtercell .k-input-inner::placeholder,
.coaches-page .soc-ui-panel--grid .k-filter-row .k-filtercell input.k-input-inner::placeholder {
    color: var(--soc-cfg-placeholder-color) !important;
    font-size: var(--soc-cfg-placeholder-size) !important;
    font-weight: 400 !important;
    opacity: 1 !important;
}

.coaches-page .soc-ui-panel--grid .k-filter-row .k-filtercell .k-input-inner:focus,
.coaches-page .soc-ui-panel--grid .k-filter-row .k-filtercell .k-input-inner.k-focus {
    border-color: var(--verde-primario-soc) !important;
    box-shadow: 0 0 0 3px rgba(0, 109, 78, 0.12) !important;
    background: var(--soc-cfg-surface) !important;
    background-color: var(--soc-cfg-surface) !important;
}

/* Telerik checkbox en grids — mismo verde secundario */
.coaches-page .soc-ui-panel--grid .k-grid-content .k-checkbox,
.coaches-page .soc-ui-panel--grid .k-table-tbody .k-checkbox {
    width: 1.125rem !important;
    height: 1.125rem !important;
    border-radius: 4px !important;
}

.coaches-page .soc-ui-panel--grid .k-grid-content .k-checkbox:checked,
.coaches-page .soc-ui-panel--grid .k-grid-content .k-checkbox.k-checked,
.coaches-page .soc-ui-panel--grid .k-table-tbody .k-checkbox:checked,
.coaches-page .soc-ui-panel--grid .k-table-tbody .k-checkbox.k-checked {
    background-color: var(--verde-claro-soc) !important;
    border-color: var(--verde-claro-soc) !important;
}

.coaches-page .soc-ui-panel--grid .k-filter-row .k-icon,
.coaches-page .soc-ui-panel--grid .k-filter-row .k-svg-icon,
.coaches-page .soc-ui-panel--grid .k-filter-row .k-button,
.coaches-page .soc-ui-panel--grid .k-filter-row .k-input-button,
.coaches-page .soc-ui-panel--grid .k-filter-row .k-datepicker-button {
    color: var(--soc-cfg-text) !important;
}

.coaches-page .soc-ui-panel--grid .k-filter-row .k-svg-icon,
.coaches-page .soc-ui-panel--grid .k-filter-row .k-svg-icon svg,
.coaches-page .soc-ui-panel--grid .k-filter-row .k-svg-icon path {
    fill: var(--soc-cfg-text) !important;
    color: var(--soc-cfg-text) !important;
}

.coaches-page .soc-ui-panel--grid .k-filter-row .k-button {
    background: var(--soc-cfg-surface-muted) !important;
    border-color: var(--soc-cfg-border) !important;
}

.coaches-page .soc-ui-panel--grid .k-filter-row .k-input-button,
.coaches-page .soc-ui-panel--grid .k-filter-row .k-datepicker-button {
    background: var(--verde-primario-soc) !important;
    background-color: var(--verde-primario-soc) !important;
    border: 1px solid var(--verde-primario-soc) !important;
    border-color: var(--verde-primario-soc) !important;
    color: #fff !important;
    border-radius: 0 5px 5px 0 !important;
}

.coaches-page .soc-ui-panel--grid .k-filter-row .k-input-button .k-icon,
.coaches-page .soc-ui-panel--grid .k-filter-row .k-datepicker-button .k-icon,
.coaches-page .soc-ui-panel--grid .k-filter-row .k-input-button .k-svg-icon,
.coaches-page .soc-ui-panel--grid .k-filter-row .k-datepicker-button .k-svg-icon,
.coaches-page .soc-ui-panel--grid .k-filter-row .k-input-button .k-svg-icon svg,
.coaches-page .soc-ui-panel--grid .k-filter-row .k-datepicker-button .k-svg-icon svg,
.coaches-page .soc-ui-panel--grid .k-filter-row .k-input-button .k-svg-icon path,
.coaches-page .soc-ui-panel--grid .k-filter-row .k-datepicker-button .k-svg-icon path {
    fill: #fff !important;
    color: #fff !important;
}

.coaches-page .soc-ui-panel--grid .k-filter-row .k-filtercell .k-filtercell-operator,
.coaches-page .soc-ui-panel--grid .k-filter-row .k-filtercell > .k-button:not(.k-input-button):not(.k-datepicker-button) {
    display: none !important;
}

/* Popup DatePicker por encima de paneles */
.k-animation-container {
    z-index: 15000 !important;
}

/* Calendario Telerik (datepicker / filtro fecha) ? marca SOC */
.k-calendar,
.k-calendar .k-calendar-view,
.k-calendar .k-calendar-table {
    background: #fff !important;
}

.k-calendar .k-calendar-th {
    color: var(--soc-cfg-text-muted) !important;
    font-weight: 700;
}

.k-calendar .k-calendar-caption,
.k-calendar .k-nav-fast,
.k-calendar .k-button.k-nav-today {
    color: var(--verde-primario-soc) !important;
    background: transparent !important;
}

.k-calendar .k-calendar-nav .k-button,
.k-calendar .k-calendar-header .k-button {
    color: var(--soc-cfg-text) !important;
}

.k-calendar .k-calendar-td {
    padding: 2px !important;
    background: transparent !important;
}

.k-calendar .k-calendar-td .k-link {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 2em;
    min-height: 2em;
    background: #fff !important;
    background-color: #fff !important;
    color: var(--verde-primario-soc) !important;
    border: 1px solid var(--verde-primario-soc) !important;
    border-radius: 6px !important;
    box-shadow: none !important;
}

.k-calendar .k-calendar-td.k-other-month .k-link {
    color: color-mix(in srgb, var(--verde-primario-soc) 40%, #9aa3a8) !important;
    border-color: color-mix(in srgb, var(--verde-primario-soc) 28%, #d0d5d2) !important;
}

.k-calendar .k-calendar-td .k-link:hover,
.k-calendar .k-calendar-td:hover .k-link {
    background: var(--soc-cfg-accent-soft) !important;
    color: var(--verde-primario-soc) !important;
    border-color: var(--verde-primario-soc) !important;
}

/* Día seleccionado: verde primario SOC */
.k-calendar .k-calendar-td.k-selected .k-link,
.k-calendar .k-calendar-td.k-state-selected .k-link,
.k-calendar .k-selected.k-calendar-td .k-link,
.k-calendar .k-calendar-td .k-link.k-selected {
    background: var(--verde-primario-soc) !important;
    background-color: var(--verde-primario-soc) !important;
    border-color: var(--verde-primario-soc) !important;
    color: #fff !important;
}

.k-calendar .k-calendar-td.k-selected .k-link:hover,
.k-calendar .k-calendar-td.k-state-selected .k-link:hover {
    background: color-mix(in srgb, var(--verde-primario-soc) 88%, #000000) !important;
    border-color: color-mix(in srgb, var(--verde-primario-soc) 88%, #000000) !important;
    color: #fff !important;
}

/* ---------- Hub Configuraci?n (tarjetas) ---------- */
.soc-config-page {
    max-width: 100%;
}

.navigation-items-page.soc-config-page {
    padding-top: 8px;
    padding-bottom: 16px;
}

.soc-config-page-title-card {
    margin-bottom: 12px;
}

.soc-config-page-title-card .soc-config-subpage-title-card__body {
    padding: 10px 16px;
}

.soc-config-page-title-card .soc-config-subpage-title-card__heading {
    font-size: 20px;
}

.soc-config-page-title-card .soc-config-subpage-title-card__subtitle {
    margin-top: 2px;
    font-size: 12px;
}

.soc-config-page .soc-config-hub-grid.row {
    margin-top: 0;
    --bs-gutter-x: 1rem;
    --bs-gutter-y: 0.75rem;
}

/* Hub: tarjetas con altura media (sin cuadrado 1:1 que genera scroll) */
.soc-config-page .soc-ui-config-card-v2 {
    aspect-ratio: unset;
    min-height: 196px;
    max-height: none;
    padding: 20px 18px 16px;
    gap: 10px 12px;
}

.soc-config-page .soc-ui-config-card-v2__copy {
    gap: 6px;
    padding-top: 2px;
}

.soc-config-page .soc-ui-config-card-v2__title {
    font-size: 16px;
}

.soc-config-page .soc-ui-config-card-v2__desc {
    font-size: 13px;
    line-height: 1.45;
}

.soc-config-page .soc-ui-config-card-v2__icon {
    width: 64px;
    height: 64px;
    margin-right: 2px;
    font-size: 44px;
}

.soc-config-page .soc-ui-config-card-v2__decor {
    right: 14px;
    bottom: 10px;
    transform: scale(0.85);
    transform-origin: bottom right;
}

.soc-config-page .soc-ui-config-card-v2__arrow {
    font-size: 18px;
}

.soc-config-card,
.soc-ui-config-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    padding: 28px 16px;
    background: var(--soc-cfg-surface);
    border: 1px solid var(--soc-cfg-border);
    border-radius: var(--soc-cfg-radius);
    text-decoration: none;
    color: inherit;
    box-shadow: var(--soc-cfg-shadow);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.soc-config-card:hover,
.soc-config-card:focus-visible,
.soc-ui-config-card:hover,
.soc-ui-config-card:focus-visible {
    transform: translateY(-4px);
    border-color: color-mix(in srgb, var(--soc-cfg-accent) 35%, var(--soc-cfg-border));
    box-shadow: var(--soc-cfg-shadow-hover);
    outline: none;
}

.soc-config-card-icon,
.soc-ui-config-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin-bottom: 16px;
    border-radius: 50%;
    background: var(--soc-cfg-accent-soft);
    color: var(--soc-cfg-accent);
    font-size: 34px;
    line-height: 1;
}

.soc-config-card-label,
.soc-ui-config-card-label {
    text-align: center;
    color: var(--soc-cfg-accent);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.35;
    max-width: 220px;
}

/* Hub v2: tarjetas tipo dashboard (marca SOC + hover a color) */
.soc-config-hub-grid {
    margin-top: 8px;
}

.soc-config-hub-grid > [class*="col-"] {
    display: flex;
}

.soc-ui-config-card-v2 {
    --soc-cfg-card-accent: var(--soc-brand-green);
    --soc-cfg-card-accent-deep: color-mix(in srgb, var(--soc-cfg-card-accent) 72%, #1a1a1a);
    --soc-cfg-card-ease: cubic-bezier(0.4, 0, 0.2, 1);
    --soc-cfg-card-duration: 0.55s;
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto 1fr;
    grid-template-areas:
        "copy copy"
        "arrow icon";
    gap: 10px 12px;
    width: 100%;
    aspect-ratio: 1 / 1;
    min-height: 200px;
    max-height: 280px;
    padding: 24px 24px 20px;
    background: var(--soc-cfg-surface);
    border: 1px solid var(--soc-cfg-border);
    border-radius: var(--soc-cfg-radius);
    text-decoration: none;
    color: inherit;
    box-shadow: var(--soc-cfg-shadow);
    overflow: hidden;
    transition:
        transform var(--soc-cfg-card-duration) var(--soc-cfg-card-ease),
        box-shadow var(--soc-cfg-card-duration) var(--soc-cfg-card-ease),
        border-color var(--soc-cfg-card-duration) var(--soc-cfg-card-ease),
        background var(--soc-cfg-card-duration) var(--soc-cfg-card-ease);
}

.soc-ui-config-card-v2:hover,
.soc-ui-config-card-v2:focus-visible {
    transform: translateY(-6px);
    border-color: transparent;
    box-shadow: var(--soc-cfg-shadow-hover);
    outline: none;
    background: linear-gradient(
        145deg,
        var(--soc-cfg-card-accent) 0%,
        var(--soc-cfg-card-accent-deep) 100%
    );
}

.soc-ui-config-card-v2__copy {
    grid-area: copy;
    width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 4px;
}

.soc-ui-config-card-v2__title {
    margin: 0;
    width: 100%;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--soc-cfg-text);
    letter-spacing: -0.01em;
    transition: color var(--soc-cfg-card-duration) var(--soc-cfg-card-ease);
}

/* Decor: esquina inferior de la tarjeta (independiente del icono) */
.soc-ui-config-card-v2__decor {
    position: absolute;
    right: 20px;
    bottom: 16px;
    width: 72px;
    height: 52px;
    z-index: 0;
    pointer-events: none;
}

.soc-ui-config-card-v2__decor::before,
.soc-ui-config-card-v2__decor::after {
    content: "";
    position: absolute;
    transition:
        background var(--soc-cfg-card-duration) var(--soc-cfg-card-ease),
        box-shadow var(--soc-cfg-card-duration) var(--soc-cfg-card-ease);
}

/* Esfera */
.soc-ui-config-card-v2__decor::before {
    width: 24px;
    height: 24px;
    right: 34px;
    bottom: 10px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--soc-cfg-card-accent) 30%, transparent);
    box-shadow:
        inset 0 0 0 1px color-mix(in srgb, var(--soc-cfg-card-accent) 12%, transparent),
        18px 18px 0 -6px color-mix(in srgb, var(--soc-cfg-card-accent) 22%, transparent);
}

/* Cubo */
.soc-ui-config-card-v2__decor::after {
    width: 20px;
    height: 20px;
    right: 4px;
    bottom: 6px;
    border-radius: 5px;
    transform: rotate(14deg);
    background: color-mix(in srgb, var(--soc-cfg-card-accent) 24%, transparent);
}

.soc-ui-config-card-v2:hover .soc-ui-config-card-v2__decor::before,
.soc-ui-config-card-v2:focus-visible .soc-ui-config-card-v2__decor::before,
.soc-ui-config-card-v2:hover .soc-ui-config-card-v2__decor::after,
.soc-ui-config-card-v2:focus-visible .soc-ui-config-card-v2__decor::after {
    background: rgba(255, 255, 255, 0.38);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.2),
        18px 18px 0 -6px rgba(255, 255, 255, 0.28);
}

/* Icono: fila inferior, centrado verticalmente (separado del decor) */
.soc-ui-config-card-v2__icon {
    grid-area: icon;
    align-self: start;
    justify-self: end;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 88px;
    height: 88px;
    margin-right: 4px;
    border-radius: 18px;
    background: transparent;
    color: var(--soc-cfg-card-accent);
    font-size: 56px;
    line-height: 1;
    transition:
        color var(--soc-cfg-card-duration) var(--soc-cfg-card-ease),
        background var(--soc-cfg-card-duration) var(--soc-cfg-card-ease),
        transform var(--soc-cfg-card-duration) var(--soc-cfg-card-ease);
}

.soc-ui-config-card-v2__icon i {
    display: block;
    font-size: 1em;
    line-height: 1;
}

.soc-ui-config-card-v2__desc {
    margin: 0;
    width: 100%;
    font-size: 13px;
    line-height: 1.5;
    color: var(--soc-cfg-text-muted);
    transition: color var(--soc-cfg-card-duration) var(--soc-cfg-card-ease);
}

.soc-ui-config-card-v2__arrow {
    grid-area: arrow;
    align-self: end;
    font-size: 20px;
    font-weight: 400;
    line-height: 1;
    color: var(--soc-cfg-text);
    transition:
        transform var(--soc-cfg-card-duration) var(--soc-cfg-card-ease),
        color var(--soc-cfg-card-duration) var(--soc-cfg-card-ease);
}

.soc-ui-config-card-v2:hover .soc-ui-config-card-v2__arrow,
.soc-ui-config-card-v2:focus-visible .soc-ui-config-card-v2__arrow {
    transform: translateX(5px);
}

.soc-ui-config-card-v2:hover .soc-ui-config-card-v2__title,
.soc-ui-config-card-v2:focus-visible .soc-ui-config-card-v2__title {
    color: #fff;
}

.soc-ui-config-card-v2:hover .soc-ui-config-card-v2__desc,
.soc-ui-config-card-v2:focus-visible .soc-ui-config-card-v2__desc {
    color: rgba(255, 255, 255, 0.9);
}

.soc-ui-config-card-v2:hover .soc-ui-config-card-v2__arrow,
.soc-ui-config-card-v2:focus-visible .soc-ui-config-card-v2__arrow {
    color: #fff;
}

.soc-ui-config-card-v2:hover .soc-ui-config-card-v2__icon,
.soc-ui-config-card-v2:focus-visible .soc-ui-config-card-v2__icon {
    color: #fff;
    background: rgba(255, 255, 255, 0.18);
    transform: scale(1.06);
}

/* Acento por cat?logo (paleta SOC) */
.soc-ui-config-card-v2--coaches {
    --soc-cfg-card-accent: var(--soc-brand-green);
}

.soc-ui-config-card-v2--programas {
    --soc-cfg-card-accent: var(--soc-brand-green-light);
    --soc-cfg-card-accent-deep: color-mix(in srgb, var(--soc-brand-green-light) 55%, var(--soc-brand-green));
}

.soc-ui-config-card-v2--actividad {
    --soc-cfg-card-accent: var(--soc-brand-coral);
}

.soc-ui-config-card-v2--individual {
    --soc-cfg-card-accent: var(--soc-brand-sky);
    --soc-cfg-card-accent-deep: color-mix(in srgb, var(--soc-brand-blue) 65%, #1a1a1a);
}

.soc-ui-config-card-v2--grupal {
    --soc-cfg-card-accent: var(--soc-brand-pink);
    --soc-cfg-card-accent-deep: color-mix(in srgb, var(--soc-brand-salmon) 55%, #c45a8a);
}

@media (max-width: 575px) {
    .soc-ui-config-card-v2 {
        aspect-ratio: auto;
        min-height: 180px;
        max-height: none;
    }
}

@media (max-width: 991px) {
    .soc-ui-page-title {
        font-size: 24px;
    }

    .soc-ui-kpi-value {
        font-size: 26px;
    }
}


/* ========== sesiones ========== */
/*
 * Sesiones — estilos del modulo Sesiones (vista participante, etc.).
 */

/* ---------- Sesion participante vista ---------- */
.session-participant-view-page.coaches-page {
    max-width: 100%;
}

/* Tarjeta de fechas debajo del encabezado */
.session-participant-view-page .spv-dates-card {
    margin-bottom: 0;
}

.session-participant-view-page .spv-dates-card .soc-ui-panel-head {
    padding: 14px 20px;
    border-bottom: 1px solid #f2f4f7;
}

.session-participant-view-page .spv-dates-card .soc-ui-panel-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 1rem;
}

.session-participant-view-page .spv-dates-card__body {
    padding: 16px 20px 18px;
}

.session-participant-view-page .spv-dates-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 20px 12px;
    text-align: center;
    color: #667085;
    background: #f9fafb;
    border: 1px dashed #e4e7ec;
    border-radius: 10px;
}

.session-participant-view-page .spv-dates-empty i {
    font-size: 28px;
    color: #98a2b3;
    line-height: 1;
}

.session-participant-view-page .spv-dates-empty p {
    margin: 0;
    font-size: 14px;
}

.session-participant-view-page .spv-dates-single {
    padding: 12px 14px;
    border: 1px solid #eaecf0;
    border-radius: 10px;
    background: #ffffff;
}

.session-participant-view-page .spv-dates-line {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px;
    font-size: 13px;
    color: #667085;
}

.session-participant-view-page .spv-dates-line strong {
    color: #344054;
    font-weight: 600;
    font-size: 14px;
}

.session-participant-view-page .spv-dates-accordion {
    border: 1px solid #eaecf0;
    border-radius: 10px;
    overflow: hidden;
    background: #ffffff;
}

.session-participant-view-page .spv-dates-accordion__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 12px 14px;
    border: 0;
    background: #f9fafb;
    color: #344054;
    cursor: pointer;
    text-align: left;
    transition: background-color 0.2s ease;
}

.session-participant-view-page .spv-dates-accordion__toggle:hover {
    background: #f2f4f7;
}

.session-participant-view-page .spv-dates-accordion__toggle-text {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--verde-primario-soc);
}

.session-participant-view-page .spv-dates-accordion__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 7px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--verde-primario-soc) 12%, #ffffff);
    color: var(--verde-primario-soc);
    font-size: 12px;
    font-weight: 700;
}

.session-participant-view-page .spv-dates-accordion__hint {
    margin: 0;
    padding: 10px 14px 12px;
    border-top: 1px solid #f2f4f7;
}

.session-participant-view-page .spv-dates-list {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 220px;
    overflow-y: auto;
    border-top: 1px solid #f2f4f7;
}

.session-participant-view-page .spv-dates-list__item {
    padding: 10px 14px;
    border-bottom: 1px solid #f2f4f7;
}

.session-participant-view-page .spv-dates-list__item:last-child {
    border-bottom: none;
}

.session-participant-view-page .spv-dates-list__item:nth-child(even) {
    background: #fcfcfd;
}

/* Tabs principales: Sesión / Bitácora */
.session-participant-view-page .spv-view-tab-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    width: 100%;
    padding: 5px;
    margin: 0;
    background: #f4f4f1;
    border: 1px solid #e8eaed;
    border-radius: 10px;
    box-sizing: border-box;
}

.session-participant-view-page .spv-view-tab {
    flex: 0 1 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: #6b778c;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.session-participant-view-page .spv-view-tab i {
    font-size: 1rem;
    line-height: 1;
}

.session-participant-view-page .spv-view-tab:hover:not(.active) {
    color: var(--verde-primario-soc) !important;
}

.session-participant-view-page button.spv-view-tab.active {
    background: #ffffff;
    color: var(--verde-primario-soc) !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    font-weight: 700;
}

/* Bitácora embebida — mismos tabs/búsqueda/grid que módulo Bitácora */
.session-participant-view-page .spv-bitacora-panel .soc-ui-panel-head--tabs {
    flex-wrap: nowrap;
    gap: 16px;
    align-items: center;
}

.session-participant-view-page .spv-bitacora-panel .soc-ui-panel-head--tabs .soc-bitacora-tabs.soc-tab-strip {
    flex: 1 1 auto;
    min-width: 0;
}

.session-participant-view-page .spv-bitacora-panel .soc-bitacora-tabs.soc-tab-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    width: 100%;
    padding: 5px;
    margin: 0;
    background: #f4f4f1;
    border: 1px solid #e8eaed;
    border-radius: 10px;
    box-sizing: border-box;
}

.session-participant-view-page .spv-bitacora-panel .soc-bitacora-tab {
    flex: 0 1 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: #6b778c;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.session-participant-view-page .spv-bitacora-panel .soc-bitacora-tab:hover:not(.active) {
    color: var(--verde-primario-soc) !important;
}

.session-participant-view-page .spv-bitacora-panel button.soc-bitacora-tab.active {
    background: #ffffff;
    color: var(--verde-primario-soc) !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    font-weight: 700;
}

.session-participant-view-page .spv-bitacora-panel .soc-bitacora-tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    opacity: 0.85;
}

.session-participant-view-page .spv-bitacora-panel button.soc-bitacora-tab.active .soc-bitacora-tab-count {
    background: transparent;
    color: #3d5c52 !important;
    opacity: 1;
}

.session-participant-view-page .spv-bitacora-panel .soc-bitacora-search {
    position: relative;
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

.session-participant-view-page .spv-bitacora-panel .soc-bitacora-search i {
    position: absolute;
    left: 10px;
    font-size: 1rem;
    color: var(--soc-cfg-placeholder-color);
    pointer-events: none;
}

.session-participant-view-page .spv-bitacora-panel .soc-bitacora-search input {
    height: 40px;
    padding: 0 12px 0 32px;
    border: 1px solid var(--soc-cfg-border);
    border-radius: 5px;
    background: var(--soc-cfg-surface-muted);
    color: var(--soc-cfg-input-text-color);
    font-size: 14px;
    line-height: 1.2;
    min-width: 280px;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.session-participant-view-page .spv-bitacora-panel .soc-bitacora-search input::placeholder {
    color: var(--soc-cfg-placeholder-color);
    font-size: var(--soc-cfg-placeholder-size);
}

.session-participant-view-page .spv-bitacora-panel .soc-bitacora-search input:focus {
    border-color: var(--verde-primario-soc);
    background: var(--soc-cfg-surface);
    box-shadow: 0 0 0 3px rgba(0, 109, 78, 0.12);
}

.session-participant-view-page .spv-bitacora-panel .soc-bitacora-empty {
    text-align: center;
    padding: 2.5rem 1rem;
    color: var(--soc-cfg-text-muted);
}

.session-participant-view-page .spv-bitacora-panel .soc-bitacora-empty i {
    display: block;
    margin-bottom: 8px;
    font-size: 2.5rem;
    color: var(--verde-primario-soc);
    opacity: 0.65;
}

.session-participant-view-page .spv-bitacora-panel .soc-bita-action {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: capitalize;
}

.session-participant-view-page .spv-bitacora-panel .soc-bita-action--create { background: #e8f5f0; color: var(--verde-primario-soc); }
.session-participant-view-page .spv-bitacora-panel .soc-bita-action--edit { background: #e8f0fa; color: var(--azul-primario-soc, #1d4ed8); }
.session-participant-view-page .spv-bitacora-panel .soc-bita-action--delete { background: #fde8e8; color: #b42318; }

.session-participant-view-page .spv-bitacora-panel .soc-bitacora-detail-btn {
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid var(--coral-soc);
    border-radius: 5px;
    background: #fff;
    color: var(--coral-soc);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.session-participant-view-page .spv-bitacora-panel .soc-bitacora-detail-btn:hover {
    background: var(--coral-soc);
    border-color: var(--coral-soc);
    color: #fff;
}

@media (max-width: 992px) {
    .session-participant-view-page .spv-bitacora-panel .soc-ui-panel-head--tabs {
        flex-wrap: wrap;
    }

    .session-participant-view-page .spv-bitacora-panel .soc-bitacora-search,
    .session-participant-view-page .spv-bitacora-panel .soc-bitacora-search input {
        width: 100%;
        min-width: 0;
    }
}

.session-participant-view-page .spv-header-panel .soc-ui-panel-body {
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.session-participant-view-page .spv-header-fields.row {
    --bs-gutter-x: 0.75rem;
    --bs-gutter-y: 0.5rem;
}

.session-participant-view-page .spv-header-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--soc-cfg-border);
    flex-wrap: wrap;
}

.session-participant-view-page .spv-header-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.session-participant-view-page .spv-active-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 400;
    font-size: var(--soc-cfg-input-font-size);
    color: var(--soc-cfg-input-text-color);
}

/* Switch activo: verde marca (no rojo/rosa Telerik por defecto) */
.session-participant-view-page .k-switch-on .k-switch-track,
.session-participant-view-page .k-switch.k-switch-on.k-disabled .k-switch-track,
.coaches-page .k-switch.k-switch-on .k-switch-track,
.coaches-page .k-switch.k-switch-on.k-disabled .k-switch-track,
.calificar-actividades-page .k-switch.k-switch-on .k-switch-track,
.calificar-actividades-page .k-switch.k-switch-on.k-disabled .k-switch-track {
    background-color: var(--verde-primario-soc) !important;
    border-color: var(--verde-primario-soc) !important;
}

.session-participant-view-page .k-switch-on:focus .k-switch-track,
.session-participant-view-page .k-switch-on:hover .k-switch-track,
.coaches-page .k-switch.k-switch-on:focus .k-switch-track,
.coaches-page .k-switch.k-switch-on:hover .k-switch-track,
.coaches-page .k-switch.k-switch-on.k-disabled .k-switch-track,
.calificar-actividades-page .k-switch.k-switch-on:focus .k-switch-track,
.calificar-actividades-page .k-switch.k-switch-on:hover .k-switch-track,
.calificar-actividades-page .k-switch.k-switch-on.k-disabled .k-switch-track {
    background-color: color-mix(in srgb, var(--verde-primario-soc) 85%, #000) !important;
    border-color: color-mix(in srgb, var(--verde-primario-soc) 85%, #000) !important;
}

.coaches-page .k-switch.k-switch-on .k-switch-label-on,
.calificar-actividades-page .k-switch.k-switch-on .k-switch-label-on {
    color: #ffffff !important;
}

/* Calificar actividades — estrellas compactas (verde secundario SOC) */
.calificar-actividades-page .soc-ui-panel-head--split {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.calificar-actividades-page .ca-panel-actions,
.calificar-actividades-page .ca-activities-panel .soc-config-subpage-title-card__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;
    flex-shrink: 0;
}

/* DatePicker en grid — botón calendario verde SOC */
.calificar-actividades-page .soc-ui-panel--grid .k-datepicker,
.calificar-actividades-page .soc-ui-panel--grid .k-picker {
    display: inline-flex !important;
    align-items: stretch;
    width: 100% !important;
    max-width: 100%;
    min-height: 36px;
    height: 36px;
    overflow: visible;
}

.calificar-actividades-page .soc-ui-panel--grid .k-picker .k-input {
    display: inline-flex !important;
    flex: 1 1 auto;
    min-width: 0;
    height: 36px;
    width: auto !important;
}

.calificar-actividades-page .soc-ui-panel--grid .k-input-inner {
    height: 36px !important;
    min-height: 36px !important;
    padding: 6px 10px !important;
    border-radius: 5px 0 0 5px !important;
    border-color: var(--soc-cfg-border) !important;
    background: #ffffff !important;
    color: var(--soc-cfg-input-text-color) !important;
    font-size: 13px !important;
    box-sizing: border-box;
}

.calificar-actividades-page .soc-ui-panel--grid .k-input-inner:focus,
.calificar-actividades-page .soc-ui-panel--grid .k-input-inner.k-focus {
    border-color: var(--verde-primario-soc) !important;
    box-shadow: 0 0 0 3px rgba(0, 109, 78, 0.12) !important;
    background: #ffffff !important;
}

.calificar-actividades-page .soc-ui-panel--grid .k-input-button,
.calificar-actividades-page .soc-ui-panel--grid .k-datepicker-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px;
    min-width: 36px;
    height: 36px;
    border-radius: 0 5px 5px 0 !important;
    background: var(--verde-primario-soc) !important;
    background-color: var(--verde-primario-soc) !important;
    border: 1px solid var(--verde-primario-soc) !important;
    border-color: var(--verde-primario-soc) !important;
    color: #fff !important;
}

.calificar-actividades-page .soc-ui-panel--grid .k-input-button .k-icon,
.calificar-actividades-page .soc-ui-panel--grid .k-datepicker-button .k-icon,
.calificar-actividades-page .soc-ui-panel--grid .k-input-button .k-svg-icon,
.calificar-actividades-page .soc-ui-panel--grid .k-datepicker-button .k-svg-icon,
.calificar-actividades-page .soc-ui-panel--grid .k-input-button .k-svg-icon svg,
.calificar-actividades-page .soc-ui-panel--grid .k-datepicker-button .k-svg-icon svg,
.calificar-actividades-page .soc-ui-panel--grid .k-input-button .k-svg-icon path,
.calificar-actividades-page .soc-ui-panel--grid .k-datepicker-button .k-svg-icon path {
    fill: #fff !important;
    color: #fff !important;
}

.calificar-actividades-page .soc-ui-panel--grid .k-input-button:hover:not(:disabled),
.calificar-actividades-page .soc-ui-panel--grid .k-datepicker-button:hover:not(:disabled) {
    background: var(--verde-primario-soc) !important;
    background-color: var(--verde-primario-soc) !important;
    border-color: var(--verde-primario-soc) !important;
}

.calificar-actividades-page .ca-rating-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.calificar-actividades-page .ca-rating-value {
    font-weight: 700;
    font-size: 12px;
    color: var(--verde-primario-soc);
    white-space: nowrap;
}

.calificar-actividades-page .ca-rating-wrap .k-rating,
.calificar-actividades-page .ca-rating-wrap .ca-rating-stars {
    gap: 0;
    line-height: 1;
    font-size: 13px;
}

.calificar-actividades-page .ca-rating-wrap .k-rating .k-rating-item {
    padding: 0 1px;
}

.calificar-actividades-page .ca-rating-wrap .k-rating .k-rating-item .k-icon,
.calificar-actividades-page .ca-rating-wrap .k-rating .k-rating-item .k-svg-icon,
.calificar-actividades-page .ca-rating-wrap .k-rating .k-rating-item .k-svg-icon svg {
    width: 13px !important;
    height: 13px !important;
    font-size: 13px !important;
}

.calificar-actividades-page .ca-rating-wrap .k-rating .k-rating-item .k-icon,
.calificar-actividades-page .ca-rating-wrap .k-rating .k-rating-item .k-svg-icon,
.calificar-actividades-page .ca-rating-wrap .k-rating .k-rating-item .k-svg-icon path,
.calificar-actividades-page .ca-rating-wrap .k-rating .k-rating-item .k-svg-icon svg {
    color: #d0d5dd !important;
    fill: #d0d5dd !important;
}

.calificar-actividades-page .ca-rating-wrap .k-rating .k-rating-item.k-selected .k-icon,
.calificar-actividades-page .ca-rating-wrap .k-rating .k-rating-item.k-hover .k-icon,
.calificar-actividades-page .ca-rating-wrap .k-rating .k-rating-item.k-selected .k-svg-icon,
.calificar-actividades-page .ca-rating-wrap .k-rating .k-rating-item.k-hover .k-svg-icon,
.calificar-actividades-page .ca-rating-wrap .k-rating .k-rating-item.k-selected .k-svg-icon path,
.calificar-actividades-page .ca-rating-wrap .k-rating .k-rating-item.k-hover .k-svg-icon path,
.calificar-actividades-page .ca-rating-wrap .k-rating .k-rating-item.k-selected .k-svg-icon svg,
.calificar-actividades-page .ca-rating-wrap .k-rating .k-rating-item.k-hover .k-svg-icon svg,
.calificar-actividades-page .ca-rating-wrap .k-rating .k-rating-item[aria-checked="true"] .k-svg-icon,
.calificar-actividades-page .ca-rating-wrap .k-rating .k-rating-item[aria-checked="true"] .k-svg-icon path,
.calificar-actividades-page .ca-rating-wrap .k-rating .k-rating-item[aria-checked="true"] .k-svg-icon svg,
.calificar-actividades-page .ca-rating-wrap .k-rating .k-rating-item[aria-checked="true"] .k-icon {
    color: var(--verde-secundario-soc) !important;
    fill: var(--verde-secundario-soc) !important;
}

.session-participant-view-page .spv-top-row {
    --bs-gutter-x: 1.25rem;
    --bs-gutter-y: 1rem;
}

.session-participant-view-page .spv-top-row > [class*="col-"] {
    display: flex;
    flex-direction: column;
}

.session-participant-view-page .spv-top-row .coaches-form-panel.spv-header-panel,
.session-participant-view-page .spv-top-row .coaches-form-panel.spv-dates-panel {
    height: 100%;
    min-height: 100%;
    flex: 1;
}

.session-participant-view-page .spv-top-row__session > .spv-header-panel,
.session-participant-view-page .spv-top-row__dates > .spv-dates-panel {
    height: 100%;
}

.session-participant-view-page .spv-dates-panel {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.session-participant-view-page .spv-dates-panel__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 7px;
    margin-left: 8px;
    border-radius: 999px;
    background: var(--soc-cfg-accent-soft);
    color: var(--verde-primario-soc);
    font-size: 12px;
    font-weight: 600;
}

.session-participant-view-page .spv-dates-panel__body {
    display: flex;
    flex-direction: column;
    gap: 0;
    flex: 1;
}

.session-participant-view-page .spv-dates-block--registered {
    padding-bottom: 12px;
}

.session-participant-view-page .spv-dates-block--register {
    padding-top: 12px;
    border-top: 1px solid var(--soc-cfg-border);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.session-participant-view-page .spv-dates-register-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--soc-cfg-border);
}

.session-participant-view-page .spv-dates-register-actions .btn-soc-primary {
    width: auto;
    min-width: 0;
    flex-shrink: 0;
}

.session-participant-view-page .spv-participants-panel--full {
    width: 100%;
    min-width: 0;
}

.session-participant-view-page .spv-header-panel {
    display: flex;
    flex-direction: column;
}

.session-participant-view-page .spv-dates-panel .soc-ui-panel-body {
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.session-participant-view-page .soc-ui-panel--grid .k-grid-content td:has(.spv-row-actions) {
    overflow: visible !important;
    white-space: normal !important;
    vertical-align: middle !important;
}

/* Acciones por fila en grid de participantes */
.session-participant-view-page .spv-row-actions {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 2px 0;
}

.session-participant-view-page .btn-spv-grid-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 0;
    flex: 1 1 auto;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
    white-space: nowrap;
    border-radius: 5px;
    border: 1px solid transparent;
    background: #fff;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

/* Mostrar detalle: verde secundario (Pantone 2256 C) */
.session-participant-view-page .btn-spv-grid-action--green-light {
    border-color: var(--verde-claro-soc);
    color: var(--verde-claro-soc);
}

.session-participant-view-page .btn-spv-grid-action--green-light:hover:not(:disabled) {
    background: var(--verde-claro-soc);
    border-color: var(--verde-claro-soc);
    color: #fff;
}

/* Calificar: coral (Pantone 1645 C) */
.session-participant-view-page .btn-spv-grid-action--coral {
    border-color: var(--coral-soc);
    color: var(--coral-soc);
}

.session-participant-view-page .btn-spv-grid-action--coral:hover:not(:disabled) {
    background: var(--coral-soc);
    border-color: var(--coral-soc);
    color: #fff;
}

/* Meta: azul primario (Pantone 2192 C) */
.session-participant-view-page .btn-spv-grid-action--blue {
    border-color: var(--azul-primario-soc);
    color: var(--azul-primario-soc);
}

.session-participant-view-page .btn-spv-grid-action--blue:hover:not(:disabled) {
    background: var(--azul-primario-soc);
    border-color: var(--azul-primario-soc);
    color: #fff;
}

/* Fecha de registro */
.session-participant-view-page .spv-dates-register-field {
    margin-bottom: 0;
}

.session-participant-view-page .spv-dates-subtitle {
    color: var(--soc-cfg-input-text-color);
    font-size: var(--soc-cfg-input-font-size);
    font-weight: 600;
    margin: 0 0 8px;
}

@media (max-width: 767.98px) {
    .session-participant-view-page .spv-top-row__dates {
        margin-top: 0;
    }
}

.session-participant-view-page .spv-date-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.session-participant-view-page .spv-date-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid var(--soc-cfg-border);
}

.session-participant-view-page .spv-date-label {
    color: var(--soc-cfg-input-text-color);
    font-weight: 400;
    font-size: var(--soc-cfg-input-font-size);
}

.session-participant-view-page .spv-date-value {
    color: var(--soc-cfg-text);
    font-weight: 600;
    font-size: var(--soc-cfg-input-font-size);
}

.session-participant-view-page .spv-empty-text {
    color: var(--soc-cfg-placeholder-color);
    font-size: var(--soc-cfg-input-font-size);
    margin: 6px 0 0;
}

/* Modal detalle */
.session-participant-view-page .spv-detalle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid var(--soc-cfg-border);
}

.session-participant-view-page .spv-detalle-row span {
    color: var(--soc-cfg-input-text-color);
    font-size: var(--soc-cfg-input-font-size);
}

.session-participant-view-page .spv-detalle-row strong {
    color: var(--soc-cfg-text);
    font-size: var(--soc-cfg-input-font-size);
    font-weight: 600;
}

.session-participant-view-page .spv-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 16px;
}


/* ========== bitacora ========== */
/*
 * Bitacora — modulo Bitacora, linea grafica SOC.
 */

.bitacora-page {
    max-width: 100%;
}

/* Encabezado del listado: tabs izquierda + buscador derecha (mismo patrón que Configuración) */
.bitacora-page .soc-ui-panel-head--tabs {
    flex-wrap: nowrap;
    gap: 16px;
    align-items: center;
}

.bitacora-page .soc-ui-panel-head--tabs .soc-bitacora-tabs.soc-tab-strip {
    flex: 1 1 auto;
    min-width: 0;
}

.bitacora-page .soc-ui-panel-head--tabs .soc-sessions-toolbar {
    flex: 0 0 auto;
    margin-left: auto;
}

.bitacora-page .soc-ui-panel-head--tabs .soc-sessions-search input {
    min-width: 320px;
    width: 320px;
    max-width: 100%;
    background: #ffffff;
}

@media (max-width: 992px) {
    .bitacora-page .soc-ui-panel-head--tabs {
        flex-wrap: wrap;
    }

    .bitacora-page .soc-ui-panel-head--tabs .soc-sessions-toolbar {
        flex: 1 1 100%;
        margin-left: 0;
    }

    .bitacora-page .soc-ui-panel-head--tabs .soc-sessions-search,
    .bitacora-page .soc-ui-panel-head--tabs .soc-sessions-search input {
        width: 100%;
        min-width: 0;
    }
}

.bitacora-page .bitacora-header-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    --soc-bitacora-header-control-height: 40px;
}

.bitacora-page .bitacora-header-actions button.btn-soc-secondary {
    min-height: var(--soc-bitacora-header-control-height);
    box-sizing: border-box;
}

.bitacora-page .soc-bitacora-search {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.bitacora-page .soc-bitacora-search i {
    position: absolute;
    left: 10px;
    font-size: 1rem;
    color: var(--soc-cfg-placeholder-color);
    pointer-events: none;
}

.bitacora-page .soc-bitacora-search input {
    height: var(--soc-bitacora-header-control-height, 40px);
    padding: 0 12px 0 32px;
    border: 1px solid var(--soc-cfg-border);
    border-radius: 5px;
    background: var(--soc-cfg-surface-muted);
    color: var(--soc-cfg-input-text-color);
    font-size: 14px;
    line-height: 1.2;
    min-width: 280px;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.bitacora-page .soc-bitacora-search input::placeholder {
    color: var(--soc-cfg-placeholder-color);
    font-size: var(--soc-cfg-placeholder-size);
}

.bitacora-page .soc-bitacora-search input:focus {
    border-color: var(--verde-primario-soc);
    background: var(--soc-cfg-surface);
    box-shadow: 0 0 0 3px rgba(0, 109, 78, 0.12);
}

/* Tabs de filtro — barra gris claro, activo pill blanco */
.bitacora-page .soc-bitacora-tabs.soc-tab-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    width: 100%;
    padding: 5px;
    margin: 0;
    background: #f4f4f1;
    border: 1px solid #e8eaed;
    border-radius: 10px;
    box-sizing: border-box;
}

.bitacora-page .soc-bitacora-tab {
    flex: 0 1 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: #6b778c;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.bitacora-page .soc-bitacora-tab:hover:not(.active) {
    color: var(--verde-primario-soc) !important;
}

.bitacora-page button.soc-bitacora-tab.active {
    background: #ffffff;
    color: var(--verde-primario-soc) !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    font-weight: 700;
}

.bitacora-page .soc-bitacora-tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    opacity: 0.85;
}

.bitacora-page button.soc-bitacora-tab.active .soc-bitacora-tab-count {
    background: transparent;
    color: #3d5c52 !important;
    opacity: 1;
}

/* Grid — filas alternas gris #f5f5f5 (referencia) */
.bitacora-page .soc-ui-panel--grid .k-table-tbody .k-table-row:not(.k-table-alt-row) .k-table-td,
.bitacora-page .soc-ui-panel--grid .k-grid-content .k-table-row:not(.k-table-alt-row) .k-table-td,
.bitacora-page .soc-ui-panel--grid .k-table-tbody tr:not(.k-table-alt-row):not(.k-alt) td,
.bitacora-page .soc-ui-panel--grid .k-grid-content tr:not(.k-table-alt-row):not(.k-alt) td {
    background-color: #ffffff !important;
}

.bitacora-page .soc-ui-panel--grid .k-table-tbody .k-table-alt-row .k-table-td,
.bitacora-page .soc-ui-panel--grid .k-grid-content .k-table-alt-row .k-table-td,
.bitacora-page .soc-ui-panel--grid .k-table-tbody tr.k-table-alt-row td,
.bitacora-page .soc-ui-panel--grid .k-grid-content tr.k-table-alt-row td,
.bitacora-page .soc-ui-panel--grid .k-table-tbody tr.k-alt td,
.bitacora-page .soc-ui-panel--grid .k-grid-content tr.k-alt td {
    background-color: #f5f5f5 !important;
}

.bitacora-page .soc-ui-panel--grid .k-table-tbody .k-table-row:hover .k-table-td,
.bitacora-page .soc-ui-panel--grid .k-grid-content .k-table-row:hover .k-table-td,
.bitacora-page .soc-ui-panel--grid .k-table-tbody tr:hover td,
.bitacora-page .soc-ui-panel--grid .k-grid-content tr:hover td {
    background-color: #eef1f3 !important;
}

.bitacora-page .soc-ui-panel--grid .k-grid-content td,
.bitacora-page .soc-ui-panel--grid .k-table-tbody .k-table-td {
    color: #4a5568 !important;
}

.bitacora-page .soc-log-date,
.bitacora-page .soc-log-user,
.bitacora-page .soc-bita-values {
    font-size: var(--soc-cfg-input-font-size);
    color: #4a5568;
    font-weight: 600;
}

/* Estado vacio / carga */
.bitacora-page .soc-bitacora-empty {
    text-align: center;
    padding: 2.5rem 1rem;
    color: var(--soc-cfg-text-muted);
}

.bitacora-page .soc-bitacora-empty i {
    display: block;
    margin-bottom: 8px;
    font-size: 2.5rem;
    color: var(--verde-primario-soc);
    opacity: 0.65;
}

/* Badges accion */
.bitacora-page .soc-bita-action {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 5px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    background: var(--soc-cfg-surface-muted);
    color: var(--soc-cfg-text-muted);
}

.bitacora-page .soc-bita-action--create { background: #e8f5f0; color: var(--verde-primario-soc); }
.bitacora-page .soc-bita-action--edit { background: #e8f0fa; color: var(--azul-primario-soc, #1d4ed8); }
.bitacora-page .soc-bita-action--delete { background: #fde8e8; color: #b42318; }
.bitacora-page .soc-bita-action--restore { background: #fef3e8; color: #b45309; }
.bitacora-page .soc-bita-action--login { background: #eef6ff; color: #2563eb; }
.bitacora-page .soc-bita-action--logout { background: var(--soc-cfg-surface-muted); color: var(--soc-cfg-text-muted); }
.bitacora-page .soc-bita-action--export { background: #e8f8fc; color: #0e7490; }

/* Badges estado */
.bitacora-page .soc-bita-status {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 5px;
    font-size: 11px;
    font-weight: 600;
}

.bitacora-page .soc-bita-status--success { background: #e8f5f0; color: var(--verde-primario-soc); }
.bitacora-page .soc-bita-status--failed { background: #fde8e8; color: #b42318; }

.bitacora-page .soc-bita-record {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 12px;
    color: var(--soc-cfg-input-text-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    max-width: 100%;
}

.bitacora-page .soc-bitacora-detail-btn {
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid var(--coral-soc);
    border-radius: 5px;
    background: #fff;
    color: var(--coral-soc);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.bitacora-page .soc-bitacora-detail-btn:hover {
    background: var(--coral-soc);
    border-color: var(--coral-soc);
    color: #fff;
}

.bitacora-page .soc-bitacora-detail-btn .bx {
    font-size: 18px;
    line-height: 1;
}

/* Modal detalle — centrado en toda la pantalla */
.soc-bitacora-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1055;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    max-width: none;
    padding: 1.75rem;
    overflow-y: auto;
    box-sizing: border-box;
}

.soc-bitacora-modal-overlay .modal-dialog {
    margin: 0;
    max-width: 900px;
    width: 100%;
}

.soc-bitacora-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1050;
    background: rgba(0, 0, 0, 0.45);
    width: 100% !important;
    max-width: none !important;
}

.soc-bitacora-modal .modal-content {
    border-radius: 5px;
    border: 1px solid var(--soc-cfg-border);
    box-shadow: var(--soc-cfg-shadow-hover);
}

.soc-bitacora-modal .modal-header {
    border-bottom: 1px solid var(--soc-cfg-border);
    background: var(--soc-cfg-surface-muted);
}

.soc-bitacora-modal .modal-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--verde-primario-soc);
}

.soc-bitacora-modal .soc-detail-label {
    color: var(--soc-cfg-input-text-color);
    font-size: var(--soc-cfg-input-font-size);
    font-weight: 600;
}

.soc-bitacora-modal .soc-detail-row > span:last-child {
    color: var(--soc-cfg-text);
    font-size: var(--soc-cfg-input-font-size);
}

/* Badges también visibles dentro del modal */
.soc-bitacora-modal .soc-bita-action {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 5px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    background: var(--soc-cfg-surface-muted);
    color: var(--soc-cfg-text-muted);
}

.soc-bitacora-modal .soc-bita-action--create { background: #e8f5f0; color: var(--verde-primario-soc); }
.soc-bitacora-modal .soc-bita-action--edit { background: #e8f0fa; color: var(--azul-primario-soc, #1d4ed8); }
.soc-bitacora-modal .soc-bita-action--delete { background: #fde8e8; color: #b42318; }
.soc-bitacora-modal .soc-bita-action--restore { background: #fef3e8; color: #b45309; }
.soc-bitacora-modal .soc-bita-action--login { background: #eef6ff; color: #2563eb; }
.soc-bitacora-modal .soc-bita-action--logout { background: var(--soc-cfg-surface-muted); color: var(--soc-cfg-text-muted); }
.soc-bitacora-modal .soc-bita-action--export { background: #e8f8fc; color: #0e7490; }

.soc-bitacora-modal .soc-bita-status {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 5px;
    font-size: 11px;
    font-weight: 600;
}

.soc-bitacora-modal .soc-bita-status--success { background: #e8f5f0; color: var(--verde-primario-soc); }
.soc-bitacora-modal .soc-bita-status--failed { background: #fde8e8; color: #b42318; }

/* Footer y botones — linea SOC (verde, 5px; el modal queda fuera de .coaches-page) */
.soc-bitacora-modal .modal-footer {
    border-top: 1px solid var(--soc-cfg-border);
    padding: 12px 20px;
    background: var(--soc-cfg-surface);
}

.soc-bitacora-modal button.btn-soc-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 7px 16px !important;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    border-radius: 5px !important;
    background-color: #fff !important;
    border: 1px solid var(--soc-brand-green) !important;
    color: var(--soc-brand-green) !important;
    box-shadow: none !important;
    cursor: pointer;
    transition: all 300ms cubic-bezier(0.250, 0.250, 0.750, 0.750);
}

.soc-bitacora-modal button.btn-soc-secondary:hover:not(:disabled) {
    background-color: var(--soc-brand-green) !important;
    border-color: var(--soc-brand-green) !important;
    color: #fff !important;
}

.soc-bitacora-modal button.btn-soc-secondary:focus-visible {
    outline: 2px solid var(--soc-brand-green) !important;
    outline-offset: 2px;
    box-shadow: none !important;
}


/* ========== alerts ========== */
/* Alertas de página: mismas clases Bootstrap, presentación flotante arriba-derecha */
.navigation-items-page > .alert,
.coaches-page-stack > .alert,
.home-coaching > .alert {
    position: fixed;
    top: calc(var(--header-height, 3rem) + 8px);
    right: 8px;
    bottom: auto;
    width: auto;
    min-width: 320px;
    max-width: min(520px, calc(100vw - 10px));
    margin: 0 !important;
    padding: 14px 20px 16px;
    border-radius: 5px;
    border-width: 1px;
    border-left-width: 4px;
    box-shadow:
        0 10px 28px rgba(15, 23, 42, 0.12),
        0 2px 8px rgba(15, 23, 42, 0.06);
    z-index: 10050;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.45;
    animation: soc-page-alert-in 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

body:has(.soc-app-shell) .navigation-items-page > .alert,
body:has(.soc-app-shell) .coaches-page-stack > .alert,
body:has(.soc-app-shell) .home-coaching > .alert {
    top: calc(var(--soc-shell-outer-padding, 8px) + 68px + 8px);
    right: 10px;
}

.navigation-items-page > .alert.alert-info,
.coaches-page-stack > .alert.alert-info,
.home-coaching > .alert.alert-info {
    border-left-color: var(--azul-primario-soc);
    background: #f0f9ff;
    color: #0c4a6e;
}

.navigation-items-page > .alert.alert-success,
.coaches-page-stack > .alert.alert-success,
.home-coaching > .alert.alert-success {
    border-color: var(--color-verdeSecundario);
    border-left-color: var(--color-verdeSecundario);
    background: color-mix(in srgb, var(--color-verdeSecundario) 12%, #ffffff);
    color: color-mix(in srgb, var(--color-verdeSecundario) 75%, #0a2018);
    animation:
        soc-page-alert-in 0.28s cubic-bezier(0.22, 1, 0.36, 1),
        soc-page-alert-hide 7s forwards;
}

.navigation-items-page > .alert.alert-danger,
.coaches-page-stack > .alert.alert-danger,
.home-coaching > .alert.alert-danger {
    border-left-color: var(--colorRojoSoc);
    background: #fff5f5;
    color: #7f1d1d;
    animation:
        soc-page-alert-in 0.28s cubic-bezier(0.22, 1, 0.36, 1),
        soc-page-alert-hide 7s forwards;
}

.navigation-items-page > .alert.alert-warning,
.coaches-page-stack > .alert.alert-warning,
.home-coaching > .alert.alert-warning {
    border-left-color: var(--coral-soc);
    background: #fff7ed;
    color: #7c2d12;
    animation:
        soc-page-alert-in 0.28s cubic-bezier(0.22, 1, 0.36, 1),
        soc-page-alert-hide 7s forwards;
}

/* Las alertas dentro de formularios/grids se mantienen inline */
.alert.alert--inline {
    position: static !important;
    width: 100% !important;
    max-width: none !important;
    box-shadow: none !important;
    animation: none !important;
    margin: 0 !important;
}

@keyframes soc-page-alert-in {
    from {
        opacity: 0;
        transform: translateX(12px) translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateX(0) translateY(0);
    }
}

@keyframes soc-page-alert-hide {
    0%, 86% {
        opacity: 1;
        visibility: visible;
    }
    100% {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
}

/* =========================================================
   APP SHELL v2 + TOP NAV — propuesta SellPilot (solo visual)
   Colores: manual identidad SOC. Sin tocar lógica de menú.
========================================================= */

.header.soc-top-nav {
    --soc-top-nav-fg: var(--verde-primario-soc);
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    height: auto;
    min-height: 68px;
    margin: 0;
    padding: 14px 28px 14px 24px !important;
    background: #ffffff !important;
    border-bottom: 1px solid #eaecf0 !important;
    box-shadow: none !important;
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 10;
    box-sizing: border-box;
}

.soc-top-nav__menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid #e4e7ec;
    border-radius: 10px;
    background: #ffffff;
    color: var(--soc-top-nav-fg);
    cursor: pointer;
    flex-shrink: 0;
}

.soc-top-nav__menu-btn:hover {
    background: #f4f6f8;
}

.soc-top-nav__menu-btn i {
    font-size: 24px;
}

.soc-top-nav__search {
    flex: 1;
    min-width: 0;
    max-width: 560px;
    position: relative;
    display: none;
}

.soc-top-nav__search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: #98a2b3;
    pointer-events: none;
}

.soc-top-nav__search-input {
    width: 100%;
    height: 44px;
    padding: 0 18px 0 44px;
    border: 1px solid #e4e7ec;
    border-radius: 9999px;
    background: #f4f6f8;
    color: #101828;
    font-family: Nunito, sans-serif;
    font-size: 14px;
    box-sizing: border-box;
}

.soc-top-nav__search-input::placeholder {
    color: #98a2b3;
}

.soc-top-nav__search-input:focus {
    outline: none;
    border-color: color-mix(in srgb, var(--verde-primario-soc) 35%, #c5d5cf);
    background: #ffffff;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--verde-primario-soc) 10%, transparent);
}

.soc-top-nav__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
    flex-shrink: 0;
}

.soc-top-nav__profile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 18px 6px 6px;
    border: 1px solid #e4e7ec;
    border-radius: 9999px;
    background: #f4f6f8;
}

.soc-top-nav__avatar-wrap {
    position: relative;
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.soc-top-nav__avatar {
    position: relative;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    box-sizing: border-box;
    border: 2px solid var(--verde-claro-soc);
}

.soc-top-nav__avatar--placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--verde-primario-soc);
    color: #ffffff;
}

.soc-top-nav__avatar--placeholder i {
    font-size: 20px;
    line-height: 1;
}

.soc-top-nav__avatar.soc-user-photo {
    background: var(--verde-primario-soc);
}

.soc-top-nav__profile-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    line-height: 1.15;
}

.soc-top-nav__profile-name {
    font-size: 15px;
    font-weight: 700;
    color: #1a1f2e;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
}

.soc-top-nav__profile-role {
    font-size: 12px;
    font-weight: 400;
    color: #8b939e;
}

.header.soc-top-nav .header-icon-btn,
.header.soc-top-nav .soc-top-nav__logout {
    color: var(--soc-top-nav-fg) !important;
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

.header.soc-top-nav .header-icon-btn:hover,
.header.soc-top-nav .soc-top-nav__logout:hover {
    background: color-mix(in srgb, var(--verde-primario-soc) 8%, #ffffff) !important;
}

.soc-app-shell {
    --soc-shell-sidebar-width: 248px;
    --soc-shell-main-inset-x: 10px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    height: 100vh;
    padding: var(--soc-shell-outer-padding);
    box-sizing: border-box;
    overflow: hidden;
    background: var(--soc-shell-outer-bg);
}

.soc-app-frame {
    display: flex;
    align-items: stretch;
    gap: var(--soc-shell-frame-gap);
    flex: 1;
    min-height: 0;
    width: 100%;
    overflow: hidden;
    transition: gap var(--soc-shell-sidebar-transition-duration) var(--soc-shell-sidebar-transition-easing);
}

.soc-app-frame:not(.soc-app-frame--sidebar-open) {
    gap: 0;
}

.soc-app-main {
    flex: 1;
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    background: var(--soc-shell-page-bg);
    border-radius: var(--soc-shell-panel-radius);
    overflow: hidden;
    border: 1px solid #eaecf0;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.soc-app-shell .l-navbar {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    flex: 0 0 auto;
    width: var(--soc-shell-sidebar-width) !important;
    max-width: 0;
    min-width: 0;
    align-self: stretch;
    height: 100% !important;
    padding: 0 !important;
    overflow: hidden;
    transition:
        max-width var(--soc-shell-sidebar-transition-duration) var(--soc-shell-sidebar-transition-easing),
        box-shadow var(--soc-shell-sidebar-transition-duration) var(--soc-shell-sidebar-transition-easing),
        opacity calc(var(--soc-shell-sidebar-transition-duration) * 0.8) ease;
    background: linear-gradient(
        180deg,
        color-mix(in srgb, var(--verde-primario-soc) 88%, #042a1f) 0%,
        var(--verde-primario-soc) 48%,
        color-mix(in srgb, var(--verde-primario-soc) 92%, #003d2c) 100%
    ) !important;
    border-radius: var(--soc-shell-sidebar-radius);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 16px rgba(16, 24, 40, 0.08);
}

.soc-app-shell .soc-sidebar-logo,
.soc-app-shell .l-navbar .nav_name,
.soc-app-shell .l-navbar .nav_arrow {
    transition:
        opacity calc(var(--soc-shell-sidebar-transition-duration) * 0.7) ease,
        transform calc(var(--soc-shell-sidebar-transition-duration) * 0.7) ease,
        max-width var(--soc-shell-sidebar-transition-duration) var(--soc-shell-sidebar-transition-easing);
}

.soc-app-shell .l-navbar:not(.show) .soc-sidebar-logo,
.soc-app-shell .l-navbar:not(.show) .nav_name,
.soc-app-shell .l-navbar:not(.show) .nav_arrow {
    opacity: 0;
    width: auto;
    max-width: 0;
    overflow: hidden;
    pointer-events: none;
    transform: translateX(-6px);
}

.soc-app-shell .soc-app-frame--sidebar-open .l-navbar {
    max-width: var(--soc-shell-sidebar-width);
}

.soc-app-shell .l-navbar.show {
    left: auto !important;
}

.soc-app-shell .nav {
    width: var(--soc-shell-sidebar-width);
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    padding-bottom: 16px;
}

.soc-sidebar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 14px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    min-height: 64px;
    overflow: hidden;
}

.soc-sidebar-toggle,
.soc-sidebar-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color 0.2s ease, transform var(--soc-shell-sidebar-transition-duration) var(--soc-shell-sidebar-transition-easing);
}

.soc-sidebar-toggle:hover,
.soc-sidebar-close:hover {
    background: rgba(255, 255, 255, 0.18);
}

.soc-sidebar-logo {
    height: 36px;
    max-height: 36px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    flex: 0 1 auto;
    min-width: 0;
    filter: brightness(0) invert(1);
}

.soc-sidebar-close--mobile {
    margin-left: auto;
}

.soc-app-shell .l-navbar .nav_list {
    padding: 14px 14px 0;
}

.soc-app-shell .l-navbar .nav_list > .nav_item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    margin-bottom: 2px;
}

.soc-app-shell .l-navbar .nav_list > .nav_item:last-child {
    border-bottom: none;
}

.soc-app-shell .nav-section-divider {
    display: none;
}

.soc-app-shell .l-navbar .nav_list > .nav_item > .nav_link,
.soc-app-shell .l-navbar .nav_list > .nav_item > .nav_link_toggle {
    width: 100% !important;
    min-height: 42px !important;
    height: 42px !important;
    padding: 0 12px !important;
    margin: 0 !important;
    border-radius: 8px !important;
    box-sizing: border-box;
}

.soc-app-shell .l-navbar .nav_icon,
.soc-app-shell .l-navbar .nav_name {
    color: #ffffff !important;
}

.soc-app-shell .l-navbar .nav_link:hover:not(.active),
.soc-app-shell .l-navbar .nav_link_toggle:hover:not(.active) {
    background: var(--soc-nav-hover-bg) !important;
}

.soc-app-shell .l-navbar a.nav_link.active {
    background: var(--soc-nav-active-bg) !important;
    color: var(--soc-nav-active-fg) !important;
    font-weight: 700;
}

.soc-app-shell .l-navbar a.nav_link.active .nav_icon,
.soc-app-shell .l-navbar a.nav_link.active .nav_name {
    color: var(--soc-nav-active-fg) !important;
    font-weight: 700 !important;
}

.soc-app-shell .main-content,
.soc-app-shell #body-pd,
.soc-app-shell #body-pd.body-pd {
    margin-top: 0 !important;
    flex: 1;
    min-height: 0 !important;
    overflow-y: auto;
    background: var(--soc-shell-page-bg) !important;
    padding: 8px var(--soc-shell-main-inset-x) 12px !important;
}

/* El padding lateral legacy de .navigation-items-page sumaba ~20px por lado */
.soc-app-shell .navigation-items-page,
.soc-app-shell .navigation-items-page.soc-ui-module,
.soc-app-shell .navigation-items-page.soc-config-page {
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-bottom: 12px;
}

.soc-app-shell .soc-ui-panel {
    background: var(--soc-shell-card-bg);
    border: 1px solid #eaecf0;
    border-radius: 12px;
    box-shadow: var(--soc-shell-card-shadow);
}

.soc-app-shell .soc-ui-panel-head {
    border-bottom: 1px solid #f2f4f7;
    padding: 18px 24px;
}

.soc-app-shell .home-coaching {
    gap: 20px;
}

.soc-app-shell .home-coaching-panels {
    gap: 20px;
}

.soc-app-shell .home-coaching-mes-kpi {
    border-radius: 16px;
    border: none;
    box-shadow: 0 12px 28px rgba(16, 24, 40, 0.16);
}

.soc-app-shell ~ .soc-sidebar-fab,
body:has(.soc-app-shell) .soc-sidebar-fab {
    display: none;
}

.soc-app-shell #body-pd:has(.soc-not-found),
.soc-app-shell .main-content:has(.soc-not-found) {
    padding: 0 !important;
    overflow: hidden;
}

.soc-app-shell .soc-not-found {
    flex: 1;
    min-height: 0 !important;
    width: 100%;
    margin: 0;
    background: var(--soc-shell-page-bg);
}

.header-title,
.soc-page-heading-wrap,
.soc-page-heading {
    display: none !important;
}

@media (max-width: 992px) {
    .soc-top-nav__profile-text {
        display: none;
    }

    .soc-top-nav__profile {
        padding: 4px;
        border: 1px solid #e4e7ec;
        background: #f4f6f8;
    }

    .soc-top-nav__search {
        max-width: none;
    }
}

@media (max-width: 767px) {
    .soc-app-shell {
        padding: 0;
        --soc-shell-main-inset-x: 10px;
        --soc-shell-frame-gap: 0;
    }

    .soc-app-main {
        border-radius: 0;
        border: none;
        box-shadow: none;
    }

    .soc-app-shell .l-navbar {
        position: absolute !important;
        left: 0 !important;
        top: 0 !important;
        bottom: 0 !important;
        z-index: 200;
        max-width: none !important;
        width: var(--soc-shell-sidebar-width) !important;
        transform: translateX(-100%);
        pointer-events: none;
        transition: transform var(--soc-shell-sidebar-transition-duration) var(--soc-shell-sidebar-transition-easing);
    }

    .soc-app-shell .soc-app-frame--sidebar-open .l-navbar {
        transform: translateX(0);
        pointer-events: auto;
        box-shadow: 4px 0 20px rgba(0, 0, 0, 0.18) !important;
    }

    .soc-sidebar-close--mobile {
        display: inline-flex;
    }
}

@media (min-width: 768px) {
    .soc-sidebar-close--mobile {
        display: none;
    }
}

/* =========================================================
   Módulo listados — tablas limpias (shell nuevo, solo visual)
========================================================= */
.soc-app-shell .coaches-page.soc-ui-module .soc-ui-panel {
    border-color: #eaecf0;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.soc-app-shell .coaches-page .soc-ui-panel--grid .k-grid-header .k-table-thead > .k-table-row:first-child > .k-table-th,
.soc-app-shell .coaches-page .soc-ui-panel--grid .k-grid-header .k-table-thead > .k-table-row:first-child > th,
.soc-app-shell .coaches-page .soc-ui-panel--grid .k-grid-header thead > tr:first-child > th,
.soc-app-shell .coaches-page .soc-ui-panel--grid .k-grid-header thead > tr:first-child > .k-table-th {
    background: #f9fafb !important;
    background-color: #f9fafb !important;
    border-color: #eaecf0 !important;
    color: #475467 !important;
}

.soc-app-shell .coaches-page .soc-ui-panel--grid .k-grid-header .k-table-thead > .k-table-row:first-child .k-link,
.soc-app-shell .coaches-page .soc-ui-panel--grid .k-grid-header .k-table-thead > .k-table-row:first-child .k-column-title,
.soc-app-shell .coaches-page .soc-ui-panel--grid .k-grid-header thead > tr:first-child .k-link,
.soc-app-shell .coaches-page .soc-ui-panel--grid .k-grid-header thead > tr:first-child .k-column-title {
    color: #475467 !important;
    font-weight: 600 !important;
}

.soc-app-shell .coaches-page .soc-ui-panel--grid .k-grid-header .k-table-thead > .k-table-row:first-child .k-icon,
.soc-app-shell .coaches-page .soc-ui-panel--grid .k-grid-header .k-table-thead > .k-table-row:first-child .k-svg-icon,
.soc-app-shell .coaches-page .soc-ui-panel--grid .k-grid-header thead > tr:first-child .k-icon,
.soc-app-shell .coaches-page .soc-ui-panel--grid .k-grid-header thead > tr:first-child .k-svg-icon {
    color: #98a2b3 !important;
    fill: #98a2b3 !important;
}

.soc-app-shell .coaches-page .soc-ui-panel--grid .k-table-tbody tr:hover,
.soc-app-shell .coaches-page .soc-ui-panel--grid .k-grid-content tr:hover {
    background: #f9fafb !important;
}

/* ========== Input contraseña — mostrar/ocultar ========== */
.soc-password-input {
    position: relative;
    display: block;
    width: 100%;
}

.soc-password-input__field {
    width: 100%;
    padding-right: 2.75rem !important;
    box-sizing: border-box;
}

.soc-password-input__toggle {
    position: absolute;
    top: 50%;
    right: 6px;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: none;
    border-radius: 5px;
    background: transparent;
    color: #a8b0b4;
    cursor: pointer;
    transition: color 0.15s ease, background 0.15s ease;
}

.soc-password-input__toggle:hover {
    color: var(--verde-primario-soc);
    background: rgba(0, 109, 78, 0.08);
}

.soc-password-input__toggle:focus-visible {
    outline: 2px solid var(--verde-primario-soc);
    outline-offset: 1px;
}

.soc-password-input__toggle .bx {
    font-size: 1.125rem;
    line-height: 1;
}

.soc-login-field .soc-password-input__toggle {
    color: #8a959c;
}

.soc-login-field .soc-password-input__toggle:hover {
    color: #0f8868;
    background: rgba(15, 136, 104, 0.1);
}

/* ═══════════════════════════════════════════════════════════════════════════
   Detalle sesión participante — layout global (soc.css, no scoped)
   ═══════════════════════════════════════════════════════════════════════════ */

.detalle-session-page .dsp-section-title {
    color: var(--verde-primario-soc);
}

.detalle-session-page .dsp-header-panel-body {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 24px !important;
}

.detalle-session-page .dsp-header-fields.row {
    --bs-gutter-x: 1rem;
    --bs-gutter-y: 0.75rem;
}

.detalle-session-page .dsp-header-panel .soc-ui-field-label {
    margin-bottom: 6px;
    color: #4a5568;
    font-weight: 600;
    font-size: 13px;
}

.detalle-session-page .dsp-header-panel .form-control:disabled {
    background: var(--soc-cfg-surface-muted, #f5f7f6) !important;
    color: var(--soc-cfg-input-text-color, #565656) !important;
    opacity: 1 !important;
    cursor: default;
}

.detalle-session-page .dsp-header-actions-row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-end;
    gap: 12px;
    width: 100%;
    margin-top: 0;
}

.detalle-session-page .dsp-header-actions-row .soc-ui-field-stacked {
    margin-bottom: 0;
    min-width: 0;
}

.detalle-session-page .dsp-header-actions-row .soc-ui-field-label {
    margin-bottom: 6px;
    font-size: 12px;
    line-height: 1.25;
}

.detalle-session-page .dsp-header-field-active {
    flex: 0 0 96px;
    width: 96px;
}

.detalle-session-page .dsp-header-field-estatus,
.detalle-session-page .dsp-header-field-growth {
    flex: 1 1 0;
    min-width: 0;
    width: 0;
}

.detalle-session-page .dsp-header-active-toggle {
    min-height: var(--soc-cfg-control-height, 36px);
    align-items: center;
    font-weight: 400;
    font-size: var(--soc-cfg-input-font-size, 13px);
    color: var(--soc-cfg-input-text-color, #565656);
    white-space: nowrap;
}

.detalle-session-page .dsp-header-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex: 0 0 auto;
    width: auto;
    margin-left: auto;
    padding-bottom: 2px;
    white-space: nowrap;
}

.detalle-session-page .dsp-attendance-panel,
.detalle-session-page .dsp-header-panel {
    max-width: 100%;
    overflow: visible;
}

/* ── Sesiones registradas: sin scroll horizontal ── */
.detalle-session-page .dsp-attendance-panel-body {
    padding: 8px 24px 20px !important;
    overflow: visible;
    max-width: 100%;
}

.detalle-session-page .dsp-attendance-row {
    display: flex;
    align-items: flex-end;
    flex-wrap: nowrap;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 14px 0;
    border-bottom: 1px solid #edf1f3;
}

.detalle-session-page .dsp-attendance-row:last-child {
    border-bottom: none;
}

.detalle-session-page .dsp-attendance-row > * {
    min-width: 0;
    box-sizing: border-box;
}

.detalle-session-page .dsp-attendance-row .soc-ui-field-stacked {
    margin-bottom: 0;
}

.detalle-session-page .dsp-attendance-panel .soc-ui-field-label {
    margin-bottom: 4px;
    color: #4a5568;
    font-weight: 600;
    font-size: 12px;
    line-height: 1.25;
}

.detalle-session-page .dsp-attendance-field-date,
.detalle-session-page .dsp-attendance-field-new-date,
.detalle-session-page .dsp-attendance-toggle-field,
.detalle-session-page .dsp-attendance-comment {
    flex: 1 1 0;
    width: 0;
    min-width: 0;
    max-width: none;
}

.detalle-session-page .dsp-comment-preview {
    position: relative;
    display: block;
    width: 100%;
    min-height: var(--soc-cfg-control-height, 36px);
    height: var(--soc-cfg-control-height, 36px);
    padding: 0 40px 0 10px;
    text-align: left;
    background: #ffffff;
    border: 1px solid var(--soc-cfg-border, #e3e8eb);
    border-radius: 5px;
    cursor: pointer;
    box-sizing: border-box;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.detalle-session-page .dsp-comment-preview:hover {
    border-color: var(--verde-secundario-soc, #0fac78);
}

.detalle-session-page .dsp-comment-preview:focus {
    outline: none;
    border-color: var(--verde-secundario-soc, #0fac78);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--verde-secundario-soc, #0fac78) 28%, transparent);
}

.detalle-session-page .dsp-comment-preview-text {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: var(--soc-cfg-control-height, 36px);
    font-size: var(--soc-cfg-input-font-size, 13px);
    color: var(--soc-cfg-input-text-color, #565656);
}

.detalle-session-page .dsp-comment-preview.is-empty .dsp-comment-preview-text {
    color: #9ca3af;
    font-style: italic;
}

.detalle-session-page .dsp-comment-char-count {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 11px;
    font-weight: 600;
    color: #9ca3af;
    line-height: 1;
    pointer-events: none;
}

.detalle-session-page .dsp-attendance-toggle-field {
    text-align: center;
}

.detalle-session-page .dsp-attendance-toggle-field .soc-ui-field-label {
    text-align: center;
}

.detalle-session-page .dsp-attendance-active-toggle {
    min-height: var(--soc-cfg-control-height, 36px);
    align-items: center;
    justify-content: center;
    width: 100%;
    font-weight: 400;
    font-size: var(--soc-cfg-input-font-size, 13px);
    color: var(--soc-cfg-input-text-color, #565656);
}

.detalle-session-page .dsp-attendance-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    flex: 0 0 38px;
    width: 38px;
    min-width: 38px;
    padding-bottom: 2px;
}

.detalle-session-page button.btn-soc-secondary.dsp-save-icon-btn {
    width: 38px;
    height: 38px;
    min-width: 38px !important;
    padding: 0 !important;
    background-color: #ffffff !important;
    border: 1px solid var(--verde-secundario-soc, #0fac78) !important;
    color: var(--verde-secundario-soc, #0fac78) !important;
}

.detalle-session-page button.btn-soc-secondary.dsp-save-icon-btn .bx {
    color: var(--verde-secundario-soc, #0fac78) !important;
    font-size: 1.15rem;
}

.detalle-session-page button.btn-soc-secondary.dsp-save-icon-btn:hover:not(:disabled) {
    background-color: var(--verde-secundario-soc, #0fac78) !important;
    border-color: var(--verde-secundario-soc, #0fac78) !important;
    color: #ffffff !important;
}

.detalle-session-page button.btn-soc-secondary.dsp-save-icon-btn:hover:not(:disabled) .bx {
    color: #ffffff !important;
}

.detalle-session-page button.btn-soc-secondary.dsp-save-icon-btn:disabled {
    border-color: color-mix(in srgb, var(--verde-secundario-soc, #0fac78) 45%, #ffffff) !important;
    color: color-mix(in srgb, var(--verde-secundario-soc, #0fac78) 45%, #ffffff) !important;
    background-color: #ffffff !important;
    opacity: 1;
    cursor: not-allowed;
}

.detalle-session-page .dsp-row-ok { color: var(--verde-primario-soc); font-weight: 700; }
.detalle-session-page .dsp-row-err { color: var(--colorRojoSoc, #ff4f4f); font-weight: 700; }

.detalle-session-page .dsp-comment-modal-textarea {
    min-height: 220px;
    resize: vertical;
    padding-bottom: 28px;
}

.detalle-session-page .dsp-comment-modal-editor {
    position: relative;
}

.detalle-session-page .dsp-comment-modal-char-count {
    position: absolute;
    right: 12px;
    bottom: 10px;
}

@media (max-width: 768px) {
    .detalle-session-page .dsp-header-actions {
        justify-content: flex-start;
    }
}

/* Alerta de validación inline en modales */
.soc-ui-alert {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.875rem;
    margin-top: 8px;
}

.soc-ui-alert--error {
    background-color: #fef2f2;
    border: 1px solid #fca5a5;
    color: #b91c1c;
}

/* ── Botones de icono solo en filas de grids (ej. Calificar actividades) ─── */
button.ca-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border-radius: 8px;
    border: 1px solid var(--verde-primario-soc);
    background: #ffffff;
    color: var(--verde-primario-soc);
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}

button.ca-icon-btn .bx {
    font-size: 18px;
}

button.ca-icon-btn:hover {
    background: var(--verde-primario-soc);
    color: #ffffff;
}

button.ca-icon-btn.ca-icon-btn--danger {
    border-color: #d92d20;
    color: #d92d20;
}

button.ca-icon-btn.ca-icon-btn--danger:hover {
    background: #d92d20;
    border-color: #d92d20;
    color: #ffffff;
}

/* ── Chips de modelo y estatus en grids (SesionParticipanteVista + otras vistas) ── */
.spv-model-tag {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    white-space: nowrap;
    background: #e8f5e9;
    color: #1b5e20;
    border: 1px solid #a5d6a7;
}

.spv-estatus-chip {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    white-space: nowrap;
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.spv-estatus-chip--activo { background: #e8f5e9; color: #2e7d32; border-color: #a5d6a7; }
.spv-estatus-chip--graduado { background: #e3f2fd; color: #1565c0; border-color: #90caf9; }
.spv-estatus-chip--liberado { background: #f3e5f5; color: #6a1b9a; border-color: #ce93d8; }
.spv-estatus-chip--suspension-personal,
.spv-estatus-chip--suspensión-personal,
.spv-estatus-chip--suspension-operativa,
.spv-estatus-chip--suspensión-operativa { background: #fff3e0; color: #e65100; border-color: #ffcc80; }
.spv-estatus-chip--baja-de-programa { background: #ffebee; color: #b71c1c; border-color: #ef9a9a; }
