/**
 * Cookie Notice Pro - Estilos
 */

#cookie-notice {
    position: fixed;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 99999;
    padding: 8px;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#cookie-notice.cn-position-bottom {
    bottom: 0;
}

#cookie-notice.cn-position-top {
    top: 0;
}

/* Efeitos de animação */
#cookie-notice.cn-effect-fade {
    opacity: 0;
}

#cookie-notice.cn-effect-fade.cookie-notice-visible {
    opacity: 1;
}

#cookie-notice.cn-effect-slide.cn-position-bottom {
    transform: translateY(100%);
}

#cookie-notice.cn-effect-slide.cn-position-top {
    transform: translateY(-100%);
}

#cookie-notice.cn-effect-slide.cookie-notice-visible {
    transform: translateY(0);
}

.cookie-notice-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cn-text-container {
    flex: 1;
    min-width: 250px;
}

.cn-text-container a {
    transition: opacity 0.3s;
}

.cn-text-container a:hover {
    opacity: 0.8;
}

.cn-buttons-container {
    display: flex;
    gap: 10px;
    align-items: center;
}

.cn-button {
    padding: 7px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: opacity 0.3s ease, transform 0.2s ease;
}

.cn-button:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.cn-button:active {
    transform: translateY(0);
}

.cn-close-icon {
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    position: relative;
    padding: 0;
    margin-left: 10px;
    transition: opacity 0.3s ease, transform 0.2s ease;
}

.cn-close-icon:hover {
    opacity: 0.7;
    transform: rotate(90deg);
}

.cn-close-icon::before,
.cn-close-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 2px;
    background: currentColor;
    color: inherit;
}

.cn-close-icon::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.cn-close-icon::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

/* Responsividade */
@media (max-width: 768px) {
    #cookie-notice {
        padding: 15px;
        font-size: 13px;
    }

    .cookie-notice-container {
        gap: 15px;
    }

    .cn-button {
        padding: 8px 20px;
        font-size: 13px;
    }

    .cn-text-container {
        min-width: 100%;
        text-align: center;
    }

    .cn-buttons-container {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    #cookie-notice {
        padding: 12px;
    }

    .cn-button {
        flex: initial;
       
    }
}