#container{
    /*    height: 100%;
        width: 100%;
        position: relative;
        padding: 0px;
        padding-left: 75px;
        padding-right: 15px;*/

    /*    position: fixed;
        top: 50px;
        left: 50px;*/
    width: calc(100vw - 50px);
    height: calc(100vh - 50px);
    margin-left: 50px;
    padding: 10px 15px 10px 15px;
    overflow: auto;

}

@media only screen and (max-width: 600px) {
    #container{
        width: 100%;
        margin-left: 0px;
        padding: 10px 10px 10px 10px;
    }
}

#contenido {
    height: 85%;
}


/* TITULOS PAGINA */
#boton-add {
    padding: 2px 10px;
    border-radius: 5px;
    vertical-align: bottom;
    height: 30px;
    margin-top: 5px;
}
/* END TITULOS PAGINA */


/* TITULOS VISTAS */
.view-header,
.view-header-form{
    display: flex;
}

.view-header #boton-add,
.view-header-form #volverbtn {
    padding: 2px 10px;
    border-radius: 2px;
    vertical-align: bottom;
    height: 26px;
    margin-top: 8px;
    font-size: 14px !important;
}

/* END TITULOS VISTAS */

/* VISTAS FORMULARIOS */
.views-exposed-form .form--inline{
    display: flex;
}
.views-exposed-form .form-actions{
    margin-top: 36px;
    padding: 2px 10px;
    border-radius: 2px;
    vertical-align: bottom;
    height: 30px;
    margin-top: 5px;
}

.views-exposed-form .form-actions .button{
    margin-top: 19px;
    padding: 2px 10px;
    border-radius: 2px;
    vertical-align: bottom;
    height: 27px;
}
/* END  VISTAS FORMULARIOS */


/* VISTAS */
.view-content table tr{
    vertical-align: middle;
}

/* END VISTAS */


/* ENTIDADES FICHAS */
.nav-tabs .nav-item .nav-link{
    border-radius: 0px;
    margin: 0px;
    border:none;
    border-right: 1px solid #a1a1a1;
    font-size: 14px;
    background-color: #d2d2d2;
    color: #2c2d2e;
}

.nav-tabs .nav-item .nav-link.active{
    background-color: #163554;
    color: #fff;
    border-radius: 0px;
    margin: 0px;
    font-size: 14px;
}

.nav-tabs .nav-item a {
    background-color: #d2d2d2;
    margin-right: 5px;
    color: #2c2d2e;
}

.tab-content {
    margin-top: 10px;
}

/* END ENTIDADES FICHAS */


/* PAGINA CONFIGURACION */
.configuracion-menu .panel{
    color: #000;
    margin-bottom: 15px;
    border: 1px solid #d3d4d9;
}

.configuracion-menu .panel_title{
    background-color: #163554;
    padding: 5px 10px;
    font-size: 20px;
    color: #fff;
    margin: 0px;
}
.configuracion-menu .panel_content{
    font-size: 16px;
    padding: 0px 20px;
    background-color: #fff;
}

.configuracion-menu .panel_content ul{
    list-style: none;
    padding: 0px;
    margin: 0px;
}

.configuracion-menu .panel_content ul li{
    border-bottom: 1px solid #d3d4d9;
    padding: 10px 0px;
}

.configuracion-menu .panel_content ul li:last-child{
    border-bottom: none;
}

.configuracion-menu .panel_content ul li a{
    text-decoration: none;
    color: #163554;
    font-weight: 500;
}

.configuracion-menu .panel_content ul li span{
    padding: 0px 30px;
    display: block;
    font-size: 14px;
    color: #55565b;
}

/* END PAGINA CONFIGURACION */

/* ICONOS */
.icono-medio,
.icono-accion{
    font-size: 20px;
    margin-right: 5px;
    padding: 0px;
    color:#163554;
}

.icono-medio:hover,
.icono-accion:hover{
    color:#18548c;
}

.icono-disable{
    color : #d3d3d3 !important;
    pointer-events: none !important;
}

/* END ICONOS */


/* BOTON VOLVER */
#volverbtn{
    border-radius: 2px !important;
    padding: 2px 10px;
    vertical-align: bottom;
}
/* END BOTON VOLVER */

/* VISTAS BOTONES ACCION */
.views-table.views-view-table .viewsactionbuttons{
    border: none;
    padding: 0px;
    margin: 0px;
    float: right;
}

.views-table.views-view-table .viewsactionbuttons tr,
.views-table.views-view-table .viewsactionbuttons td{
    padding: 0px;
    margin: 0px;
}

.views-table.views-view-table .viewsactionbuttons td{
    width:  35px;
    text-align: center;
}

/* END VISTAS BOTONES ACCION */


:root {
    --bg: #f4f6fb;
    --card: #ffffff;
    --text: #1f2937;
    --muted: #6b7280;
    --primary: #2563eb;
    --border: #e5e7eb;
    --radius: 14px;
    --shadow: 0 10px 25px rgba(0,0,0,0.06);
}

.cliente-page {
    background: var(--bg);
    padding: 24px;
    color: var(--text);
    font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

/* HEADER */
.cliente-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.cliente-header h2 {
    font-size: 22px;
    font-weight: 700;
}

/* CARD */
.cliente-card {
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 18px;
    margin-bottom: 18px;
}

.cliente-top {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 20px;
}

/* LOGO */
.cliente-logo img {
    width: 100%;
    border-radius: 12px;
    border: 1px solid var(--border);
}

/* BLOQUES */
.block {
    margin-bottom: 18px;
}

.block h6 {
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 5px;
}

/* GRID CAMPOS */
.grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.field {
    background: #fafafa;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px 12px;
    transition: all .2s ease;
}

.field:hover {
    border-color: #cbd5e1;
    background: #f9fafb;
}

.field.full {
    grid-column: span 4;
}

.field label {
    font-size: 11px;
    color: var(--muted);
    display: block;
    margin-bottom: 4px;
}

.field span {
    font-size: 14px;
    font-weight: 500;
}

/* TABS (SIN MODIFICAR HTML) */
.nav-tabs {
    border-bottom: 1px solid var(--border);
    margin-top: 10px;
}

.nav-tabs .nav-link {
    border: none;
    color: var(--muted);
    font-weight: 500;
    padding: 10px 14px;
}

.nav-tabs .nav-link.active {
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
    background: transparent;
}

/* TAB CONTENT */
.tab-content {
    background: var(--card);
    padding: 16px;
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: var(--shadow);
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .cliente-top {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 576px) {
    .grid {
        grid-template-columns: 1fr;
    }
}

/* =========================
   GRID MÁS INTELIGENTE
========================= */

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
    align-items: start;
}

/* =========================
   CAMPOS MÁS COMPACTOS
========================= */

.field {
    background: #fafafa;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 8px 10px;   /* 🔥 menos padding */
    transition: all .15s ease;
    min-height: 52px;    /* mantiene alineación visual */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.field:hover {
    border-color: #cbd5e1;
    background: #f9fafb;
    transform: translateY(-1px);
}

/* =========================
   LABEL + VALOR MÁS COMPACTO
========================= */

.field label {
    font-size: 10px;
    color: var(--muted);
    margin-bottom: 3px;
    letter-spacing: .02em;
}

.field span {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
    word-break: break-word;
}

/* =========================
   CAMPOS GRANDES CONTROLADOS
========================= */

.field.full {
    grid-column: 1 / -1;
}

/* =========================
   VARIANTES DE DENSIDAD (OPCIONAL)
========================= */

.field.compact {
    min-height: 44px;
    padding: 6px 8px;
}

.field.tiny span {
    font-size: 12px;
}



/* KIT DIGITAL */

.kit-digital{
    margin-top: 40px;
}

.kit-digital ul {
    padding: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.kit-digital li {
    list-style: none;
}

.kit-digital img {
    /*    margin: 0px 20px;*/
    /*width: 280px;*/
    /*height: 75px;*/
    height: 90px;
    margin-right: 20px;

}

@media (max-width: 565px) {
    .kit-digital img {
        margin: 0px 20px;
        width: 350px;
        height: auto;
    }
}