/* Cookie Consent Banner Styling */

#cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    border-top: 3px solid var(--primary-color);
}

#cookie-consent-banner.show {
    transform: translateY(0);
}

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-text h3 {
    margin: 0 0 0.5rem 0;
    color: var(--text-dark);
    font-size: 1.25rem;
}

.cookie-text p {
    margin: 0;
    color: var(--text-color);
    line-height: 1.6;
}

.cookie-text a {
    color: var(--primary-color);
    text-decoration: underline;
    cursor: pointer;
}

.cookie-text a:hover {
    color: var(--primary-dark);
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-buttons .btn {
    white-space: nowrap;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cookie-buttons .btn-primary {
    background: var(--primary-color);
    color: white;
}

.cookie-buttons .btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 120, 212, 0.2);
}

.cookie-buttons .btn-secondary {
    background: var(--bg-light);
    color: var(--text-dark);
    border: 2px solid var(--border-color);
}

.cookie-buttons .btn-secondary:hover {
    background: var(--border-color);
}

.cookie-buttons .btn-text {
    background: transparent;
    color: var(--text-color);
    text-decoration: underline;
}

.cookie-buttons .btn-text:hover {
    color: var(--primary-color);
}

/* Cookie Settings */
.cookie-category {
    margin: 1rem 0;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 5px;
}

.cookie-category-header {
    margin-bottom: 0.5rem;
}

.cookie-category-header label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 1rem;
}

.cookie-category-header input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.cookie-category-header input[type="checkbox"]:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.cookie-category-desc {
    margin: 0.5rem 0 0 1.75rem;
    font-size: 0.875rem;
    color: var(--text-color);
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 968px) {
    .cookie-consent-content {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-buttons {
        flex-direction: column;
    }

    .cookie-buttons .btn {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .cookie-consent-content {
        padding: 1rem;
    }

    .cookie-text h3 {
        font-size: 1.1rem;
    }

    .cookie-text p {
        font-size: 0.9rem;
    }

    .cookie-buttons .btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
}

/* Cookie Settings Toggle */
.cookie-settings-link {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: var(--bg-light);
    color: var(--text-dark);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.cookie-settings-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 120, 212, 0.2);
}

/* Print - hide cookie banner */
@media print {
    #cookie-consent-banner,
    .cookie-settings-link {
        display: none !important;
    }
}
