/* LGPD Compliance Styles */
/* Cookie Consent Banner */
.lgpd-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-top: 3px solid #0d6efd;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    padding: 1rem;
    animation: slideUpBanner 0.5s ease-out;
}

@keyframes slideUpBanner {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.lgpd-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.lgpd-banner-text {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.lgpd-banner-icon {
    color: #0d6efd;
    font-size: 2rem;
    flex-shrink: 0;
}

.lgpd-banner-message {
    flex: 1;
}

.lgpd-banner-message h5 {
    margin: 0 0 0.25rem 0;
    font-weight: 600;
    color: #2c3e50;
    font-size: 1.1rem;
}

.lgpd-banner-message p {
    margin: 0;
    color: #5d6d7e;
    font-size: 0.9rem;
    line-height: 1.4;
}

.lgpd-link {
    color: #0d6efd;
    text-decoration: none;
    font-weight: 500;
}

.lgpd-link:hover {
    color: #0a58ca;
    text-decoration: underline;
}

.lgpd-banner-actions {
    flex-shrink: 0;
}

.lgpd-action-buttons {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.lgpd-action-buttons .btn {
    white-space: nowrap;
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.lgpd-action-buttons .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Cookie Preferences Modal */
.cookie-category {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    border-left: 4px solid #0d6efd;
}

.cookie-category-header {
    margin-bottom: 0.75rem;
}

.cookie-category-header .form-check {
    margin-bottom: 0;
}

.cookie-category-header .form-check-label {
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cookie-description {
    color: #6c757d;
    margin: 0.5rem 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.cookie-details {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid #e9ecef;
}

.cookie-details small {
    line-height: 1.5;
}

/* Form Switches */
.form-check-input:checked {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.form-check-input:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Floating Cookie Settings Button */
.cookie-settings-floating {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.cookie-settings-floating .btn {
    border-radius: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-width: 2px;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.cookie-settings-floating .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    background: #ffffff;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .lgpd-banner {
        padding: 1rem 0.5rem;
    }
    
    .lgpd-banner-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .lgpd-banner-text {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .lgpd-banner-icon {
        align-self: center;
    }
    
    .lgpd-action-buttons {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }
    
    .lgpd-action-buttons .btn {
        flex: 1;
        min-width: 120px;
    }
    
    .cookie-settings-floating {
        bottom: 70px; /* Account for mobile bottom nav */
        right: 15px;
    }
}

@media (max-width: 576px) {
    .lgpd-banner-message h5 {
        font-size: 1rem;
    }
    
    .lgpd-banner-message p {
        font-size: 0.85rem;
    }
    
    .lgpd-action-buttons .btn {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
        min-width: 100px;
    }
    
    .cookie-category {
        padding: 0.75rem;
    }
}

/* Privacy Center Styles */
.privacy-center-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid #dee2e6;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.privacy-center-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.privacy-center-card .card-icon {
    font-size: 2.5rem;
    color: #0d6efd;
    margin-bottom: 1rem;
}

.privacy-center-card h3 {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.privacy-center-card p {
    color: #6c757d;
    margin-bottom: 1.25rem;
    line-height: 1.5;
}

.privacy-center-card .btn {
    border-radius: 8px;
    font-weight: 500;
    padding: 0.6rem 1.5rem;
    transition: all 0.2s ease;
}

.privacy-center-card .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Data Request Form */
.data-request-form {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 2rem;
    margin: 2rem 0;
}

.data-request-form .form-label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.data-request-form .form-control,
.data-request-form .form-select {
    border-radius: 8px;
    border: 2px solid #e9ecef;
    padding: 0.75rem 1rem;
    transition: border-color 0.2s ease;
}

.data-request-form .form-control:focus,
.data-request-form .form-select:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.15);
}

.data-request-form .btn-primary {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    border: none;
    border-radius: 8px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.data-request-form .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(13, 110, 253, 0.3);
}

/* Success/Error Messages */
.lgpd-alert {
    border-radius: 10px;
    padding: 1rem 1.5rem;
    margin: 1rem 0;
    font-weight: 500;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.lgpd-alert.alert-success {
    background: linear-gradient(135deg, #d1edff 0%, #b3d9ff 100%);
    color: #0c5460;
}

.lgpd-alert.alert-warning {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    color: #856404;
}

.lgpd-alert.alert-danger {
    background: linear-gradient(135deg, #f8d7da 0%, #f1aeb5 100%);
    color: #721c24;
}

/* Badge Styles */
.privacy-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.privacy-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
    color: white;
    text-decoration: none;
}

/* Loading Spinner */
.lgpd-spinner {
    display: inline-block;
    width: 1.5rem;
    height: 1.5rem;
    border: 3px solid rgba(13, 110, 253, 0.3);
    border-radius: 50%;
    border-top-color: #0d6efd;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}