
/* Cookie Consent Banner */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    right: 0;
    left: 0;
/*    background-color: var(--color-surface); */
    background-color: #FFFFFF;
    border-top: 1px solid var(--color-border);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    z-index: 9999;
    animation: slideUp 0.3s ease-out;
    direction: rtl;
    text-align: right;
}

.cookie-consent-banner.hidden {
    display: none;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-consent-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-consent-text {
    flex: 1;
    min-width: 250px;
    font-size: 14px;
    line-height: 1.6;
}

.cookie-consent-text p {
    margin: 0;
}

.cookie-consent-text a {
    color: #0000FF;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.cookie-consent-text a:hover {
    color: var(--color-primary-hover);
    text-decoration: underline;
}

.cookie-consent-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.btn-cookie {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.btn-accept {
    background-color: #000000;
    color: #FFFFFF;
}

.btn-accept:hover {
    background-color: var(--color-primary-hover);
}

.btn-accept:active {
    transform: scale(0.98);
}

.btn-reject {
    background-color: transparent;
    color: var(--color-text-primary);
    border: 1px solid var(--color-border);
}

.btn-reject:hover {
    background-color: #f0f0f0;
}

.btn-settings {
    background-color: transparent;
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
    padding: 10px 16px;
}

.btn-settings:hover {
    background-color: rgba(32, 128, 128, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .cookie-consent-container {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-consent-actions {
        justify-content: stretch;
    }

    .btn-cookie {
        flex: 1;
        text-align: center;
    }

    .cookie-consent-banner {
        padding: 16px;
    }
}

/* Demo styles */
.demo-section {
    background: white;
    padding: 24px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid var(--color-border);
}

.status-message {
    padding: 12px 16px;
    border-radius: 6px;
    margin-top: 10px;
    display: none;
}

.status-message.show {
    display: block;
}

.status-message.success {
    background-color: rgba(50, 184, 198, 0.1);
    color: var(--color-success);
    border: 1px solid var(--color-success);
}
