/* Celda ocupada en rojo */
.k-grid td.ocupada {
    background-color: #e74c3c; /* rojo intenso */
    color: white;
    text-align: center;
}

/* Celda lliure en verde */
.k-grid td.lliure {
    background-color: #2ecc71; /* verde */
    color: white;
    text-align: center;
}

/* Aplica negrita a todas las celdas de la fila */
.k-grid tr.fila-ocupada td {
    font-weight: bold;
}

#administracio-reserves-page {
    background-color: rgb(250, 250, 250);
    border-radius: 15px;
    padding: 10px;
}

@media(max-width: 767px) {
    #administracio-reserves-page{
        margin-top: 60px;
    }
}

/*#administracio-reserves-page #btn-validador {*/
/*    border-color: #c5c5c5;*/
/*    background-color: #eae8e8;*/
/*    padding: 4px 8px;*/
/*    box-sizing: border-box;*/
/*    border-radius: 4px;*/
/*}*/

#administracio-reserves-llotges-page {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

#administracio-reserves-llotges-page #box-title {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

#administracio-reserves-llotges-page #box-title .title-categoria {
    font-family: 'Founders Grotesk Regular';
    font-size: 20px;
    text-transform: uppercase;
}

#administracio-reserves-llotges-page #box-title .title-event {
    font-family: 'FoundersGrotesk';
    font-size: 66px;
    font-weight: bold;
    text-transform: uppercase;
    line-height: 43px;
    margin-top: 16px;
}

#administracio-reserves-llotges-page #box-title .subtitle-event {
    font-family: 'Founders Grotesk Light';
    color: #db0000;
    font-size: 20px;
}

#administracio-reserves-llotges-page .contenidor-event-detail {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 10px;
}

#administracio-reserves-llotges-page #box-resum-seleccio #btn-add-carrito-admin {
    background: #0fa761;
    padding: 11px 10px 7px 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: bold;
    cursor: pointer;
    font-family: 'Founders Grotesk Regular';
    font-size: 16px;
    line-height: 20px;
    margin-top: 5px;
}

#administracio-reserves-llotges-page .contenidor-event-detail > div:first-child {
    width: 40%;
    border-right: 1px solid grey;
}

#administracio-reserves-llotges-page .contenidor-event-detail > div:nth-child(2) {
    width: 60%;
}

#administracio-reserves-llotges-page .contenidor-event-detail .box-info-entrades {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0 15px 0 15px;
    font-size: 18px;
}

#administracio-reserves-llotges-page .contenidor-event-detail #box-info-entrades .box-entrada-taquilla {
    margin-bottom: 30px;
}

#administracio-reserves-llotges-page .contenidor-event-detail #box-info-entrades .box-entrada-taquilla .title-entrada {
    font-family: 'Founders Grotesk Condensed Bold';
    font-size: 22px;
}

#administracio-reserves-llotges-page .contenidor-event-detail #box-info-entrades .box-entrada-anticipada {
    margin-bottom: 30px;
}

#administracio-reserves-llotges-page .contenidor-event-detail #box-info-entrades .box-entrada-anticipada .title-entrada {
    font-family: 'Founders Grotesk Condensed Bold';
    font-size: 22px;
}

#administracio-reserves-llotges-page  #box-info-entrades .box-info-llotges {
    font-size: 18px;
}


#administracio-reserves-llotges-page  #box-info-entrades .box-info-llotges .title-llotges {
    font-family: 'Founders Grotesk Condensed Bold';
    font-size: 22px;
}

#administracio-reserves-llotges-page #box-info-entrades {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0 15px 0 15px;
    font-size: 18px;
}

#administracio-reserves-llotges-page #box-info-entrades .box-info-llotges .radio-zona label{
    margin: 15px 20px 15px 5px;
    font-family: 'Founders Grotesk Condensed Bold';
}

#administracio-reserves-llotges-page #box-info-entrades .box-info-llotges .info-llotja {
    margin: 15px 0;
}

#administracio-reserves-llotges-page #box-info-entrades .box-info-llotges .info-llotja .nom-llotja {
    font-family: 'Founders Grotesk Condensed Bold';
    font-size: 22px;
}

#administracio-reserves-llotges-page #box-info-entrades .box-info-llotges .info-llotja .label-preus {
    text-decoration: black underline;
    font-size: 18px;
    font-weight: 600;
}

#administracio-reserves-llotges-page #box-info-entrades .box-info-llotges .info-llotja .div-preus {
    display: flex;
    flex-direction: column;
    font-size: 16px;
}

#administracio-reserves-llotges-page #box-info-entrades .box-info-llotges .info-llotja .div-preus .preu span{
    font-weight: 600;
}

#administracio-reserves-llotges-page #box-info-entrades .box-info-llotges .info-llotja .dret_admissio{
    font-size: 16px;
    font-style: italic;
}

#administracio-reserves-llotges-page #box-info-entrades .box-info-llotges .info-llotja .label-persones {
    font-family: 'Founders Grotesk Condensed Bold';
}

#administracio-reserves-llotges-page input {
    border: none;
    font-weight: 500;
}

#administracio-reserves-llotges-page #box-info-entrades .box-info-llotges .info-llotja .label-persones select{
    font-family: 'Founders Grotesk Regular';
    font-weight: normal;
}

#administracio-reserves-llotges-page #box-info-entrades .box-info-llotges .info-llotja {
    margin: 15px 0;
}

#administracio-reserves-llotges-page #box-info-entrades .box-info-llotges .info-llotja .nom-llotja {
    font-family: 'Founders Grotesk Condensed Bold';
    font-size: 22px;
}

#administracio-reserves-llotges-page #box-info-entrades .box-info-llotges .info-llotja .label-preus {
    text-decoration: black underline;
    font-size: 18px;
    font-weight: 600;
}

#administracio-reserves-llotges-page #box-info-entrades .box-info-llotges .info-llotja .div-preus {
    display: flex;
    flex-direction: column;
    font-size: 16px;
}

#administracio-reserves-llotges-page #box-info-entrades .box-info-llotges .info-llotja .div-preus .preu span{
    font-weight: 600;
}

#page-event-detail #box-info-entrades .box-info-llotges .info-llotja .label-persones {
    font-family: 'Founders Grotesk Condensed Bold';
}

#administracio-reserves-llotges-page input {
    border: none;
    font-weight: 500;
}

#administracio-reserves-llotges-page #box-info-entrades .box-info-llotges .info-llotja .label-persones select{
    font-family: 'Founders Grotesk Regular';
    font-weight: normal;
}

/*#page-event-detail #box-info-entrades .box-info-llotges .info-llotja input::-webkit-inner-spin-button,*/
/*    #page-event-detail #box-info-entrades .box-info-llotges .info-llotja input::-webkit-outer-spin-button {*/
/*        -webkit-appearance: none;*/
/*        -moz-appearance: textfield;*/
/*        margin: 0;*/
/*    }*/

#administracio-reserves-llotges-page #box-info-entrades .box-info-llotges .info-llotja #num-persones, #llotjes-addicionals{
    height: 26px;
    padding: 5px;
}

#administracio-reserves-llotges-page #box-info-entrades .box-info-llotges .info-llotja #link-visualitza {
    color: #0A246A;
    text-decoration: underline;
    margin-top: 10px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
}

#administracio-reserves-llotges-page #box-info-entrades .box-info-llotges .info-llotja .llotges-addicionals label {
    font-family: 'Founders Grotesk Condensed Bold';
}

#administracio-reserves-llotges-page #box-info-entrades .box-info-llotges .info-llotja .link-visualitza:hover {
    color: #db0000;
}


/*#administracio-reserves-llotges-page #box-info-entrades .box-contacta  {*/
/*    position: absolute;*/
/*    bottom: 0;*/
/*}*/

#administracio-reserves-llotges-page #box-info-entrades .box-contacta > div:first-child {
    font-family: 'Founders Grotesk Condensed Bold';
    font-size: 18px;
}

#administracio-reserves-llotges-page #box-info-entrades .box-contacta > div:nth-child(2) {
    font-size: 16px;
}

#administracio-reserves-llotges-page #box-info-entrades .box-contacta > div:nth-child(3) {
    font-size: 16px;
}

#administracio-reserves-llotges-page #box-info-entrades .box-contacta .link-condicions-venda {
    margin-top: 15px;
    font-size: 16px;
}




#administracio-reserves-llotges-page #box-resum-seleccio {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0 0 0 14px;
    /*max-height: 900px;*/
}

#administracio-reserves-llotges-page #box-resum-seleccio .items-descripcio-preu {
    position:relative;
    flex: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#administracio-reserves-llotges-page #box-resum-seleccio .items-descripcio-preu .text-total {
    font-family: 'Founders Grotesk Condensed Bold';
    font-size: 20px;
}

#administracio-reserves-llotges-page #box-resum-seleccio .items-descripcio-preu .total {
    font-family: 'Founders Grotesk Regular';
    font-size: 20px;
    font-weight: 700;
}

#administracio-reserves-llotges-page #box-resum-seleccio .fila-titol-entrada-total {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    font-family: 'Founders Grotesk Condensed Bold';
    font-size: 20px;
    margin-bottom: 20px;
}

/*#page-event-detail #box-resum-seleccio .fila-titol-entrada-total .div-info-entrades {*/
/*    width: 85%;*/
/*}*/

/*#page-event-detail #box-resum-seleccio .fila-titol-entrada-total .div-info-total {*/
/*    width: 15%;*/
/*}*/

/*#page-event-detail #box-resum-seleccio .fila-titol-entrada-total .info-entrades {*/
/*    font-family: 'Founders Grotesk Regular';*/
/*}*/

/*#page-event-detail #box-resum-seleccio .fila-titol-entrada-total .info-entrades .text-total {*/
/*    font-family: 'Founders Grotesk Condensed Bold';*/
/*}*/

/*#page-event-detail #box-resum-seleccio .fila-titol-entrada-total .info-total {*/
/*    font-family: 'Founders Grotesk Regular';*/
/*    text-align: end;*/
/*}*/

/*#page-event-detail #box-resum-seleccio .fila-titol-entrada-total .div-info-entrades {*/
/*    width: 75%;*/
/*}*/

/*#page-event-detail #box-resum-seleccio .fila-titol-entrada-total .div-info-total {*/
/*    width: 25%;*/
/*}*/

#administracio-reserves-llotges-page #box-resum-seleccio .fila-titol-entrada-total .total {
    text-align: end;
}



#administracio-reserves-llotges-page #box-resum-seleccio #btn-borra-seleccio-entrada {
    background: #db0000;
    padding: 11px 10px 7px 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: bold;
    cursor: pointer;
    font-family: 'Founders Grotesk Regular';
    font-size: 16px;
    line-height: 20px;
}

#administracio-reserves-llotges-page #box-resum-seleccio #btn-add-carrito {
    background: #0fa761;
    padding: 11px 10px 7px 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: bold;
    cursor: pointer;
    font-family: 'Founders Grotesk Regular';
    font-size: 16px;
    line-height: 20px;
    margin-top: 5px;
}

.k-grid-header .k-header {
    align-content: center;
}

.k-grid-header .k-header .k-column-title{
    white-space: normal !important;   /* permite varias líneas */
    text-overflow: clip !important;   /* elimina los 3 puntos */
    overflow: visible !important;     /* deja que crezca */
    line-height: 1.2em;               /* mejor ajuste visual */
}


@media(max-width: 768px) {
    #validador-page {
        margin-top: 80px;
    }
    #entrada-qr-page {
        margin-top: 80px;
    }
}
