/* Основен контейнер */
#pixel-cookie-banner { display: none; position: fixed; bottom: 40px; left: 20px; right: 20px; margin: 0 auto; max-width: 850px; box-sizing: border-box; background: #fbfaf6; box-shadow: 0 10px 40px rgba(0,0,0,0.15); z-index: 2147483647 !important; padding: 35px 40px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; border: 1px solid #eaeaea; }

/* Flexbox оформление (текст отляво, бутони отдясно) */
.pixel-cookie-wrapper { display: flex; justify-content: space-between; align-items: center; gap: 40px; }

/* Лява част (Текст) */
.pixel-cookie-content { flex: 1; }
.pixel-cookie-brand { font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: #666; margin-bottom: 12px; }
.pixel-cookie-title { font-family: 'Playfair Display', Georgia, serif; font-size: 26px; font-weight: normal; color: #111; margin: 0 0 15px 0; }
.pixel-cookie-text { font-size: 13.5px; line-height: 1.6; color: #333; margin: 0 0 20px 0; }
.pixel-cookie-link { font-size: 12.5px; color: #333; text-decoration: underline; font-weight: 500; }

/* Дясна част (Бутони на банера) */
.pixel-cookie-buttons { display: flex; flex-direction: column; gap: 12px; width: 220px; flex-shrink: 0; }
.pixel-cookie-btn { background: #ffffff; border: 1px solid #111; color: #111; padding: 12px 15px; font-size: 13px; cursor: pointer; text-align: center; transition: all 0.2s ease; font-family: inherit; }
.pixel-cookie-btn:hover { background: #111; color: #ffffff; }

/* Модален прозорец за Настройки (ТЪМЕН ФОН) */
#pixel-cookie-settings { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.7); z-index: 2147483647 !important; overflow-y: auto; padding: 40px 15px; box-sizing: border-box; }

/* Кутия на настройките (БЯЛОТО ПРОЗОРЧЕ) */
.pixel-settings-box { background: #fbfaf6; padding: 35px 40px; width: 100%; max-width: 600px; margin: auto; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; box-shadow: 0 10px 40px rgba(0,0,0,0.3); border-radius: 4px; position: relative; z-index: 2147483647 !important; }
.pixel-settings-box h3 { font-family: 'Playfair Display', Georgia, serif; font-size: 26px; margin-top: 0; margin-bottom: 15px; color: #111; }
.pixel-settings-item { padding: 15px 0; border-top: 1px solid #eaeaea; }
.pixel-settings-label { display: flex; align-items: center; font-size: 15px; font-weight: 600; cursor: pointer; color: #111; margin-bottom: 5px; }
.pixel-settings-label input { margin-right: 12px; width: 18px; height: 18px; accent-color: #111; cursor: pointer; }
.pixel-settings-desc { font-size: 13px; color: #555; line-height: 1.5; padding-left: 30px; }
.pixel-settings-footer { font-size: 12px; color: #666; line-height: 1.5; margin-top: 20px; padding-top: 15px; border-top: 1px solid #eaeaea; margin-bottom: 20px; }

/* Двата бутона един до друг в настройките */
.pixel-settings-actions { display: flex; gap: 15px; }
.pixel-settings-actions .pixel-cookie-btn { flex: 1; background: transparent; padding: 12px 15px; font-size: 14px; }
.pixel-settings-actions .pixel-cookie-btn:hover { background: #111 !important; color: #ffffff !important; border-color: #111 !important; }

/* Мобилна версия (Плаваща карта като Nikole) */
@media (max-width: 768px) {
    #pixel-cookie-banner { bottom: 20px !important; left: 15px !important; right: 15px !important; width: auto !important; padding: 25px 20px !important; border: 1px solid #eaeaea !important; border-radius: 4px !important; z-index: 2147483647 !important; }
    .pixel-cookie-wrapper { flex-direction: column; text-align: left; gap: 15px; }
    .pixel-cookie-brand { margin-bottom: 5px; font-size: 10px; }
    .pixel-cookie-title { font-size: 22px; margin-bottom: 10px; }
    .pixel-cookie-text { font-size: 13px; margin-bottom: 15px; line-height: 1.5; }
    .pixel-cookie-link { display: inline-block; margin-bottom: 10px; }
    .pixel-cookie-buttons { flex-direction: row; flex-wrap: wrap; width: 100%; gap: 10px; }
    #btn-accept, #btn-decline { flex: 1; min-width: calc(50% - 5px); padding: 12px 10px; font-size: 13px; }
    #btn-settings { width: 100%; flex: none; padding: 12px 10px; font-size: 13px; }
    #pixel-cookie-settings { padding: 20px 10px !important; }
    .pixel-settings-box { padding: 25px 20px; width: 100%; }
    .pixel-settings-actions { flex-direction: column; gap: 10px; }
}