/* Cookie Banner Styles */
#cookieBanner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    border-top: 3px solid #008dab;
}

#cookieBanner.show {
    transform: translateY(0);
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-banner-text {
    flex: 1;
    min-width: 250px;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #333;
}

.cookie-banner-text a {
    color: #008dab;
    text-decoration: underline;
}

.cookie-banner-text a:hover {
    color: #006d85;
}

.cookie-banner-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.cookie-banner-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-family: 'Jost', sans-serif;
}

.cookie-banner-btn-accept {
    background-color: #008dab;
    color: white;
}

.cookie-banner-btn-accept:hover {
    background-color: #006d85;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 141, 171, 0.3);
}

.cookie-banner-btn-reject {
    background-color: #6c757d;
    color: white;
}

.cookie-banner-btn-reject:hover {
    background-color: #5a6268;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(108, 117, 125, 0.3);
}

.cookie-banner-btn-settings {
    background-color: transparent;
    color: #008dab;
    border: 2px solid #008dab;
}

.cookie-banner-btn-settings:hover {
    background-color: #008dab;
    color: white;
    transform: translateY(-1px);
}

/* Cookie Settings Modal */
.cookie-settings-section {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.cookie-settings-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.cookie-settings-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.cookie-settings-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0b4660;
    margin: 0;
}

.cookie-settings-description {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 12px;
}

.cookie-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cookie-toggle input[type="checkbox"] {
    width: 48px;
    height: 24px;
    cursor: pointer;
    appearance: none;
    background-color: #ccc;
    border-radius: 24px;
    position: relative;
    transition: background-color 0.3s ease;
}

.cookie-toggle input[type="checkbox"]:checked {
    background-color: #008dab;
}

.cookie-toggle input[type="checkbox"]::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: white;
    top: 2px;
    left: 2px;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.cookie-toggle input[type="checkbox"]:checked::before {
    transform: translateX(24px);
}

.cookie-toggle-label {
    font-weight: 600;
    color: #333;
    cursor: pointer;
    user-select: none;
}

.cookie-list {
    list-style: none;
    padding: 0;
    margin: 12px 0 0 0;
}

.cookie-list li {
    padding: 8px 0;
    font-size: 0.85rem;
    color: #555;
    border-bottom: 1px solid #f0f0f0;
}

.cookie-list li:last-child {
    border-bottom: none;
}

.cookie-list li strong {
    color: #333;
}

.essential-badge {
    display: inline-block;
    background-color: #28a745;
    color: white;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 12px;
    margin-left: 8px;
    font-weight: 600;
}

.optional-badge {
    display: inline-block;
    background-color: #ffc107;
    color: #333;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 12px;
    margin-left: 8px;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    #cookieBanner {
        padding: 16px;
    }

    .cookie-banner-content {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-banner-text {
        margin-bottom: 16px;
        text-align: center;
    }

    .cookie-banner-actions {
        justify-content: center;
        width: 100%;
    }

    .cookie-banner-btn {
        flex: 1;
        min-width: 100px;
    }

    .cookie-settings-header {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 576px) {
    .cookie-banner-actions {
        flex-direction: column;
    }

    .cookie-banner-btn {
        width: 100%;
    }
}

