﻿.google-map-container {
    position: relative;
    width: 300px;
    height: 300px;
}

    .google-map-container iframe {
        display: block;
        width: 300px;
        height: 300px;
    }

.google-map-placeholder {
    display: flex;
    width: 300px;
    height: 300px;
    box-sizing: border-box;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    background: #eeeeee;
}

    .google-map-placeholder button {
        background: #f1d600;
        border: 0;
        padding: 10px 15px;
        cursor: pointer;
    }




/* Panel de preferencias */
.cookie-preferences {
    display: none;
    position: fixed;
    z-index: 999999;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 500px;
    max-height: 85vh;
    overflow-y: auto;
    box-sizing: border-box;
    padding: 25px;
    background: #ffffff;
    color: #333333;
    border-radius: 6px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

    /* Título */
    .cookie-preferences h3 {
        margin-top: 0;
        margin-bottom: 15px;
        font-size: 20px;
    }

/* Categorías */
.cookie-category {
    padding: 12px 0;
    border-bottom: 1px solid #dddddd;
}

    .cookie-category label {
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
    }

    .cookie-category strong {
        font-size: 15px;
    }

    .cookie-category p {
        margin: 8px 0 0;
        font-size: 13px;
        color: #666666;
        line-height: 1.5;
    }

    .cookie-category input[type="checkbox"] {
        width: 18px;
        height: 18px;
        cursor: pointer;
    }

/* Cookies obligatorias */
.cookie-required {
    font-size: 12px;
    color: #777777;
}

/* Botones */
.cookie-preferences-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

    .cookie-preferences-buttons button {
        flex: 1;
        padding: 11px 8px;
        border: none;
        border-radius: 4px;
        background: #f1d600;
        color: #222222;
        font-weight: bold;
        cursor: pointer;
    }

        .cookie-preferences-buttons button:hover {
            background: #e0c800;
        }

/* Adaptación móvil */
@media (max-width: 480px) {
    .cookie-preferences {
        width: 95%;
        padding: 18px;
    }

    .cookie-preferences-buttons {
        flex-direction: column;
    }
}

/* Banner principal */
.cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    box-sizing: border-box;
    padding: 20px;
    background: #222222;
    color: #ffffff;
    z-index: 999998;
    box-shadow: 0 -3px 10px rgba(0, 0, 0, 0.25);
}

.cookie-banner-text {
    max-width: 1100px;
    margin: 0 auto 15px auto;
}


.cookie-banner-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

    .cookie-banner-buttons button {
        padding: 10px 20px;
        border: none;
        border-radius: 4px;
        background: #f1d600;
        color: #222222;
        font-weight: bold;
        cursor: pointer;
    }

        .cookie-banner-buttons button:hover {
            background: #e0c800;
        }

@media (max-width: 600px) {
    .cookie-banner-buttons {
        flex-direction: column;
    }

        .cookie-banner-buttons button {
            width: 100%;
        }
}