/* Cookie Policy Stylesheet */
.cookie-policy-container {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
    padding: 2rem 0;
}

.cookie-header {
    position: relative;
}

.cookie-header::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #007bff, #0056b3);
    border-radius: 2px;
}

.section-divider {
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #007bff, #0056b3);
    border-radius: 2px;
    margin-bottom: 1rem;
}

.card {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.cookie-illustration,
.settings-illustration {
    padding: 1rem;
}

.cookie-type-icon {
    transition: transform 0.3s ease;
}

.card:hover .cookie-type-icon {
    transform: scale(1.1);
}

.cookie-features .badge {
    transition: transform 0.2s ease;
}

.cookie-features .badge:hover {
    transform: scale(1.05);
}

.cookie-use-item {
    padding: 1.5rem;
    border-radius: 8px;
    background: #f8f9fa;
    height: 100%;
    transition: all 0.2s ease;
    border-left: 4px solid transparent;
}

.cookie-use-item:hover {
    background: #e9ecef;
    border-left-color: #007bff;
    transform: translateX(5px);
}

.cookie-use-item i {
    font-size: 1.5rem;
}

.privacy-guarantees .guarantee-item {
    transition: padding-left 0.2s ease;
}

.privacy-guarantees .guarantee-item:hover {
    padding-left: 1rem;
}

.browser-links .btn {
    transition: all 0.2s ease;
}

.browser-links .btn:hover {
    transform: translateY(-2px);
}

.category-header i {
    transition: transform 0.3s ease;
}

.card:hover .category-header i {
    transform: rotate(5deg) scale(1.1);
}

.contact-info i {
    opacity: 0.9;
    transition: opacity 0.2s ease;
}

.contact-info i:hover {
    opacity: 1;
}

.alert {
    border-left: 4px solid;
}

.alert-success {
    border-left-color: #28a745;
}

.alert-info {
    border-left-color: #17a2b8;
}

.alert-warning {
    border-left-color: #ffc107;
}

/* Cookie animation */
@keyframes cookieBounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

.fa-cookie-bite {
    animation: cookieBounce 2s infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-policy-container {
        padding: 1rem 0;
    }

    .display-4 {
        font-size: 2rem;
    }

    .cookie-use-item {
        margin-bottom: 1rem;
    }

    .browser-links .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .cookie-type-icon i {
        font-size: 2rem !important;
    }
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #007bff;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0056b3;
}

/* Loading animation for icons */
.fa-chart-bar,
.fa-user-check,
.fa-tachometer-alt,
.fa-desktop {
    transition: color 0.3s ease;
}

.cookie-use-item:hover .fa-chart-bar,
.cookie-use-item:hover .fa-user-check,
.cookie-use-item:hover .fa-tachometer-alt,
.cookie-use-item:hover .fa-desktop {
    color: #007bff !important;
}

/* Badge hover effects */
.badge {
    transition: all 0.2s ease;
    cursor: default;
}

.badge:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}