/* CIS Aplicaciones - módulo de consentimiento de cookies */
.cis-cookie-banner[hidden], .cis-cookie-modal[hidden], .cis-cookie-reopen[hidden] { display: none !important; }
.cis-cookie-banner {
  position: fixed; z-index: 2147483000; left: 22px; right: 22px; bottom: 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  max-width: 1180px; margin: 0 auto; padding: 20px 22px;
  color: #242424; background: #fff; border: 1px solid #dedede; border-radius: 10px;
  box-shadow: 0 10px 35px rgba(0,0,0,.20); font: 14px/1.5 Arial, sans-serif;
}
.cis-cookie-banner__copy { flex: 1 1 520px; }
.cis-cookie-banner__copy strong { display:block; margin-bottom:5px; font-size:17px; }
.cis-cookie-banner__copy p { margin:0; }
.cis-cookie-banner a { color:#1769aa; text-decoration:underline; }
.cis-cookie-banner__actions { display:flex; flex-wrap:wrap; gap:8px; align-items:center; }
.cis-cookie-btn {
  appearance:none; border:1px solid #b9b9b9; border-radius:5px; padding:10px 14px;
  background:#fff; color:#242424; cursor:pointer; font:600 13px Arial,sans-serif;
}
.cis-cookie-btn:hover { filter:brightness(.96); }
.cis-cookie-btn--primary { background:#1769aa; border-color:#1769aa; color:#fff; }
.cis-cookie-btn--text { border-color:transparent; text-decoration:underline; }
.cis-cookie-modal { position:fixed; z-index:2147483001; inset:0; display:flex; align-items:center; justify-content:center; padding:18px; font:14px/1.5 Arial,sans-serif; }
.cis-cookie-modal__backdrop { position:absolute; inset:0; background:rgba(0,0,0,.62); }
.cis-cookie-modal__panel {
  position:relative; width:min(560px,100%); max-height:90vh; overflow:auto; padding:28px;
  background:#fff; color:#242424; border-radius:10px; box-shadow:0 15px 50px rgba(0,0,0,.3);
}
.cis-cookie-modal__panel h2 { margin:0 35px 10px 0; font-size:23px; }
.cis-cookie-modal__panel p { margin:0 0 18px; }
.cis-cookie-modal__close { position:absolute; top:10px; right:14px; border:0; background:none; font-size:30px; cursor:pointer; color:#555; }
.cis-cookie-category { display:flex; align-items:center; justify-content:space-between; gap:18px; padding:15px 0; border-top:1px solid #e7e7e7; }
.cis-cookie-category strong { display:block; margin-bottom:3px; }
.cis-cookie-category p { margin:0; color:#666; font-size:13px; }
.cis-cookie-switch { position:relative; flex:0 0 44px; height:24px; }
.cis-cookie-switch input { opacity:0; width:0; height:0; }
.cis-cookie-switch span { position:absolute; inset:0; border-radius:20px; background:#bbb; cursor:pointer; transition:.2s; }
.cis-cookie-switch span:before { content:""; position:absolute; width:18px; height:18px; left:3px; top:3px; background:white; border-radius:50%; transition:.2s; }
.cis-cookie-switch input:checked + span { background:#1769aa; }
.cis-cookie-switch input:checked + span:before { transform:translateX(20px); }
.cis-cookie-switch input:disabled + span { opacity:.65; cursor:not-allowed; }
.cis-cookie-modal__actions { display:flex; flex-wrap:wrap; gap:9px; margin-top:18px; }
.cis-cookie-modal__note { margin:16px 0 0 !important; color:#777; font-size:12px; }
.cis-cookie-reopen {
  position:fixed; z-index:2147482999; left:16px; bottom:16px; border:1px solid #ccc; border-radius:20px;
  padding:8px 13px; background:#fff; color:#333; box-shadow:0 2px 12px rgba(0,0,0,.15);
  cursor:pointer; font:600 12px Arial,sans-serif;
}
@media (max-width:700px) {
  .cis-cookie-banner { left:10px; right:10px; bottom:10px; display:block; padding:16px; }
  .cis-cookie-banner__actions { margin-top:13px; }
  .cis-cookie-banner__actions .cis-cookie-btn { flex:1 1 auto; }
  .cis-cookie-modal__panel { padding:23px 18px; }
}
