﻿/* Calendário */
.calendar-container {
    text-align: center;
}

    .calendar-container .navigation {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        margin-top: 30px;
    }

        .calendar-container .navigation span {
            font-size: 31px;
            text-align: left;
            text-transform: capitalize;
            line-height: 1;
            
        }
        .calendar-container .navigation div {            
            text-align: right;
            text-transform: capitalize;
        }

        .calendar-container .navigation button {
            margin: 0 5px;
            padding: 5px 10px;
            cursor: pointer;
            background: none;
            border: none;
        }

            .calendar-container .navigation button img {
                width: 24px;
                height: 24px;
            }

    .calendar-container table {
        width: 100%;
        border-collapse: collapse;
        margin-top: 20px;
    }

    .calendar-container th,
    .calendar-container td {
        padding: 10px;
        text-align: center;
        cursor: pointer;
        font-size: 20px;
    }

    .calendar-container th {
        color: var(--text-color);
        background-color: transparent;
    }

.selected-day {
    background-color: var(--primary-color);
    color: white;
    border-radius: 5px;
}

.disabled-day {
    color: #ccc;
    pointer-events: none;
}

.calendar-container td:hover {
    background-color: var(--primary-color);
    color: white;
    border-radius: 5px;
}

.outside-month {
    color: #ccc;
}


/* Botão */
.button-booking {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    padding: 12px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-family: 'BarlowCondensed', sans-serif;
    margin-top: 10px;
}


.buttonBooking {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    padding: 8px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 90%;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-family: 'BarlowCondensed', sans-serif;
}

.buttonTransparent {
    background-color: transparent;
    color: var(--primary-color);
    border: none;
    border-radius: 5px;
    padding: 12px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    border: solid 2px var(--primary-color);
    font-family: 'BarlowCondensed', sans-serif;
}

    .buttonTransparent:hover {
        background-color: black;
        color: white;
        border: solid 2px black;
    }


.buttonSlim {
    background-color: transparent;
    color: var(--primary-color);
    border: none;
    border-radius: 5px;
    padding: 12px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-family: 'BarlowCondensed', sans-serif;
}

    .buttonSlim:hover {
        text-decoration: underline;
        cursor: pointer;
    }

/* Cabeçalho */
.booking-container {
    display: flex;
    align-items: center;
    padding: 15px;
    box-sizing: border-box;
    width: 100%;
    overflow: hidden;
}

.booking-container-infos {
    display: flex;
    align-items: center;
    max-height: 150px;
    background-color: #F4F4F4;
    border-radius: 10px;
    width: 100%;
    padding: 10px;
}


    .booking-container .logo {
        padding-right: 0px;
        width: auto;
        height: auto;
    }

.squares-wrapper {
    display: flex;
    flex-direction: column;
    margin-left: 30px;
    width: 100%;
    box-sizing: border-box;
    overflow-x: auto;
    max-width: 100%;
    scrollbar-width: none;
}

    .squares-wrapper::-webkit-scrollbar {
        display: none;
    }


.squares-container {
    display: flex;
    overflow: hidden;
    margin-right: 40px;
    width: 100%;
}


.square {
    min-width: 28px;
    min-height: 28px;
    max-width: 28px;
    max-height: 28px;
}

.squares-container .square:nth-child(odd) {
    background-color: var(--background-color);
}

.squares-container .square:nth-child(even) {
    background-color: var(--background-color);
}

.squares-container.alternate .square:nth-child(odd) {
    background-color: var(--background-color);
}

.squares-container.alternate .square:nth-child(even) {
    background-color: var(--background-color);
}

.cart-button {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-left: 33px;
    background-color: #F4F4F4;
    padding: 10px 20px;
    border-radius: 5px;
}

.home-button {
    display: flex;
    flex-direction: row;
    align-items: center;
    background-color: #F4F4F4;
    padding: 10px 20px;
    border-radius: 5px;
}

.cart-button span{
 font-size: 25px;
 font-weight: 700;
}

.icon-cart {
    width: 30px;
    height: 30px;
    margin-left: 5px;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.3);
    }

    100% {
        transform: scale(1);
    }
}

/* Animação de bounce para o número da quantidade */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* Classes que aplicam as animações */
.animate-pulse {
    animation: pulse 0.6s ease-in-out;
}

.animate-bounce {
    animation: bounce 0.6s ease;
}

/* Estilo base para a animação */
.cart-button span,
.icon-cart {
    transition: transform 0.3s ease;
}

/* Radapé */
.footer {
    width: 100%;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.footer-squares-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
    box-sizing: border-box;
    overflow-x: auto;
    max-width: 100%;
    scrollbar-width: none;
    margin-top: 40px;
}

    .footer-squares-wrapper::-webkit-scrollbar {
        display: none;
    }

.footer-squares-container {
    display: flex;
    overflow: hidden;
    margin-right: 40px;
    width: 100%;
}

.footer-square {
    min-width: 28px;
    min-height: 28px;
    max-width: 28px;
    max-height: 28px;
}

.footer-squares-container .footer-square:nth-child(odd) {
    background-color: black;
}

.footer-squares-container .footer-square:nth-child(even) {
    background-color: var(--background-color);
}

.footer-squares-container.alternate .footer-square:nth-child(odd) {
    background-color: var(--background-color);
}

.footer-squares-container.alternate .footer-square:nth-child(even) {
    background-color: black;
}

.footer-black-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px;
    width: 100%;
    height: 100%;
    background-color: black;
    color: white;
    box-sizing: border-box;
}

.logo-footer {
    max-width: 220px;
    max-height: auto;
}

.footer-black-bar a {
    color: white;
    text-decoration: none;
}

    .footer-black-bar .social-logo {
        margin-left: 10px; 
    }

    .footer-black-bar div {
        display: flex;
        align-items: center; 
        gap: 5px; 
    }

    .footer-black-bar span {
        font-size: 14px; 
    }



/* Outros */

.color-font {
    color: var(--primary-color);
}

.button.space-top {
    margin-top: 20px;
    top: 20px;
}

.buttonTransparent.space-top {
    margin-top: 20px;
    top: 20px;
}

.buttonTSlim.space-top {
    margin-top: 20px;
    top: 20px;
}

.sizeButton {
    width: 200px;
    min-width: 200px;    
}

.flex-direction {
    display: flex;
    flex-direction: row;
    gap: 15px;
    width: 100%;
}

.flex-direction p  {
    margin-top: 5px;
}

    .flex-direction svg {
        margin-top: 18px;
    }

.countdown {
    margin-bottom: 20px;
    margin-top: 20px;
}

.error-message-button {
    display: flex;
    flex-direction: row;
    gap: 20px;
    font-size: 15px;
    color: red;
    margin-top: 10px;
    text-align: center;
    text-decoration: none;
    margin-bottom: 10px;
}

.error-message, .validation-message {
    color: red;
    margin-top: 10px;
    font-size: 15px;
    text-align: center;
    text-decoration: none;
    margin-bottom: 10px;
}

.name-overflow {
    display: inline-block;
    width: 50%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    word-wrap: break-word;
}


.name-overflow-prohibited {
    display: inline-block;
    width: 150%;
    white-space: nowrap !important;
    overflow: hidden;
    text-overflow: ellipsis;
    word-wrap: break-word;
}

/* Estilo para os inputs e selects */
.input-field {
    background-color: white;
    color: black;
    border: solid 2px black;
    border-radius: 5px;
    padding: 12px;
    font-size: 20px;
    width: 100%;
    text-align: left;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s;
    font-family: 'BarlowCondensed', sans-serif;
}

    .input-field:focus {
        outline: none;
        background-color: #f5f5f5; 
    }

.input-field.spaceInput {
    margin-bottom: 20px;
}

.logout {
    margin-left: 20px;
}

.loading-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
   
}

@media (min-width: 1374px) and (max-width: 1600px) {

    .name-overflow {
        width: 30%;
    }
}

@media (min-width: 961px) and (max-width: 1374px) {
    .name-overflow {
        width: 100%;
    }
    .calendar-container {
        margin-bottom: -10px;
        margin-top: -30px;
    }
}


@media (min-width: 768px) and (max-width: 961px) {
    .name-overflow {
        width: 100%;
    }
    .calendar-container {
        margin-bottom: -10px;
        margin-top: -30px;
    }
}

@media (min-width: 400px) and (max-width: 768px) {
    /* Calendário */
    .calendar-container {
        transform: scale(0.9);
        margin-left: -25px;
        margin-bottom: -20px;
        margin-top: -30px;
    }

        .calendar-container .navigation {
            margin-top: 5px;
        }

            .calendar-container .navigation span {
                font-size: 25px;
            }

    /* Cabeçalho */
    .booking-container {
        padding: 20px;
    }

        .booking-container .logo {
            width: 90%;
            height: 90%;
        }

    .squares-wrapper {
        transform: scale(0.8);
        margin-left: 2px;
        margin-right: 0;
    }

    .cart-button {
        margin-left: 2px;
    }

    /* Radapé */
    .footer {
        overflow: hidden;
    }

    .footer-black-bar {
        margin-top: -5.6px;
        flex-direction: column;
    }

        .footer-black-bar a {
            margin-top: 20px;
            margin-bottom: 20px;
        }

    /* Outros */
    .sizeButton {
        min-width: 150px;
        width: 150px;
    }

    .error-message-button {
        flex-direction: column;
    }

    .name-overflow {
        width: 100%;
        align-content: flex-start;
    }

    .name-overflow-prohibited {
        width: 110%;
    }
}


@media (min-width: 370px) and (max-width: 400px) {
    /* Calendário */
    .calendar-container {
        transform: scale(0.8);
        margin-left: -35px;
        margin-bottom: -40px;
        margin-top: -70px;
    }

    .booking-container .logo {
        width: 120%;
        height: 120%;
    }

    /* Cabeçalho */
    .booking-container {
        padding: 20px;
    }

        .booking-container .logo {
            width: 90%;
            height: 90%;
        }

    .squares-wrapper {
        transform: scale(0.8);
        margin-left: 2px;
        margin-right: 0;
    }

    .cart-button {
        margin-left: 2px;
    }

    /* Radapé */
    .footer {
        overflow: hidden;
    }

    .footer-black-bar {
        margin-top: -5.6px;
        flex-direction: column;
    }

        .footer-black-bar a {
            margin-top: 20px;
            margin-bottom: 20px;
        }

    /* Outros */
    .sizeButton {
        min-width: 150px;
        width: 150px;
    }

    .error-message-button {
        flex-direction: column;
    }

    .name-overflow {
        width: 100%;
        align-content: flex-start;
    }
    .name-overflow-prohibited {
        width: 100%;
    }
}


@media (min-width: 350px) and (max-width: 370px) {
    /* Calendário */
    .calendar-container {
        transform: scale(0.8);
        margin-left: -40px;
        margin-bottom: -40px;
        margin-top: -70px;
    }

    /* Cabeçalho */
    .booking-container {
        padding: 20px;
    }

        .booking-container .logo {
            width: 90%;
            height: 90%;
        }

    .squares-wrapper {
        transform: scale(0.8);
        margin-left: 2px;
        margin-right: 0;
    }

    .cart-button {
        margin-left: 2px;
    }

    /* Radapé */
    .footer {
        overflow: hidden;
    }

    .footer-black-bar {
        margin-top: -5.6px;
        flex-direction: column;
    }

        .footer-black-bar a {
            margin-top: 20px;
            margin-bottom: 20px;
        }

    /* Outros */
    .sizeButton {
        min-width: 150px;
        width: 150px;
    }

    .error-message-button {
        flex-direction: column;
    }

    .name-overflow {
        width: 100%;
        align-content: flex-start;
    }

    .name-overflow-prohibited {
        width: 90%;
    }
}

@media (min-width: 290px) and (max-width: 350px) {
    /* Calendário */
    .calendar-container {
        transform: scale(0.6);
        margin-left: -55px;
        margin-bottom: -80px;
        margin-top: -110px;
    }

    /* Cabeçalho */
    .booking-container {
        padding: 20px;
    }

        .booking-container .logo {
            width: 90%;
            height: 90%;
        }

    .squares-wrapper {
        transform: scale(0.8);
        margin-left: 2px;
        margin-right: 0;
    }

    .cart-button {
        margin-left: 2px;
    }

    /* Radapé */
    .footer {
        overflow: hidden;
    }

    .footer-black-bar {
        margin-top: -5.6px;
        flex-direction: column;
    }

        .footer-black-bar a {
            margin-top: 20px;
            margin-bottom: 20px;
        }

    /* Outros */
    .sizeButton {
        min-width: 150px;
        width: 150px;
    }

    .error-message-button {
        flex-direction: column;
    }

    .name-overflow {
        width: 100%;
        align-content: flex-start;
    }

    .name-overflow-prohibited {
        width: 80%;
    }
}


@media (max-width: 290px) {
    /* Calendário */
    .calendar-container {
        transform: scale(0.5);
        margin-left: -55px;
        margin-bottom: -100px;
        margin-top: -140px;
    }

    /* Cabeçalho */
    .booking-container {
        padding: 20px;
    }

        .booking-container .logo {
            width: 90%;
            height: 90%;
        }

    .squares-wrapper {
        transform: scale(0.8);
        margin-left: 2px;
        margin-right: 0;
    }

    .cart-button {
        margin-left: 2px;
    }

    /* Radapé */
    .footer {
        overflow: hidden;
    }

    .footer-black-bar {
        margin-top: -5.6px;
        flex-direction: column;
    }

        .footer-black-bar a {
            margin-top: 20px;
            margin-bottom: 20px;
        }

    /* Outros */
    .sizeButton {
        min-width: 150px;
        width: 150px;
    }

    .error-message-button {
        flex-direction: column;
    }

    .name-overflow {
        width: 100%;
        align-content: flex-start;
    }

    .name-overflow-prohibited {
        width: 80%;
    }
}