/* Компактное горизонтальное окно согласия */
.ls-consent-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    bottom: var(--ls-pos-bottom, 20px);
    left: var(--ls-pos-left, 20px);
    right: var(--ls-pos-right, auto);
    transform: var(--ls-transform, none);
    max-width: 520px;
    width: 90%;
    animation: lsSlideUp 0.4s ease;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

.ls-consent-modal.ls-active {
    display: block;
}

.ls-consent-content {
    background-color: var(--ls-bg-color, #ffffff);
    color: var(--ls-text-color, #333333);
    border: 2px solid var(--ls-border-color, #d4a574);
    border-radius: 12px;
    padding: 20px 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    position: relative;
}

.ls-consent-close {
    position: absolute;
    right: 10px;
    top: 10px;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--ls-text-color, #999);
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
    line-height: 1;
    opacity: 0.6;
}

.ls-consent-close:hover {
    background: rgba(0,0,0,0.05);
    opacity: 1;
    transform: rotate(90deg);
}

.ls-consent-header h3 {
    margin: 0 0 10px 0;
    font-size: 18px;
    font-weight: 700;
    color: inherit;
    padding-right: 20px; /* место для крестика */
}

.ls-consent-text p {
    margin: 0 0 12px 0;
    font-size: 14px;
    line-height: 1.5;
    color: inherit;
}

.ls-consent-links {
    margin: 0 !important;
    font-size: 13px;
}

.ls-consent-links a {
    color: inherit;
    text-decoration: underline;
    font-weight: 600;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.ls-consent-links a:hover {
    opacity: 1;
}

/* Блок для одной кнопки */
.ls-consent-buttons {
    display: flex;
    flex-direction: row;
    margin-top: 15px;
}

/* ЕДИНАЯ КНОПКА "ПРИНИМАЮ" (растянута на всю ширину) */
.ls-btn-accept {
    background-color: var(--ls-btn-bg, #8b4513) !important;
    color: var(--ls-btn-text, #ffffff) !important;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    width: 100%; /* Кнопка занимает всю доступную ширину */
    text-align: center;
    font-family: inherit;
}

.ls-btn-accept:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

@keyframes lsSlideUp {
    from { transform: var(--ls-transform, none) translateY(20px); opacity: 0; }
    to { transform: var(--ls-transform, none) translateY(0); opacity: 1; }
}

/* Адаптивность для мобильных */
@media (max-width: 480px) {
    .ls-consent-modal {
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
        transform: none;
    }
    
    .ls-consent-content {
        border: none;
        border-top: 3px solid var(--ls-border-color, #d4a574);
        border-radius: 12px 12px 0 0;
        padding: 20px;
    }
}