/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #2D2D2D 0%, #1A1A1A 100%);
    color: #FAFAFA;
    padding: 20px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    border-top: 3px solid #00D4AA;
}

.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: 24px;
}

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

.cookie-banner-text p {
    margin: 0 0 8px 0;
    font-size: 14px;
    line-height: 1.5;
}

.cookie-banner-text a {
    color: #00D4AA;
    text-decoration: underline;
    transition: color 0.2s ease;
}

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

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

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

.cookie-btn-accept {
    background: linear-gradient(135deg, #00D4AA 0%, #00B894 100%);
    color: #FAFAFA;
}

.cookie-btn-accept:hover {
    background: linear-gradient(135deg, #00B894 0%, #009A7B 100%);
    transform: translateY(-1px);
}

.cookie-btn-reject {
    background: transparent;
    color: #CCCCCC;
    border: 1px solid #555555;
}

.cookie-btn-reject:hover {
    background: #333333;
    color: #FAFAFA;
    border-color: #666666;
}

.cookie-btn-customize {
    background: transparent;
    color: #00D4AA;
    border: 1px solid #00D4AA;
}

.cookie-btn-customize:hover {
    background: #00D4AA;
    color: #FAFAFA;
}

/* Cookie Settings Modal */
.cookie-settings-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10001;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

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

.cookie-settings-content {
    background: #FAFAFA;
    border-radius: 12px;
    padding: 32px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.cookie-settings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #E5E5E5;
}

.cookie-settings-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: #2D2D2D;
    margin: 0;
}

.cookie-settings-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #666666;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
    transition: color 0.2s ease;
}

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

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

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

.cookie-category-header h4 {
    font-size: 18px;
    font-weight: 600;
    color: #2D2D2D;
    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: #CCCCCC;
    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: #00D4AA;
}

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

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

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

.cookie-settings-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid #E5E5E5;
}

.cookie-settings-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cookie-settings-btn-save {
    background: linear-gradient(135deg, #00D4AA 0%, #00B894 100%);
    color: #FAFAFA;
}

.cookie-settings-btn-save:hover {
    background: linear-gradient(135deg, #00B894 0%, #009A7B 100%);
}

.cookie-settings-btn-cancel {
    background: transparent;
    color: #666666;
    border: 1px solid #CCCCCC;
}

.cookie-settings-btn-cancel:hover {
    background: #F5F5F5;
    color: #2D2D2D;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-banner-content {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .cookie-banner-actions {
        justify-content: center;
        flex-wrap: wrap;
    }

    .cookie-btn {
        flex: 1;
        min-width: 100px;
    }

    .cookie-settings-content {
        padding: 24px 20px;
        margin: 10px;
    }

    .cookie-settings-header h3 {
        font-size: 20px;
    }

    .cookie-category {
        padding: 16px;
    }

    .cookie-category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .cookie-settings-actions {
        flex-direction: column;
    }

    .cookie-settings-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .cookie-banner {
        padding: 16px;
    }

    .cookie-banner-text p {
        font-size: 13px;
    }

    .cookie-btn {
        padding: 8px 16px;
        font-size: 13px;
    }

    .cookie-settings-content {
        padding: 20px 16px;
    }
}