.cookie-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    padding: 20px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    z-index: 1000;
    box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.1), 0 -2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border-top: 1px solid #e5e5e5;
}

.cookie-bar.hidden {
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
}

.cookie-bar .cookie-title {
    line-height: 1.5;
    margin-bottom: 0;
    font-weight: 500;
    color: #666;
    font-size: 14px;
}

.cookie-bar .cookie-description {
    line-height: 1.5;
    color: #666;
    font-size: 14px;
}

.cookie-bar .cookie-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.cookie-btn {
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.cookie-accept-btn {
    background: #000;
    color: #fff;
}

.cookie-accept-btn:hover {
    background: #333;
}

.cookie-reject-btn {
    background: #f5f5f5;
    color: #333;
    border: 1px solid #ddd;
}

.cookie-reject-btn:hover {
    background: #e5e5e5;
}

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

.cookie-settings-btn:hover {
    background: #f9f9f9;
    color: #333;
}

.cookie-preferences-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.cookie-preferences-modal.show {
    opacity: 1;
    pointer-events: all;
}

.cookie-preferences-content {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.cookie-preferences-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

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

.cookie-preferences-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

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

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.cookie-category-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.cookie-category-description {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 10px;
}

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

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

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

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

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

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

.cookie-toggle input:disabled + .cookie-toggle-slider {
    background-color: #000;
    cursor: not-allowed;
}

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

.cookie-category-details {
    font-size: 12px;
    color: #888;
    margin-top: 8px;
    line-height: 1.4;
}

@media (min-width: 1060px) {
    .cookie-bar {
        flex-direction: row;
        gap: 0;
        text-align: left;
    }
    
    .cookie-bar .cookie-title {
        margin-bottom: 0;
        flex: 1;
    }
    
    .cookie-bar .cookie-description {
        margin-right: 12px;
        flex: 1;
    }
    
    .cookie-bar .cookie-actions {
        justify-content: flex-end;
        flex-shrink: 0;
    }
}

@media (max-width: 767px) {
    .cookie-preferences-content {
        margin: 10px;
        padding: 20px;
    }
    
    .cookie-preferences-actions {
        flex-direction: column;
    }
    
    .cookie-btn {
        width: 100%;
        text-align: center;
    }
} 