/* Cookie Consent Banner Styles */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #323232;
    color: white;
    padding: 20px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s ease-in-out;
    font-family: 'Geogrotesque Cyr', Arial, sans-serif;
}

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

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

.cookie-consent-content {
    flex: 1;
    min-width: 300px;
}

.cookie-consent-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #ecf0f1;
}

.cookie-consent-text {
    font-size: 14px;
    line-height: 1.5;
    color: #bdc3c7;
    margin-bottom: 0;
}

.cookie-consent-text a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
}

.cookie-consent-text a:hover {
    color: #e1001a;
    text-decoration: underline;
}

.cookie-consent-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.cookie-consent-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    min-width: 100px;
    background: #e1001a;
    color: white;
}

.cookie-consent-btn-accept {
    background: #e1001a;
    color: white;
}

.cookie-consent-btn-accept:hover {
    background: #b8001a;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(225, 0, 26, 0.3);
}

.cookie-consent-btn-decline {
    background: #e1001a;
    color: #fff;
    border: 1px solid #e1001a;
}

.cookie-consent-btn-decline:hover {
    background: #e1001a;
    color: #ffffff;
    border-color: #e1001a;
    transform: translateY(-1px);
}

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

.cookie-consent-btn-settings:hover {
    background: #e1001a;
    color: #ffffff;
    border-color: #e1001a;
    transform: translateY(-1px);
}

/* Cookie Settings Modal */
.cookie-settings-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cookie-settings-modal.show {
    display: flex;
}

.cookie-settings-content {
    background: white;
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.cookie-settings-header {
    padding: 24px;
    border-bottom: 1px solid #ebebeb;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #e1001a 0%, #b8001a 100%);
    color: white;
}

.cookie-settings-title {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

.cookie-settings-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #ffffff;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.cookie-settings-body {
    padding: 24px;
}

.cookie-category {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ebebeb;
}

.cookie-category:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

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

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

.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.3s;
    border-radius: 24px;
}

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

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

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

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

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

.cookie-settings-footer {
    padding: 20px 24px;
    border-top: 1px solid #ebebeb;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    background-color: #ffffff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-consent-container {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-consent-actions {
        justify-content: center;
        width: 100%;
    }
    
    .cookie-consent-btn {
        flex: 1;
        min-width: auto;
    }
    
    .cookie-settings-content {
        margin: 10px;
        max-height: 90vh;
    }
    
    .cookie-settings-footer {
        flex-direction: column;
    }
    
    .cookie-settings-footer .cookie-consent-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .cookie-consent-banner {
        padding: 16px;
    }
    
    .cookie-consent-title {
        font-size: 16px;
    }
    
    .cookie-consent-text {
        font-size: 13px;
    }
    
    .cookie-consent-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
}