/* COOKIE-БАННЕР для sea-express.ru — стили.
   Загрузить на сервер, например в /media/cookie-banner/cookie-banner.css */

#se-cookie-banner{
  position:fixed; left:0; right:0; bottom:0; z-index:2147483000;
  background:#0f2a43; color:#eef3f8;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  font-size:14px; line-height:1.5;
  box-shadow:0 -2px 16px rgba(0,0,0,.25);
  padding:16px 20px;
}
#se-cookie-banner.se-hidden{ display:none; }
.se-cb-wrap{ max-width:1100px; margin:0 auto; display:flex; flex-wrap:wrap; align-items:center; gap:16px; }
.se-cb-text{ flex:1 1 420px; min-width:240px; }
.se-cb-text a{ color:#7fc4ff; text-decoration:underline; }
.se-cb-actions{ display:flex; flex-wrap:wrap; gap:10px; }
.se-cb-btn{
  cursor:pointer; border-radius:6px; padding:10px 18px; font-size:14px; font-weight:600;
  border:1px solid transparent; white-space:nowrap;
}
.se-cb-btn-accept{ background:#2f8f4e; color:#fff; }
.se-cb-btn-accept:hover{ background:#278044; }
.se-cb-btn-reject{ background:transparent; color:#eef3f8; border-color:#5a7692; }
.se-cb-btn-reject:hover{ background:rgba(255,255,255,.08); }
.se-cb-btn-settings{ background:transparent; color:#7fc4ff; border-color:transparent; text-decoration:underline; padding:10px 4px; }

/* Модальное окно настроек */
#se-cookie-modal{
  position:fixed; inset:0; z-index:2147483001;
  background:rgba(10,20,30,.55);
  display:flex; align-items:center; justify-content:center; padding:16px;
}
#se-cookie-modal.se-hidden{ display:none; }
.se-cm-box{
  background:#fff; color:#1c1c1c; width:100%; max-width:560px; border-radius:10px;
  padding:24px; max-height:86vh; overflow:auto;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
}
.se-cm-box h2{ margin:0 0 12px; font-size:18px; }
.se-cm-box p{ margin:0 0 16px; font-size:14px; line-height:1.5; color:#333; }
.se-cm-cat{ border-top:1px solid #e5e5e5; padding:14px 0; }
.se-cm-cat:last-of-type{ border-bottom:1px solid #e5e5e5; }
.se-cm-cat-head{ display:flex; align-items:center; justify-content:space-between; gap:12px; }
.se-cm-cat-head strong{ font-size:14px; }
.se-cm-cat p{ margin:6px 0 0; font-size:13px; color:#555; }
.se-cm-actions{ display:flex; flex-wrap:wrap; gap:10px; margin-top:20px; }
.se-cm-actions .se-cb-btn{ flex:1 1 auto; text-align:center; }

/* Переключатель (toggle) */
.se-switch{ position:relative; display:inline-block; width:40px; height:22px; flex:0 0 auto; }
.se-switch input{ opacity:0; width:0; height:0; }
.se-switch .se-slider{ position:absolute; inset:0; background:#ccc; border-radius:22px; transition:.2s; cursor:pointer; }
.se-switch .se-slider:before{ content:""; position:absolute; height:16px; width:16px; left:3px; top:3px; background:#fff; border-radius:50%; transition:.2s; }
.se-switch input:checked + .se-slider{ background:#2f8f4e; }
.se-switch input:checked + .se-slider:before{ transform:translateX(18px); }
.se-switch input:disabled + .se-slider{ background:#9fb6c9; cursor:not-allowed; }

/* Плавающая кнопка "Настройки cookie" — открывает модалку повторно в любой момент */
#se-cookie-reopen{
  position:fixed; left:16px; bottom:16px; z-index:2147482999;
  background:#0f2a43; color:#eef3f8; border:none; border-radius:24px;
  padding:8px 14px; font-size:12px; cursor:pointer; box-shadow:0 2px 10px rgba(0,0,0,.2);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
}
#se-cookie-reopen.se-hidden{ display:none; }

@media (max-width:640px){
  .se-cb-wrap{ flex-direction:column; align-items:stretch; }
  .se-cb-actions{ justify-content:stretch; }
  .se-cb-actions .se-cb-btn{ flex:1 1 auto; text-align:center; }
}
