/* Estilos para o banner de consentimento de cookies */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #202020;
    color: #f1f1f1;
    z-index: 1050;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    display: none; /* Oculto por padrão */
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
}

.cookie-banner-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
    flex-wrap: wrap;
}

.cookie-banner-text {
    flex: 1 1 60%;
    min-width: 300px;
}

.cookie-banner-text p {
    margin: 5px 0;
}

.cookie-banner-actions {
    flex: 1 1 40%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    min-width: 300px;
}

.cookie-btn {
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.2s;
    white-space: nowrap;
}

.cookie-btn-accept {
    background-color: #4CAF50;
    color: white;
}
.cookie-btn-accept:hover {
    background-color: #45a049;
}

.cookie-btn-reject, .cookie-btn-configure {
    background-color: #4f4f4f;
    color: white;
}
.cookie-btn-reject:hover, .cookie-btn-configure:hover {
    background-color: #5f5f5f;
}

/* Detalhes / Configurações */
.cookie-details {
    background-color: #2c2c2c;
    padding: 25px;
    display: none; /* Oculto por padrão */
}

.cookie-details h3 {
    margin-top: 0;
    border-bottom: 1px solid #444;
    padding-bottom: 10px;
}

.cookie-category {
    margin: 15px 0;
}

.cookie-category label {
    display: flex;
    align-items: center;
    font-size: 16px;
}

.cookie-category input[type="checkbox"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
}

.cookie-category p {
    font-size: 13px;
    color: #ccc;
    margin: 5px 0 0 28px;
}

.cookie-details-actions {
    margin-top: 20px;
    text-align: right;
}

.cookie-policy-link {
    margin-top: 20px;
    font-size: 12px;
    text-align: center;
}

.cookie-policy-link a {
    color: #4CAF50;
    text-decoration: none;
}
.cookie-policy-link a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .cookie-banner-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .cookie-banner-actions {
        justify-content: flex-start;
        width: 100%;
    }
}
