* {
    box-sizing: border-box;
}

.app_header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background-color: #f7f7f7;
    z-index: 9997;
}

.app_header_container {
    display: grid;
    grid-template-columns: 1fr fit-content(100%);
    padding: 20px;
    grid-column-gap: 16px;
    -moz-column-gap: 16px;
    column-gap: 16px;
    align-items: center;
    max-width: 1278px !important;
    margin: 0 auto;
    position: relative;
}

#menuBtn {
    cursor: pointer;
}

.app_sidebar {
    height: 100%;
    width: 0;
    position: fixed;
    top: 0;
    left: 0;
    background-color: white;
    overflow-x: hidden;
    transition: 0.2s;
}

    .app_sidebar a {
        padding: 10px 20px;
        text-decoration: none;
        display: block;
        color: #3e3e3e;
        transition: 0.3s;
        font-weight: 500;
    }

        .app_sidebar a:hover {
            background-color: oklch(98.4% 0.003 247.858);
        }

.login__page {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 16px;
    height: 100vh;
}

.login__card {
    width: 510px;
    padding: 16px 25px;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    box-shadow: none;
}

.login__card_container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    width: 100%;
}

.button_base_style {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    border: 0;
    border-radius: 4px;
    background-color: #fff;
    border: 1px solid #dadce0;
    color: #3c4043;
    cursor: pointer;
    min-height: 40px;
    padding: 10px 12px;
    width: 100%;
    font-weight: 600;
}

    .button_base_style:hover {
        background-color: #dadada2c;
    }

.app_footer {
    width: 100%;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 80px;
}

.app_footer_nav_container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.app_home {
    margin: 0 auto;
    margin-top: 80px;
    max-width: 1278px !important;
}

.tags_container {
    width: 100%;
    padding: 20px;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 28px 0;
}

.button_tag {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    margin: 4px 2px;
    background-color: #fff;
    color: #717171;
    font-weight: 300;
    font-size: 0.875rem;
    border: 1px solid #f2f2f2;
    padding: 8px 12px;
    border-radius: 100px;
    line-height: 16px;
    cursor: pointer;
}

.button_tag_selected {
    background-color: rgb(222, 247, 247);
    border: 1px solid rgb(199, 199, 199);
}

.restaurante_cards_container::-webkit-scrollbar {
    display: none; /* esconde a barra de rolagem */
}

.restaurante_cards_container {
    display: flex;
    overflow-x: auto;
    gap: 16px;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
}

    .restaurante_cards_container:active {
        cursor: grabbing;
    }

.restaurante_card_link {
    margin-right: 20px;
    position: relative;
    width: 100%;
    min-width: 220px;
    max-width: 240px;
    height: 100%;
    min-height: 100px;
    padding: 20px 16px;
    border-radius: 8px;
    border: 1px solid #dcdcdc;
    display: grid;
    grid-template-columns: 46px 1fr;
    grid-column-gap: 8px;
    -moz-column-gap: 8px;
    column-gap: 8px;
    align-items: center;
    transition: border-color 0.35s ease-in-out;
    text-decoration: none;
}

.swiper-slide {
    width: 240px !important;
}

.swiper-wrapper {
    padding: 0 12px !important;
}

.swiper-button-next,
.swiper-button-prev {
    display: none !important;
    width: 32px !important;
    height: 32px !important;
    background-color: rgba(0, 0, 0, 0.6) !important;
    border-radius: 50% !important;
    color: #fff !important;
}

    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-size: 16px !important; /* Reduz o tamanho do ícone */
    }

.restaurante_card_link_name {
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.125rem;
    font-weight: 400;
    color: #1a1a1a;
}

.restaurante_card_link_description {
    margin: 2px 0 0;
    font-size: 0.75rem;
    line-height: 1rem;
    color: #717171;
}

.stars {
    display: inline-block;
    font-size: 16px;
    color: #ccc;
    position: relative;
}

.star {
    display: inline-block;
    position: relative;
}

    .star::before {
        content: "★";
        color: gold;
        position: absolute;
        left: 0;
        top: 0;
        overflow: hidden;
        width: 0%;
    }

    .star.empty {
        color: #ccc;
    }

@media (min-width: 768px) {
    .app_header_nav {
        display: flex;
        font-weight: 500;
    }

        .app_header_nav > a:hover {
            color: rgb(243, 92, 92);
        }

    #menuBtn {
        cursor: pointer;
        display: none;
    }

    .app_header_container {
        grid-template-columns: 80px 1fr fit-content(100%);
        justify-content: center;
    }

    .app_header_login {
        display: flex;
    }

    .login__page {
        justify-content: end;
        padding: 64px;
        background-color: rgba(248, 231, 231, 0.87);
    }

    .login__card {
        padding: 36px 50px;
        min-height: 460px;
        align-items: center;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05), 0 4px 16px rgba(0, 0, 0, 0.06);
        border-radius: 8px;
    }

    .app_footer {
        width: 100%;
        padding: 0 30px;
        margin: 100vh auto 0 auto;
    }

    .app_footer_nav_container {
        flex-direction: row;
        max-width: 1366px !important;
        margin: 80px auto 20px auto;
    }

    .swiper-button-next,
    .swiper-button-prev {
        width: 32px !important;
        height: 32px !important;
        background-color: rgba(0, 0, 0, 0.6) !important;
        border-radius: 50% !important;
        color: #fff !important;
    }

        .swiper-button-next::after,
        .swiper-button-prev::after {
            font-size: 16px !important; /* Reduz o tamanho do ícone */
        }
}

.invalid-input {
    border: 1px solid red;
}

.btn-social {
    margin: 3px 0;
    height: 50px;
    font-weight: 500;
    transition: .1s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.grecaptcha-badge {
    display: none !important;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.animate-pulse {
    animation: pulse 1.5s ease-in-out infinite;
}

.bg-primary-site {
    background-color: #c4181d;
    color: white;
}

.icon-primary {
    @apply text-[#c4181d];
}

/* mantém ícone e texto na mesma linha e centralizados */
.app_sidebar a {
    display: flex !important;
    align-items: center;
    gap: .5rem;
}

.app_sidebar .iconify {
    vertical-align: middle !important;
    display: inline-block !important;
}

.app_sidebar a > span {
    display: inline-block;
}
