.cookie-banner {
    position: fixed;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 1100px;
    background: #ffffffe0;
    backdrop-filter: blur(10px);
    border-radius: 8px;
    box-shadow:
        0 10px 30px rgba(0,0,0,0.12),
        0 2px 8px rgba(0,0,0,0.08);
    z-index: 99999;
    padding: 18px 30px;
    box-sizing: border-box;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

#cookie-text {
    flex: 1;
    color: #333;
    font-size: 15px;
    line-height: 1.6;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-buttons button {
    min-width: 130px;
    height: 48px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all .2s ease;
}

/* BOTÃO ACEITAR */

#accept-cookies {
    background-image: linear-gradient(to right, #44a7ea 0%, #153880 100%);
    color: white;
    border: none;
    border-bottom-left-radius: 10px;
    border-top-right-radius: 10px;
}

#accept-cookies:hover {
    opacity: .95;
    background: #44a7ea;
    transform-origin: left;
    transition: transform 2s ease-out; 
}

/* BOTÃO OPÇÕES */

#cookie-options {
    background: #ffffffe0;
    color: #153880;
    border: 2px solid #153880;
    border-bottom-left-radius: 10px;
    border-top-right-radius: 10px;
}

#cookie-options:hover {
    background: #ffffffe0;
}

/* MODAL */

.cookie-modal {
    display: none;
    position: fixed;
    inset: 0;

    background: rgba(0,0,0,.55);

    z-index: 100000;

    justify-content: center;
    align-items: center;

    padding: 20px;
}

.cookie-modal-content {
    background: #fff;
    width: 100%;
    max-width: 600px;
    border-radius: 16px;
    box-shadow:
        0 20px 50px rgba(0,0,0,.25);
    overflow: hidden;
}

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 25px 30px;

    border-bottom: 1px solid #e5e5e5;
}

.cookie-modal-header h2 {
    margin: 0;
    background-image: linear-gradient(to right, #44a7ea 0%, #153880 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 24px;
    font-weight: 700;
}

#close-cookie-modal {
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    color: #666;
}

#close-cookie-modal:hover {
    color: #000;
}

.cookie-modal-body {
    padding: 30px;
}

.cookie-option {
    padding: 20px 0;
}

.cookie-option:not(:last-child) {
    border-bottom: 1px solid #ececec;
}

.cookie-option label {
    display: flex;
    align-items: center;
    gap: 12px;

    font-size: 18px;
    font-weight: 600;

    color: #44a7ea;
}

.cookie-option p {
    margin: 10px 0 0 30px;

    font-size: 14px;
    line-height: 1.6;

    color: #666;
}

.cookie-option input[type="checkbox"] {
    width: 18px;
    height: 18px;

    accent-color: #6c7379;
}

.cookie-modal-footer {
    padding: 25px 30px;
    border-top: 1px solid #e5e5e5;

    display: flex;
    justify-content: flex-end;
}

#save-cookie-settings {
    background-image: linear-gradient(to right, #44a7ea 0%, #153880 100%);
    color: white;
    border: none;
    min-width: 180px;
    padding: 14px 28px;
    cursor: pointer;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    border-bottom-left-radius: 10px;
    border-top-right-radius: 10px;
}

#save-cookie-settings:hover {
    opacity: .95;
}

/* MOBILE */

@media (max-width: 768px) {

    .cookie-banner {
        width: calc(100% - 20px);
        bottom: 10px;
        padding: 20px;
    }

    .cookie-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        justify-content: center;
    }

    .cookie-buttons {
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 10px;
    }

    .cookie-buttons button {
        width: 40%;
        min-width: 120px;
    }

    .cookie-modal-content {
        max-height: 90vh;
        overflow-y: auto;
    }

    .cookie-modal-header {
        padding: 20px;
    }

    .cookie-modal-body {
        padding: 20px;
    }

    .cookie-modal-footer {
        padding: 20px;
        text-align: center;
    }

    #save-cookie-settings {
        width: 100%;
    }
}