/* Modals  */

.container__modal {
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 80%;
}

.modalDialog {
    position: fixed;
    font-family: Arial, Helvetica, sans-serif;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 99999;
    opacity: 0;
    -webkit-transition: opacity 400ms ease-in;
    -moz-transition: opacity 400ms ease-in;
    transition: opacity 400ms ease-in;
    pointer-events: none;
}

.modalDialog:target {
    opacity: 1;
    pointer-events: auto;
}

.modalDialog>div {
    width: 400px;
    position: relative;
    margin: 10% auto;
    padding: 5px 20px 13px 20px;
    border-radius: 10px;
    background: #fff;
    -webkit-transition: opacity 400ms ease-in;
    -moz-transition: opacity 400ms ease-in;
    transition: opacity 400ms ease-in;
}

.close {
    background: var(--color-ascent);
    color: var(--white);
    line-height: 25px;
    position: absolute;
    right: -12px;
    text-align: center;
    top: -10px;
    width: 24px;
    text-decoration: none;
    font-weight: bold;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    border-radius: 12px;
    -moz-box-shadow: 1px 1px 3px #000;
    -webkit-box-shadow: 1px 1px 3px #000;
    box-shadow: 1px 1px 3px #000;
}

.close:hover {
    background: var(--gold);
    color: var(--background);
}


/* Estilo del modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

/* Estilo del contenido del modal */
.modal-content {
    background-color: white;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    max-width: 400px;
    width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Estilo para el botón de cierre */
.close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

/* Comercial  */
.comercial-details {

    position: relative;
}

.comercial-details .image-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.commercial-promotions,
.commercial-products {
    width: 100%;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;

}

.commercial-title {
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: column;
}

.product__item {
    width: 300px;
    height: 300px;
    margin: 5px;
    background-color: rgba(0, 0, 0, 0.2);

}

.product__item .product {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}



.product__item .product img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product__item .product {
    position: relative;
    overflow: hidden;
}

.product::after {
    content: '';
    top: 0;
    left: 0;
    position: absolute;
    width: 100%;
    height: 100%;
}

.product>img {
    width: 100%;
    height: 100%;
}

.perfil-2 {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    position: relative;
    top: -10px;

}

.product-name,
.commercial-info,
.product-info {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.562);
    position: absolute;
    font: 700 2rem "Oswald", sans-serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--gold);
    top: -300px;
    transition: 1s ease-in-out;
}

.commercial-info {
    top: 0;
    flex-direction: column;
    font-weight: normal;
    color: var(--white);
}

.commercial-info {
    font-weight: lighter;
}

/* .product-name::before,
.product-name::after {
    content: "\2014";
    font-size: 24px;
    color: var(--background);
    margin: 0 5px;
} */


.product__item:hover .product-name {
    top: 0;
    text-align: center;
    font-size: 1.5em;
}

.commercial-title {
    width: 100%;
    text-align: center;
    font-size: 30px;
    font-weight: 600;
}

.sec {
    font-size: 30px;
    font-weight: 600;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.appear {
    opacity: 1;
    transform: translateY(0);
}

.disappear {
    opacity: 0;
    transform: translateY(20px);
}


.sec {
    padding: 5px;
    border-radius: 5px;
    margin-right: 5px;
}

.appear {
    transition-delay: 0.35s;
}

.disappear {
    transition-delay: 0s;
}

/* Estrellas */

.rating {
    display: inline-block;
    font-size: 0;
}

.star {
    display: inline-block;
    width: 25px;
    height: 25px;
    background-image: url('https://www.bing.com/images/search?view=detailV2&ccid=ZLcu4wT8&id=BF173BAB58AAABD53A0C45C19D3458DB4154FB1D&thid=OIP.ZLcu4wT8ZcYe-dfrJIO9UwHaHa&mediaurl=https%3a%2f%2fcdn.onlinewebfonts.com%2fsvg%2fimg_92842.png&cdnurl=https%3a%2f%2fth.bing.com%2fth%2fid%2fR.64b72ee304fc65c61ef9d7eb2483bd53%3frik%3dHftUQdtYNJ3BRQ%26pid%3dImgRaw%26r%3d0&exph=980&expw=980&q=starts+icons+background+grey&simid=607997843035617804&FORM=IRPRST&ck=19AD40CE7483EF047157C1EFC2FF8054&selectedIndex=3&qft=+filterui%3aphoto-transparent');
    background-size: cover;
}

.star.empty {
    background-image: url('https://www.bing.com/images/search?view=detailV2&ccid=ZLcu4wT8&id=BF173BAB58AAABD53A0C45C19D3458DB4154FB1D&thid=OIP.ZLcu4wT8ZcYe-dfrJIO9UwHaHa&mediaurl=https%3a%2f%2fcdn.onlinewebfonts.com%2fsvg%2fimg_92842.png&cdnurl=https%3a%2f%2fth.bing.com%2fth%2fid%2fR.64b72ee304fc65c61ef9d7eb2483bd53%3frik%3dHftUQdtYNJ3BRQ%26pid%3dImgRaw%26r%3d0&exph=980&expw=980&q=starts+icons+background+grey&simid=607997843035617804&FORM=IRPRST&ck=19AD40CE7483EF047157C1EFC2FF8054&selectedIndex=3&qft=+filterui%3aphoto-transparent');
    background-size: cover;
}

.star.filled {
    background-image: url('/icons/star.png');
    background-size: cover;
}

.star.mediastar {
    background-size: cover;
}

/* Cupones */

.coupon {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 300px;
    padding: 20px;
    background-color: var(--white);
    border: 1px solid #ccc;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    margin: 10px;
    color: var(--background);
}

.code {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: center;
}

.discount {
    font-size: 30px;
    color: #00BB31;
    margin-bottom: 20px;
}

.expiry {
    font-size: 14px;
    color: var(--white);
    font-weight: 800;
}

.img-perfil {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    position: relative;
    top: -10px;
}

/* Add-club */
.add-club {
    margin: auto;
    width: 80%;
    display: flex;
    justify-content: center;
    align-items: center;

}

.add-club img {
    object-position: initial;
}

.add-club>* {
    width: 50%;

}

.add-title {
    font-family: Roboto;
    font-weight: normal !important;

}

.btn-w100 {
    width: 80%;
}

.btn-w100 button {
    width: 100%;
    font-weight: normal;
}

/* Socios */

.partners {
    background: #F9F9F9 0% 0% no-repeat padding-box;
    opacity: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.partners div {
    width: 250px;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    flex-wrap: wrap;
}


.partners__img {
    width: 50%;
}



/* Code Qr */

.modal-content img {
    max-width: 350px;
    max-height: 350px;
}

/* Scanner */

.Scanner {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.Scanner * {
    padding: 10px;
}

/* Tables */
/* Estilos para el encabezado h2 */


/* Estilos para el contenedor de la tabla */
.table-container {
    overflow-x: auto;
    max-width: 85%;
    margin: auto;
}

.table-container>h2 {
    text-align: center;
    font-size: 24px;
    margin-bottom: 20px;
}

/* Estilos para la tabla */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    table-layout: fixed;
}

/* Estilos para las celdas del encabezado de la tabla */
th {
    background-color: var(--background);
    font-weight: bold;
    padding: 10px;
    text-align: left;
    color: var(--gold);
}


/* Estilos para las celdas de datos de la tabla */
td {
    padding: 10px;
    border: 1px solid #bbb;
    word-wrap: break-word;
}

td>img {
    width: 100px;


}

td span {
    margin-right: 5px;
}

/* Estilos para alternar el color de fondo de las filas */
tbody tr:nth-child(even) {
    background-color: #ddd;
}

/* sticky-header */
/* Estilos para el formulario con la clase custom-form */
.custom-form {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 85%;
    margin: auto;
}

/* Estilos para los fieldsets */
.custom-form fieldset {
    flex: 1;
    border: none;
    padding: 0;
}

/* Estilos para las etiquetas */
.custom-form label {
    display: block;
    margin-bottom: 5px;
}

/* Estilos para los input y select */
.custom-form input[type="date"],
.custom-form select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

/* Estilos para el botón */
.custom-form button {
    padding: 10px 20px;
    background-color: var(--gold);
    color: var(--background);
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.custom-form button:hover {
    background-color: #ffca28;
}

/* Nofound */
.noFound {
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80%;
    height: auto;
    flex-direction: column;
    padding: 5px;
}

.noFound i {
    font-size: 10rem;
    padding: 10px;
}

.noFound h3 {
    font-family: Roboto;
    font-weight: normal;
}

.items-list {
    max-width: 750px;
    width: 80%;
    margin: auto;
    padding: 4px;
    position: relative;
    display: block;
    list-style: none inside;
}

.items-list>li {
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-flow: column;
    -webkit-box-pack: center;
    justify-content: center;
    position: relative;
    height: 56px;
    padding: 8px 16px;
    vertical-align: middle;
    overflow: hidden;
    cursor: default;
}

li .avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    position: absolute;
    left: 16px;
    top: 50%;
    margin-top: -21px;
    font-size: 32px;
    line-height: 42px;
}

li .second-action {
    position: absolute;
    right: 16px;
    width: 24px;
    height: 24px;
    font-size: 24px;
    line-height: 24px;
    top: 50%;
    margin-top: -12px;
    cursor: pointer;
}

li .avatar~.second-label {
    padding-left: 56px;
}