/* Contenedor del modal */
.mensaje-recomendaciones {
    position: fixed;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    padding: 20px;
    width: 420px;
    max-width: 90%;
    border-radius: 12px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    z-index: 1000;
    border: 2px solid #4A90E2;
}

/* Botón de cerrar */
.btn-cerrar {
    position: absolute;
    top: 8px;
    right: 10px;
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #333;
}

    .btn-cerrar:hover {
        color: #ff0000;
    }

/* Título del mensaje */
.mensaje-titulo {
    font-size: 18px;
    font-weight: bold;
    color: #4A90E2;
    margin-bottom: 10px;
}

/* Contenido del mensaje */
.mensaje-contenido {
    font-size: 14px;
    color: #333;
    margin-bottom: 15px;
}

/* Botones */
.mensaje-botones {
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

button {
    flex: 1;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    border: none;
    transition: 0.3s;
}

/* Botón aceptar */
.btn-aceptar {
    background-color: #28a745;
    color: white;
}

    .btn-aceptar:hover {
        background-color: #218838;
    }

/* Botón rechazar */
.btn-rechazar {
    background-color: #dc3545;
    color: white;
}

    .btn-rechazar:hover {
        background-color: #c82333;
    }

/* Botón recordar más tarde */
.btn-recordar {
    background-color: #ffc107;
    color: black;
}

    .btn-recordar:hover {
        background-color: #e0a800;
    }

/* Ajuste para dispositivos móviles */
@media (max-width: 480px) {
    .mensaje-publicitario {
        width: 90%;
        font-size: 14px;
    }

    .mensaje-botones {
        flex-direction: column;
    }
}

/* Sección de negocios */
.business-section {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Encabezados */
.business-header {
    font-size: 1.3rem;
    font-weight: bold;
    text-align: center;
    color: #333;
    margin-bottom: 0.8rem;
}

.business-name {
    color: #007bff;
}

/* Tarjetas */
.business-card {
    display: flex;
    align-items: center;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    background-color: #f8f9fa;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out;
    flex-wrap: wrap;
    margin-bottom: 0.6rem;
}

    .business-card:hover {
        transform: scale(1.02);
    }

/* Imagen */
.business-card-img img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 6px;
}

/* Información */
.business-card-body {
    flex-grow: 1;
    padding: 0 0.8rem;
}

.business-category {
    color: #6c757d;
    font-size: 0.9rem;
}

/* Botones */
.button-container {
    text-align: center;
    margin-top: 1rem;
}

.btn-custom {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin: 0.4rem;
}

.btn-primary {
    background-color: #007bff;
    color: white;
}

    .btn-primary:hover {
        background-color: #0056b3;
    }

.btn-success {
    background-color: #28a745;
    color: white;
}

    .btn-success:hover {
        background-color: #218838;
    }

/* Responsividad */
@media (max-width: 390px) {
    .business-section {
        padding: 0.8rem;
    }

    .business-header {
        font-size: 1.1rem;
    }

    .business-card {
        flex-direction: column;
        text-align: center;
        padding: 0.6rem;
        margin-bottom: 0.5rem;
    }

    .business-card-img img {
        width: 90px;
        height: 90px;
    }

    .business-card-body {
        padding: 0.6rem 0;
    }

    .button-container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .btn-custom {
        width: 100%;
        padding: 0.5rem 1rem;
    }
}
