/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(26, 26, 46, 0.98);
    backdrop-filter: blur(15px);
    border-top: 2px solid var(--secondary-color);
    padding: 20px;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    color: white;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.cookie-content {
    flex: 1;
    min-width: 300px;
}

.cookie-content h6 {
    color: var(--secondary-color);
    margin-bottom: 8px;
    font-weight: 600;
}

.cookie-content p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.cookie-content a {
    color: var(--secondary-color);
    text-decoration: none;
}

.cookie-content a:hover {
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-cookie {
    padding: 8px 20px;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-cookie-accept {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.btn-cookie-reject {
    background: transparent;
    color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
}

.btn-cookie:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(233, 30, 99, 0.3);
}

/* Responsive Cookie Banner */
@media (max-width: 768px) {
    .cookie-banner .container {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-content {
        min-width: auto;
    }
    
    .cookie-actions {
        justify-content: center;
        width: 100%;
    }
    
    .btn-cookie {
        flex: 1;
        min-width: 120px;
    }
}

/* GDPR/LGPD Compliance Badge */
.compliance-badge {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(26, 26, 46, 0.9);
    color: var(--secondary-color);
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    border: 1px solid var(--secondary-color);
    z-index: 9999;
    display: none;
}

.compliance-badge.show {
    display: block;
}

/* Privacy Policy Modal Styles */
.privacy-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 11000;
    padding: 20px;
    overflow-y: auto;
}

.privacy-modal.show {
    display: block;
}

.privacy-content {
    background: var(--dark-color);
    max-width: 800px;
    margin: 0 auto;
    border-radius: 15px;
    padding: 30px;
    position: relative;
    color: white;
}

.privacy-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: var(--secondary-color);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    line-height: 1;
}

.privacy-close:hover {
    color: var(--primary-color);
}

.privacy-content h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.privacy-content h4 {
    color: var(--primary-color);
    margin-top: 25px;
    margin-bottom: 15px;
}

.privacy-content p {
    line-height: 1.6;
    margin-bottom: 15px;
}

.privacy-content ul {
    padding-left: 20px;
    margin-bottom: 15px;
}

.privacy-content li {
    margin-bottom: 8px;
}

/* Cookie Settings Panel */
.cookie-settings {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cookie-category {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-category:last-child {
    border-bottom: none;
}

.cookie-toggle {
    position: relative;
    width: 50px;
    height: 25px;
    background: #333;
    border-radius: 25px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.cookie-toggle.active {
    background: var(--secondary-color);
}

.cookie-toggle::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 21px;
    height: 21px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.cookie-toggle.active::after {
    transform: translateX(25px);
}

.cookie-category.required .cookie-toggle {
    opacity: 0.5;
    cursor: not-allowed;
}

.required-label {
    font-size: 0.7rem;
    color: var(--primary-color);
    margin-left: 5px;
    font-weight: 600;
}
