/* LGPD Banner Styles */
.lgpd-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999999;
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.lgpd-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.lgpd-banner-text {
    flex: 1;
    min-width: 300px;
}

.lgpd-banner-text h3 {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 600;
}

.lgpd-banner-text p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.lgpd-banner-text a {
    text-decoration: underline;
    color: inherit;
}

.lgpd-banner-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.lgpd-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    transition: opacity 0.2s;
}

.lgpd-btn:hover {
    opacity: 0.9;
}

/* Modal Styles */
.lgpd-modal {
    position: fixed;
    z-index: 1000000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lgpd-modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 30px;
    border-radius: 8px;
    max-width: 600px;
    position: relative;
    animation: slideDown 0.3s;
}

@keyframes slideDown {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.lgpd-close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #999;
}

.lgpd-close:hover {
    color: #333;
}

.lgpd-preferences-list {
    margin: 20px 0;
}

.lgpd-preference-item {
    padding: 15px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    margin-bottom: 10px;
}

.lgpd-preference-item label {
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.lgpd-preference-item input[type="checkbox"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
}

.lgpd-description {
    font-size: 13px;
    color: #6b7280;
    margin-top: 5px;
}

.lgpd-modal-buttons {
    text-align: right;
    margin-top: 20px;
}

.lgpd-btn-primary {
    background-color: #3b82f6;
}

/* Shortcode Styles */
.lgpd-preferences-shortcode {
    padding: 20px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .lgpd-banner-content {
        flex-direction: column;
        text-align: center;
    }
    
    .lgpd-banner-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .lgpd-modal-content {
        margin: 10% 20px;
        padding: 20px;
    }
}

/* Ícone Flutuante */
.lgpd-floating-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    cursor: pointer;
    z-index: 999998;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.lgpd-floating-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

.lgpd-floating-icon img {
    width: 30px;
    height: 30px;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    }
    50% {
        box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
    }
}

/* Links de Política */
.lgpd-links {
    margin-top: 10px;
    font-size: 14px;
}

.lgpd-links a {
    color: inherit;
    text-decoration: underline;
    font-weight: 600;
}

.lgpd-links a:hover {
    opacity: 0.8;
}

.lgpd-separator {
    margin: 0 10px;
    opacity: 0.5;
}

/* Modal melhorado */
.lgpd-modal-intro {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 20px;
    line-height: 1.6;
}

.lgpd-modal-intro a {
    color: #3b82f6;
    text-decoration: underline;
}

.lgpd-checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.lgpd-badge {
    background: #10b981;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.lgpd-preference-item input[type="checkbox"] {
    flex-shrink: 0;
}

.lgpd-preference-item strong {
    font-size: 15px;
    color: #1f2937;
}

.lgpd-preference-item em {
    color: #9ca3af;
    font-size: 12px;
}

/* Responsivo para ícone flutuante */
@media (max-width: 768px) {
    .lgpd-floating-icon {
        bottom: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
    }
    
    .lgpd-floating-icon img {
        width: 25px;
        height: 25px;
    }
}
