/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(58, 58, 58, 0.95);
    backdrop-filter: blur(10px);
    color: white;
    padding: 20px;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

.cookie-banner-text {
    flex: 1;
}

.cookie-banner-text p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.cookie-banner-text a {
    color: #D4EFDF;
    text-decoration: underline;
}

.cookie-banner-text a:hover {
    color: #F5E6D3;
}

.cookie-banner-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.cookie-btn-accept {
    background: #D4EFDF;
    color: #3A3A3A;
}

.cookie-btn-accept:hover {
    background: #F5E6D3;
    transform: translateY(-1px);
}

.cookie-btn-reject {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-btn-reject:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.cookie-btn-customize {
    background: rgba(232, 213, 240, 0.2);
    color: white;
    border: 1px solid rgba(232, 213, 240, 0.4);
}

.cookie-btn-customize:hover {
    background: rgba(232, 213, 240, 0.3);
    border-color: rgba(232, 213, 240, 0.6);
}

/* Cookie Preferences Modal */
.cookie-preferences-modal {
    display: none;
    position: fixed;
    z-index: 10001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.cookie-preferences-content {
    background-color: white;
    margin: 10% auto;
    padding: 40px;
    border-radius: 24px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.cookie-preferences-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 20px;
}

.cookie-preferences-close:hover {
    color: #000;
}

.cookie-preferences-content h2 {
    margin-bottom: 20px;
    color: #3A3A3A;
    font-size: 1.5rem;
}

.cookie-category {
    margin-bottom: 25px;
    padding: 20px;
    border: 1px solid #E0E0E0;
    border-radius: 12px;
}

.cookie-category h3 {
    margin: 0 0 10px 0;
    color: #3A3A3A;
    font-size: 1.1rem;
}

.cookie-category p {
    margin: 0 0 15px 0;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
}

.cookie-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cookie-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.cookie-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
}

.cookie-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .cookie-slider {
    background-color: #D4EFDF;
}

input:checked + .cookie-slider:before {
    transform: translateX(26px);
}

.cookie-preferences-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #E0E0E0;
}

.cookie-preferences-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cookie-preferences-save {
    background: #3A3A3A;
    color: white;
}

.cookie-preferences-save:hover {
    background: #2A2A2A;
}

.cookie-preferences-cancel {
    background: transparent;
    color: #666;
    border: 1px solid #ccc;
}

.cookie-preferences-cancel:hover {
    background: #f5f5f5;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-banner-content {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .cookie-banner-actions {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-btn {
        font-size: 0.75rem;
        padding: 6px 12px;
    }
    
    .cookie-preferences-content {
        margin: 10% auto;
        padding: 20px;
        width: 95%;
    }
    
    .cookie-preferences-actions {
        flex-direction: column;
    }
    
    .cookie-preferences-btn {
        width: 100%;
    }
}