/* Cookie Consent Banner Styles */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bs-body-bg);
    border-top: 1px solid var(--bs-border-color);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1050;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    padding: 1.5rem 0;
}

.cookie-consent-banner.show {
    transform: translateY(0);
}

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.cookie-consent-text {
    flex: 1 1 auto;
    min-width: 300px;
}

.cookie-consent-text h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--bs-heading-color);
    margin-bottom: 0.5rem;
}

.cookie-consent-text p {
    color: var(--bs-body-color);
    font-size: 0.95rem;
    line-height: 1.5;
}

.cookie-link {
    color: var(--bs-primary);
    text-decoration: none;
    font-weight: 500;
}

.cookie-link:hover {
    text-decoration: underline;
}

.cookie-consent-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* Cookie Preferences Modal Styles */
.cookie-category {
    padding: 1rem;
    background: var(--bs-gray-100);
    border-radius: 0.5rem;
}

.dark-style .cookie-category {
    background: rgba(255, 255, 255, 0.05);
}

.cookie-category h6 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--bs-heading-color);
}

.cookie-category .form-check-input {
    width: 2.5rem;
    height: 1.25rem;
}

.cookie-list {
    margin-top: 0.5rem;
}

.cookie-list .badge {
    font-weight: 400;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-consent-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-consent-text {
        min-width: 100%;
    }

    .cookie-consent-actions {
        width: 100%;
        justify-content: center;
    }

    .cookie-consent-actions .btn {
        flex: 1;
        min-width: 100px;
    }
}

/* Dark Mode Support */
.dark-style .cookie-consent-banner {
    background: var(--bs-body-bg);
    border-top-color: var(--bs-border-color);
}

.dark-style .cookie-list .badge.bg-light {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: var(--bs-body-color) !important;
}

/* Animation for banner appearance */
@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-consent-banner.show {
    animation: slideUp 0.3s ease-out forwards;
}