@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&display=swap');

#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: black;
    color: white;
    font-family: 'Montserrat', sans-serif;
    padding: 15px 20px;
    font-size: 14px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-sizing: border-box;
    gap: 15px;
}

#cookie-banner p {
    margin: 0;
    flex: 1 1 300px;
    text-align: left;
    line-height: 1.5;
}

#cookie-banner a {
    color: #ff69b4;
    text-decoration: underline;
}

#cookie-banner .buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
    flex: 1 1 300px;
}

#cookie-banner button {
    border: none;
    padding: 10px 15px;
    font-size: 14px;
    cursor: pointer;
    border-radius: 5px;
    font-weight: 600;
    transition: background 0.3s ease;
    white-space: nowrap;
    flex: 1 1 auto;
    min-width: 120px;
}

#accept-cookies {
    background: #ff69b4;
    color: white;
}

#accept-cookies:hover {
    background: #e60073;
}

#reject-cookies {
    background: black;
    color: white;
    border: 1px solid white;
}

#reject-cookies:hover {
    background: #d189f7;
    color: black;
}

#configure-cookies {
    background: #2d4af3;
    color: white;
}

#configure-cookies:hover {
    background: #e5e5ff;
    color: black;
}

/* Botón para cambiar la configuración */
#change-cookie-settings {
    position: fixed;
    bottom: 15px;
    right: 15px;
    background: #555;
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 14px;
    cursor: pointer;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    display: none;
}

#change-cookie-settings:hover {
    background: #333;
}

/* RESPONSIVE BEHAVIOR */

/* Small tablets and phones */
@media (max-width: 768px) {
    #cookie-banner {
        flex-direction: column;
        align-items: stretch;
        text-align: left;
    }

    #cookie-banner p {
        flex: 1 1 100%;
    }

    #cookie-banner .buttons {
        justify-content: space-between;
        flex: 1 1 100%;
    }

    #cookie-banner button {
        flex: 1 1 100%;
        min-width: unset;
    }
}

/* Very small screens */
@media (max-width: 480px) {
    #cookie-banner {
        padding: 10px;
        font-size: 13px;
    }

    #cookie-banner button {
        font-size: 13px;
        padding: 8px 10px;
    }

    #cookie-banner .buttons {
        flex-direction: column;
    }
}
