* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.container h1 {
   
    text-align: center;
}

header {
    
    padding: 10px 0;
}


/* Estilo do popup de pesquisa */
.search-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.search-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.search-input {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.btn-search {
    background-color: #1e40af;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
/* ------------------------------------- */

.logo {
    width: 70px;
}



.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5%;
    background-color: #fff;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}





main {
    padding: 20px 0;
}

h1 {
    font-size: 24px;
    margin-bottom: 20px;
}

.restaurant-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 16px;
    display: flex;
    margin-bottom: 20px;
}

.restaurant-logo {
    width: 70px;
    height: 80px;
    border-radius: 4px;
    margin-right: 16px;
}
.restaurant-info{
    width: 100%;
}

.restaurant-info h2 {
    font-size: 18px;
    margin-bottom: 4px;
}

.restaurant-info p {
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 2px;
}
.div-contato{
    display: flex;
    justify-content: space-between;
}
.div-texto {
    display: flex;
    justify-content: space-between;
}
.restaurant-links {
    align-self: flex-start;
    display: flex;
    align-items: center;
    margin-top: 8px;
}

.rating {
    color: #fbbf24;
    margin-right: 2px;
    margin-bottom: 4px;
}

.icon-link {
    color: #6b7280;
    margin-right: 8px;
}

.more-info {
    color: #3b82f6;
    text-decoration: none;
    font-size: 14px;
}

.dish-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    overflow: hidden;
}

.dish-info {
    display: flex;
    justify-content: space-between;
    padding: 16px;
}

.dish-info h3 {
    font-size: 15px;
    margin-bottom: 8px;
}

.price-info {
    display: flex;
    align-items: center;
    margin-bottom: 4px;
}

.original-price {
    color: #685353;
    
    font-size: 14px;
    margin-right: 8px;
}

.discounted-price {
    color: #245ab1;
    font-weight: bold;
    margin-right: 8px;
}



.location-type {
    color: #3b82f6;
    font-size: 14px;
}



.dish-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
}

.expiration {
    color: #6b7280;
    font-size: 14px;
}

.use-benefit {
    font-size: 13px;
    font-weight: 500;
    background-color: #203eab;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 16px;
    cursor: pointer;
}

.dish-description {
    padding: 0 16px 16px;
    color: #6b7280;
    font-size: 14px;
}



/* Estilos básicos anteriores... */

.popup {
    display: none; /* Oculta o pop-up por padrão */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Fundo transparente */
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-content {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    width: 300px;
    position: relative;
}
.popup-content h3 {
    color: #007bff;
    font-weight: 600;
}
.popup-content p{
    margin-bottom: 20px;
}

.popup-logo {
    width: 80px;
    margin: 10px;
    border-radius: 10px;
}
.popup-resgate{
    width: 200px;
    margin: 10px;
    border-radius: 10px;
}

#close-popup {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 18px;
    cursor: pointer;
}
.close{
    font-size: 20px;
    cursor: pointer;
    padding: 10px;
    background-color: antiquewhite;
}

#confirmar-btn {
    background-color: #007bff;
    color: #fff;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}



@media (max-width: 768px) {
    .restaurant-info h2 {
        font-size: 13px;
    
    }
    .restaurant-info p {
        font-size: 10px;
        
    }
    .more-info {
        font-size: 12px;
    }

    .restaurant-logo {
        margin-bottom: 16px;
    }

    .dish-image {
        height: 200px;
    }
}