


.block-s3table table, .block-s3table th, .block-s3table td {
    border: 2px solid black;
    border-collapse: collapse;
}
.block-s3table #loading {
    font-size: 32px;
}
.active {
    display: block;
}
.block-s3table th, .block-s3table td {
    padding: 16px;
    text-align: left;
}
.block-s3table .label-input-container label, .block-s3table .label-input-container input {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    display: block;
    position: relative;
    font-size: 32px;
    width: 478px;
}
.block-s3table .apply-filter-reset {
    color: var(--wp--preset--color--primary);
    padding: 16px 24px;
    border-radius: 24px;
    transition: background-color 0.6s ease;
}
.block-s3table .table-title {
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: 56px;
}
.block-s3table .apply-filter-reset:hover {
    background-color: var(--wp--preset--color--light-orange);
}
.block-s3table .filter-container-s3 .filter-box {
    padding: 24px 40px;
    border-radius: 40px;
    border: 2px solid #E1E1E1;
    background: #FFF;
    width: max-content;
    font-size: 32px;
}
.block-s3table .block-s3table .filter-container-s3 {
    padding: 24px 0px;
    margin-bottom: 80px;
}
.block-s3table .block-filter {
    position: relative;
    padding: 64px;
    border-radius: 40px;
    background: #FFF;
    height: 140px; 
    transition: height 1s ease; 
    margin-top: 20px;
    margin-bottom: 40px;
}
.block-s3table .label-input-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 0 0 calc(20% - 48px);
}
.block-s3table .block-filter.active {
    height: auto; 
}
.block-s3table #pagination {
    display: flex;
    justify-content: center;
    gap: 20px;
    align-items: center;
    margin-top: 32px;
    color: var(--wp--preset--color--dark-blue);
}
.block-s3table .pag-button {
    position: relative;
    cursor: pointer;
    padding: 6px 20px;
    border-radius: 16px;
    border: 2px solid var(--wp--preset--color--primary);
    color: black;
    background-color: white;
    overflow: hidden;
    z-index: 1;
    transition: color 0.6s ease, background-color 0.6s ease;
    font-size: 28px;
}
.block-s3table .pag-button::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0%;
    height: 0%;
    background-color: var(--wp--preset--color--primary);
    transition: width 0.8s ease, height 0.8s ease, top 0.8s ease, left 0.8s ease;
    border-radius: 50%;
    z-index: -1;
    transform: translate(-50%, -50%);
}
.block-s3table .pag-button:hover::before {
    width: 600%;
    height: 600%;
    top: 50%;
    left: 50%;
}
.block-s3table .pag-button:hover {
    color: white; 
    background-color: var(--wp--preset--color--primary);
}
.block-s3table .pag-button.active {
    color: white; 
    background-color: var(--wp--preset--color--primary); 
}
.block-s3table .pag-button:active::before {
    width: 600%;
    height: 600%;
    top: 50%;
    left: 50%;
}
.block-s3table .prev-button {
    width: 38px;
    height: 44px;
    margin-right: 16px;
    transition: all 1s ease;
    cursor: pointer;
    transition: all 0.5s ease;
    -webkit-mask-image: url(../../assets/images/arrow-left.svg); 
    mask-image: url(../../assets/images/arrow-left.svg); 
    -webkit-mask-size: cover;
    mask-size: cover;
    background-color: var(--wp--preset--color--primary); 
    opacity: 0.8;
}
.block-s3table .next-button {
    width: 38px;
    height: 44px;
    margin-right: 16px;
    transition: all 1s ease;
    cursor: pointer;
    transition: all 0.5s ease;
    -webkit-mask-image: url(../../assets/images/arrow-right.png); 
    mask-image: url(../../assets/images/arrow-right.svg); 
    -webkit-mask-size: cover;
    mask-size: cover;
    background-color: var(--wp--preset--color--primary); 
    opacity: 0.8;
}
.block-s3table .prev-button:hover, .block-s3table .next-button:hover {
    opacity: 1; /* Opacitate maximă la hover */
}
.block-s3table .prev-button.disabled, .block-s3table .next-button.disabled {
    opacity: 0.5; 
    cursor: not-allowed; 
}
.block-s3table .block-s3table #loading {
    display: none;
}
.block-s3table .filter-container-s3 {
    display: none;
    justify-content: space-evenly;
}
.block-s3table .apply-reset-container {
    display: none;
}
.block-s3table .title-filtre {
    display: none;
}
.block-s3table .title-filtre h3 {
    font-size: 48px;
}
.block-s3table .title-filtre.active {
    display: block;
}
.block-s3table .filter-container-s3.active {
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
    gap: 48px;
    padding-bottom: 120px;
}
.block-s3table .left-reset {
    display: flex;
    justify-content: center;
    align-items: center;
}
.block-s3table .apply-reset-container.active {
    display: flex;
    flex-direction: row;
    position: absolute;
    bottom: 64px;
    left: 64px;
    justify-content: space-between;
    width: 96%;
}
.block-s3table .apply-filter-reset .reset-title {
    color: var(--wp--preset--color--primary);
    margin-left: 60px;
    font-size: 32px;
}
.block-s3table .apply-reset-container.active .apply-filter {
    display: block;
}
.block-s3table .apply-filter-reset {
    display: none;
    position: relative;
    cursor: pointer;
    margin-left: 20px;
    align-items: center;
}
.block-s3table .apply-filter-reset::before,
.block-s3table .apply-filter-reset::after {
    content: "";
    position: absolute;
    top: 50%; 
    left: 10%; 
    width: 40px; 
    height: 4px; 
    background-color: var(--wp--preset--color--primary);
    transition: all 0.6s ease; 
}
.block-s3table .apply-filter-reset::before {
    transform: translate(-50%, -50%) rotate(45deg);
}
.block-s3table .apply-filter-reset::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}
.block-s3table .apply-filter {
    position: relative; 
    display: none; 
    align-items: center; 
    justify-content: center; 
    padding: 16px 32px; 
    background-color: white; 
    border: 2px solid var(--wp--preset--color--primary);
    border-radius: 40px; 
    color: var(--wp--preset--color--primary); 
    font-size: 32px; 
    font-weight: bold; 
    cursor: pointer; 
    overflow: hidden; 
    transition: color 0.6s; 
    width: 200px; 
    text-align: center; 
}
.block-s3table .apply-filter::before {
    content: ''; 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background-color: var(--wp--preset--color--primary); 
    transform: translateX(-100%); 
    transition: transform 0.6s ease; 
    z-index: 0; 
}
.block-s3table .apply-filter p {
    margin: 0; 
    position: relative; 
    z-index: 1; 
    transition: color 0.6s; 
    font-size: 32px;
}
.block-s3table .apply-filter:hover::before {
    transform: translateX(0); 
}
.block-s3table .apply-filter:hover p {
    color: white; 
}
.block-s3table .icon-filter {
    width: 38px;
    height: 44px;
    margin-right: 16px;
    transition: all 1s ease;
    -webkit-mask-image: url(../../assets/images/filter-icon.svg); 
    mask-image: url(../../assets/images/filter-icon.svg); 
    -webkit-mask-size: cover;
    mask-size: cover;
    background-color: var(--wp--preset--color--primary); 
}
.block-s3table .show-filter:hover .icon-filter {
    background-color: white; 
}
.block-s3table .show-filter {
    position: relative; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    padding: 16px 32px; 
    background-color: white; 
    border: 2px solid var(--wp--preset--color--primary); 
    border-radius: 40px; 
    color: var(--wp--preset--color--primary); 
    font-size: 32px; 
    font-weight: bold; 
    cursor: pointer; 
    overflow: hidden; 
    transition: color 0.6s; 
    width: 200px; 
    text-align: center; 
    margin-bottom: 40px;
}

.block-s3table .apply-filter-reset.active{
    display: flex;
}
.block-s3table .show-filter::before {
    content: ''; 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background-color: var(--wp--preset--color--primary); 
    transform: translateX(-100%); 
    transition: transform 0.6s ease; 
    z-index: 0; 
}
.show-filter.active {
    background-color: var(--wp--preset--color--primary);
}
.block-s3table .show-filter.active p {
    color: #FFF;
}
.block-s3table .show-filter.active .icon-filter {
    background-color: #FFF;
}
.block-s3table .show-filter p {
    margin: 0; 
    position: relative; 
    z-index: 1; 
    transition: color 0.6s; 
}
.block-s3table .show-filter:hover::before {
    transform: translateX(0); 
}
.block-s3table .show-filter:hover p {
    color: white; 
}
@media only screen and (max-width: 3000px) {

        .block-s3table table, .block-s3table th, .block-s3table td {
            border: 1px solid black;
            border-collapse: collapse;
        }
        .block-s3table .custom-table th, .block-s3table .custom-table td {
            overflow: hidden; 
            text-overflow: ellipsis;
        }
        .block-s3table th, .block-s3table td {
            padding: 8px;
            text-align: left;
        }
    
        .block-s3table .label-input-container label, .block-s3table .label-input-container input {
            width: 239px;
            font-size: 16px;
        }
    
        .block-s3table .apply-filter-reset {
            padding: 8px 12px;
            border-radius: 12px;
           
        }
        .block-s3table .apply-filter{
            border: 1px solid var(--wp--preset--color--primary);
        }
        .block-s3table .table-title {
            margin-top: 10px;
            margin-bottom: 10px;
            font-size: 28px;
        }
    
        .block-s3table .filter-container-s3 .filter-box {
            padding: 12px 20px;
            border-radius: 20px;
            font-size: 16px;
        }
    
        .block-s3table .filter-container-s3 {
            padding: 12px 0px;
            margin-bottom: 40px;
        }
    
        .block-s3table .block-filter {
            padding: 32px;
            border-radius: 20px;
            height: 70px; 
            margin-top: 10px;
            margin-bottom: 20px;
        }
    
        .block-s3table .label-input-container {
            gap: 8px;
            flex: 0 0 calc(20% - 24px);
        }
    
        #pagination {
            gap: 10px;
            margin-top: 16px;
        }
    
        .block-s3table .pag-button {
            padding: 3px 10px;
            border-radius: 8px;
            font-size: 14px;
            border: 1px solid var(--wp--preset--color--primary);
        }
    
        .block-s3table .prev-button, .block-s3table .next-button {
            width: 19px;
            height: 22px;
            margin-right: 8px;
        }
    
        .block-s3table .title-filtre h3 {
            font-size: 24px;
        }
    
        .block-s3table .filter-container-s3.active {
            gap: 24px;
            padding-bottom: 30px;
        }
    
        .block-s3table .apply-reset-container.active {
            width: 96%;
            left: 32px;
            bottom: 32px;
        }
        .block-s3table #loading {
            font-size: 16px;
        }
        .block-s3table .apply-filter-reset .reset-title {
            margin-left: 30px;
            font-size: 16px;
        }
    
        .block-s3table .apply-filter {
            padding: 8px 16px;
            border-radius: 20px;
            font-size: 16px;
            width: 100px;
        }
    
        .block-s3table .apply-filter p {
            font-size: 16px;
        }
    
        .block-s3table .icon-filter {
            width: 19px;
            height: 22px;
            margin-right: 8px;
        }
    
        .block-s3table .show-filter {
            padding: 8px 16px;
            border-radius: 20px;
            font-size: 16px;
            width: 100px;
            margin-bottom: 20px;
            border: 1px solid var(--wp--preset--color--primary);
        }
    
        .block-s3table .show-filter p {
            font-size: 16px;
        }
    
        .block-s3table .apply-filter-reset::before,
        .block-s3table .apply-filter-reset::after {
    content: "";
    position: absolute;
    top: 50%; 
    left: 10%; 
    width: 20px; 
    height: 2px; 
    background-color: var(--wp--preset--color--primary);
    transition: all 0.6s ease; 
}

}

@media only screen and (max-width: 800px) {
    .block-s3table .apply-reset-container.active{
    position: relative;
    flex-direction: column-reverse;
    gap: 10px;
    align-items: start;
    right:0;
    bottom: 0;
    left: 0;
    width: 100%;
}
.block-s3table .filter-container-s3.active{
    padding: 0;
    margin: 0;
}
.block-s3table .apply-reset-container.active .apply-filter{
    width: 100%;
    box-sizing: border-box;
    
}

.block-s3table .apply-filter-reset { 
    display: none;
    position: relative;
    min-width: 200px;
    cursor: pointer;
    align-items: center;
    margin: 0;
}
.block-s3table .filter-container-s3.active {
    flex-direction: column;
    margin-bottom: 24px;
}
.block-s3table .apply-filter-reset::before, .block-s3table .apply-filter-reset::after{
 
    top: 50%;
    left: 10%;
    width: 20px;
    height: 2px;
}
.block-s3table .show-filter{
    border: 1px solid var(--wp--preset--color--primary);
}



}