
.cookie-consent-banner {
    position: fixed;
    left: 0;
    right: 0;
    background: #ffffff;
    color: #333333;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    z-index: 9999;
    opacity: 0.95;
    border-radius: 8px;
    transition: all 0.3s ease;
    max-width: 100%;
    box-sizing: border-box;
}

.cookie-consent-banner * {
    box-sizing: border-box;
}

.cookie-consent-banner.cookie-consent-top {
    top: 0;
    border-radius: 0 0 8px 8px;
}

.cookie-consent-banner.cookie-consent-bottom {
    bottom: 0;
    border-radius: 8px 8px 0 0;
}

.cookie-consent-banner.cookie-consent-bottom-right {
    bottom: 20px;
    right: 20px;
    left: auto;
    max-width: 400px;
    border-radius: 8px;
}

.cookie-consent-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-consent-text {
    flex: 1;
    min-width: 200px;
}

.cookie-consent-privacy-link {
    color: inherit;
    text-decoration: underline;
    margin-left: 5px;
}

.cookie-consent-privacy-link:hover {
    text-decoration: none;
}

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

.cookie-consent-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    min-width: 80px;
    white-space: nowrap;
}

.cookie-consent-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.cookie-consent-btn:active {
    transform: translateY(0);
}

.cookie-consent-accept-btn {
    background: #007bff;
    color: #ffffff;
}

.cookie-consent-accept-btn:hover {
    background: #0056b3;
}

.cookie-consent-decline-btn,
.cookie-consent-settings-btn {
    background: #6c757d;
    color: #ffffff;
}

.cookie-consent-decline-btn:hover,
.cookie-consent-settings-btn:hover {
    background: #545b62;
}


.cookie-consent-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
    box-sizing: border-box;
}

.cookie-consent-modal-content {
    background: #ffffff;
    border-radius: 8px;
    max-width: 500px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.cookie-consent-modal-header {
    padding: 20px 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 20px;
}

.cookie-consent-modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    /*color: #333333;*/
}

.cookie-consent-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #6c757d;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.cookie-consent-modal-close:hover {
    background: #f8f9fa;
    color: #333333;
}

.cookie-consent-modal-body {
    padding: 0 20px;
}

.cookie-consent-category {
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #e9ecef;
    border-radius: 6px;
}

.cookie-consent-category-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-weight: 500;
    margin-bottom: 8px;
}

.cookie-consent-category-checkbox {
    margin-right: 10px;
    margin-top: 2px;
}

.cookie-consent-category-title {
    font-size: 16px;
    /*color: #333333;*/
}

.cookie-consent-category-description {
    margin: 8px 0 0 24px;
    font-size: 14px;
    /*color: #6c757d;*/
    line-height: 1.4;
}

.cookie-consent-modal-footer {
    padding: 20px;
    border-top: 1px solid #e9ecef;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}


.cookie-consent-preset-default {
    background: #f8f9fa;
    color: #333333;
    border: 1px solid #e9ecef;
}

.cookie-consent-preset-default .cookie-consent-accept-btn {
    background: #007bff;
    color: #ffffff;
}

.cookie-consent-preset-default .cookie-consent-decline-btn,
.cookie-consent-preset-default .cookie-consent-settings-btn {
    background: #6c757d;
    color: #ffffff;
}


.cookie-consent-preset-dark {
    background: #2c3e50;
    color: #ecf0f1;
    border: 1px solid #34495e;
}

.cookie-consent-preset-dark .cookie-consent-accept-btn {
    background: #3498db;
    color: #ffffff;
}

.cookie-consent-preset-dark .cookie-consent-decline-btn,
.cookie-consent-preset-dark .cookie-consent-settings-btn {
    background: #95a5a6;
    color: #ffffff;
}

.cookie-consent-preset-dark .cookie-consent-modal-content {
    background: #2c3e50;
    color: #ecf0f1;
}

.cookie-consent-preset-dark .cookie-consent-modal-header {
    border-bottom-color: #34495e;
}

.cookie-consent-preset-dark .cookie-consent-modal-header h3 {
    color: #ecf0f1;
}

.cookie-consent-preset-dark .cookie-consent-category {
    border-color: #34495e;
    background: #34495e;
}

.cookie-consent-preset-dark .cookie-consent-category-title {
    color: #ecf0f1;
}

.cookie-consent-preset-dark .cookie-consent-modal-footer {
    border-top-color: #34495e;
}

.cookie-consent-preset-light {
    background: #ffffff;
    color: #495057;
    border: 1px solid #dee2e6;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.cookie-consent-preset-light .cookie-consent-accept-btn {
    background: #28a745;
    color: #ffffff;
}

.cookie-consent-preset-light .cookie-consent-decline-btn,
.cookie-consent-preset-light .cookie-consent-settings-btn {
    background: #e9ecef;
    color: #495057;
    border: 1px solid #ced4da;
}

.cookie-consent-preset-blue {
    background: #e3f2fd;
    color: #0d47a1;
    border: 1px solid #bbdefb;
}

.cookie-consent-preset-blue .cookie-consent-accept-btn {
    background: #1976d2;
    color: #ffffff;
}

.cookie-consent-preset-blue .cookie-consent-decline-btn,
.cookie-consent-preset-blue .cookie-consent-settings-btn {
    background: #42a5f5;
    color: #ffffff;
}

.cookie-consent-preset-green {
    background: #e8f5e8;
    color: #1b5e20;
    border: 1px solid #c8e6c9;
}

.cookie-consent-preset-green .cookie-consent-accept-btn {
    background: #388e3c;
    color: #ffffff;
}

.cookie-consent-preset-green .cookie-consent-decline-btn,
.cookie-consent-preset-green .cookie-consent-settings-btn {
    background: #66bb6a;
    color: #ffffff;
}

.cookie-consent-preset-red {
    background: #ffebee;
    color: #b71c1c;
    border: 1px solid #ffcdd2;
}

.cookie-consent-preset-red .cookie-consent-accept-btn {
    background: #d32f2f;
    color: #ffffff;
}

.cookie-consent-preset-red .cookie-consent-decline-btn,
.cookie-consent-preset-red .cookie-consent-settings-btn {
    background: #ef5350;
    color: #ffffff;
}

.cookie-consent-preset-purple {
    background: #f3e5f5;
    color: #4a148c;
    border: 1px solid #e1bee7;
}

.cookie-consent-preset-purple .cookie-consent-accept-btn {
    background: #7b1fa2;
    color: #ffffff;
}

.cookie-consent-preset-purple .cookie-consent-decline-btn,
.cookie-consent-preset-purple .cookie-consent-settings-btn {
    background: #ab47bc;
    color: #ffffff;
}

.cookie-consent-preset-orange {
    background: #fff3e0;
    color: #e65100;
    border: 1px solid #ffcc02;
}

.cookie-consent-preset-orange .cookie-consent-accept-btn {
    background: #f57c00;
    color: #ffffff;
}

.cookie-consent-preset-orange .cookie-consent-decline-btn,
.cookie-consent-preset-orange .cookie-consent-settings-btn {
    background: #ffb74d;
    color: #ffffff;
}

.cookie-consent-preset-teal {
    background: #e0f2f1;
    color: #004d40;
    border: 1px solid #b2dfdb;
}

.cookie-consent-preset-teal .cookie-consent-accept-btn {
    background: #00695c;
    color: #ffffff;
}

.cookie-consent-preset-teal .cookie-consent-decline-btn,
.cookie-consent-preset-teal .cookie-consent-settings-btn {
    background: #4db6ac;
    color: #ffffff;
}

.cookie-consent-preset-pink {
    background: #fce4ec;
    color: #880e4f;
    border: 1px solid #f8bbd9;
}

.cookie-consent-preset-pink .cookie-consent-accept-btn {
    background: #ad1457;
    color: #ffffff;
}

.cookie-consent-preset-pink .cookie-consent-decline-btn,
.cookie-consent-preset-pink .cookie-consent-settings-btn {
    background: #ec407a;
    color: #ffffff;
}


@media (max-width: 768px) {
    .cookie-consent-banner {
        padding: 15px;
        font-size: 13px;
    }
    
    .cookie-consent-content {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .cookie-consent-text {
        min-width: auto;
        text-align: center;
    }
    
    .cookie-consent-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .cookie-consent-btn {
        padding: 8px 16px;
        font-size: 13px;
        min-width: 70px;
    }
    
    .cookie-consent-banner.cookie-consent-bottom-right {
        bottom: 10px;
        right: 10px;
        max-width: calc(100% - 20px);
    }
    
    .cookie-consent-modal {
        padding: 10px;
    }
    
    .cookie-consent-modal-content {
        max-height: 90vh;
    }
    
    .cookie-consent-modal-header,
    .cookie-consent-modal-body,
    .cookie-consent-modal-footer {
        padding: 15px;
    }
    
    .cookie-consent-modal-footer {
        flex-direction: column;
    }
    
    .cookie-consent-modal-footer .cookie-consent-btn {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .cookie-consent-modal-footer .cookie-consent-btn:last-child {
        margin-bottom: 0;
    }
}

@media (max-width: 480px) {
    .cookie-consent-banner {
        padding: 12px;
        font-size: 12px;
        left: 10px;
        right: 10px;
        border-radius: 6px;
    }
    
    .cookie-consent-banner.cookie-consent-top {
        top: 10px;
        border-radius: 6px;
    }
    
    .cookie-consent-banner.cookie-consent-bottom {
        bottom: 10px;
        border-radius: 6px;
    }
    
    .cookie-consent-banner.cookie-consent-bottom-right {
        left: 10px;
        right: 10px;
        bottom: 10px;
        max-width: none;
    }
    
    .cookie-consent-content {
        gap: 12px;
    }
    
    .cookie-consent-buttons {
        flex-direction: column;
        gap: 8px;
    }
    
    .cookie-consent-btn {
        width: 100%;
        padding: 10px;
        font-size: 12px;
    }
    
    .cookie-consent-modal-header h3 {
        font-size: 16px;
    }
    
    .cookie-consent-category-title {
        font-size: 14px;
    }
    
    .cookie-consent-category-description {
        font-size: 12px;
        margin-left: 20px;
    }
}

@media (max-width: 320px) {
    .cookie-consent-banner {
        padding: 10px;
        font-size: 11px;
    }
    
    .cookie-consent-btn {
        padding: 8px;
        font-size: 11px;
    }
    
    .cookie-consent-modal-header,
    .cookie-consent-modal-body,
    .cookie-consent-modal-footer {
        padding: 10px;
    }
}


.cookie-consent-banner {
    animation: slideIn 0.5s ease-out;
}

.cookie-consent-banner.cookie-consent-top {
    animation: slideInFromTop 0.5s ease-out;
}

.cookie-consent-banner.cookie-consent-bottom {
    animation: slideInFromBottom 0.5s ease-out;
}

.cookie-consent-banner.cookie-consent-bottom-right {
    animation: slideInFromBottomRight 0.5s ease-out;
}

@keyframes slideInFromTop {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 0.95;
    }
}

@keyframes slideInFromBottom {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 0.95;
    }
}

@keyframes slideInFromBottomRight {
    from {
        transform: translate(100%, 100%);
        opacity: 0;
    }
    to {
        transform: translate(0, 0);
        opacity: 0.95;
    }
}

.cookie-consent-btn:focus {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

.cookie-consent-category-checkbox:focus {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

.cookie-consent-modal-close:focus {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

@media (prefers-contrast: high) {
    .cookie-consent-banner {
        border-width: 2px;
    }
    
    .cookie-consent-btn {
        border: 2px solid currentColor;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cookie-consent-banner {
        animation: none;
    }
    
    .cookie-consent-modal-content {
        animation: none;
    }
    
    .cookie-consent-btn {
        transition: none;
    }
    
    .cookie-consent-btn:hover {
        transform: none;
    }
}
