/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #2a2a2a;
    color: #f8f6f3;
    padding: 20px;
    z-index: 10000;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.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;
    font-size: 14px;
    line-height: 1.5;
}

.cookie-banner-text p {
    margin: 0;
    color: #f8f6f3;
}

.cookie-banner-text a {
    color: #7a9cc6;
    text-decoration: none;
}

.cookie-banner-text a:hover {
    text-decoration: underline;
}

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

.cookie-settings-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-settings-content {
    background-color: #f8f6f3;
    margin: 5% auto;
    padding: 30px;
    border-radius: 6px;
    width: 90%;
    max-width: 600px;
    position: relative;
    max-height: 80vh;
    overflow-y: auto;
}

.cookie-settings-close {
    color: #666;
    float: right;
    font-size: 28px;
    font-weight: 300;
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 20px;
}

.cookie-settings-close:hover {
    color: #2a2a2a;
}

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

.cookie-category h4 {
    font-size: 16px;
    font-weight: 500;
    color: #2a2a2a;
    margin-bottom: 10px;
}

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

.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: #7a9cc6;
}

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

input:disabled + .cookie-slider {
    background-color: #7a9cc6;
    opacity: 0.6;
    cursor: not-allowed;
}

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

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

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

.cookie-btn-accept:hover {
    background-color: #6a8bb6;
}

.cookie-btn-save {
    background-color: #7a9cc6;
    color: #fff;
}

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

.cookie-btn-decline:hover {
    background-color: #666;
}

.cookie-btn-save:hover {
    background-color: #6a8bb6;
}

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

.cookie-btn-settings:hover {
    background-color: #7a9cc6;
    color: #fff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-banner-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-banner-actions {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .cookie-settings-actions {
        justify-content: center;
    }
    
    .cookie-btn {
        min-width: 100px;
    }
}