/* Aviso de cookies - Agentes de IA Hands-On (rev. 27/11/2026) */
.cc-root, .cc-root * { box-sizing: border-box; }
.cc-root { font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif; color: #f4efe4; }
.cc-banner { position: fixed; z-index: 2147483000; left: 16px; right: 16px; bottom: 16px; max-width: 760px; margin: 0 auto;
  background: #1d1a16; border: 1px solid #3a352d; border-radius: 14px; padding: 18px 20px; box-shadow: 0 10px 40px rgba(0,0,0,.45); }
.cc-banner[hidden], .cc-overlay[hidden], .cc-reopen[hidden] { display: none !important; }
.cc-title { font-size: 16px; font-weight: 700; margin: 0 0 6px; }
.cc-text { font-size: 14px; line-height: 1.5; margin: 0 0 14px; color: #d9d2c3; }
.cc-text a { color: #f59e6b; text-decoration: underline; }
.cc-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cc-btn { font: inherit; font-size: 14px; font-weight: 600; line-height: 1; padding: 12px 18px; border-radius: 10px; cursor: pointer;
  border: 1px solid #e0702b; background: #e0702b; color: #1a1209; }
.cc-btn:hover { filter: brightness(1.08); }
.cc-btn:focus-visible, .cc-switch input:focus-visible + .cc-slider, .cc-reopen:focus-visible { outline: 3px solid #ffd9bf; outline-offset: 2px; }
.cc-btn-link { background: transparent; color: #f4efe4; border-color: #5a5348; }
.cc-overlay { position: fixed; z-index: 2147483001; inset: 0; background: rgba(0,0,0,.6); display: flex; align-items: center; justify-content: center; padding: 16px; }
.cc-modal { width: 100%; max-width: 560px; max-height: 90vh; overflow: auto; background: #1d1a16; border: 1px solid #3a352d; border-radius: 16px; padding: 22px; }
.cc-modal h2 { font-size: 18px; margin: 0 0 6px; }
.cc-cat { border-top: 1px solid #3a352d; padding: 14px 0; display: flex; gap: 14px; align-items: flex-start; justify-content: space-between; }
.cc-cat h3 { font-size: 15px; margin: 0 0 4px; }
.cc-cat p { font-size: 13px; line-height: 1.5; margin: 0; color: #cfc8b8; }
.cc-always { font-size: 12px; font-weight: 700; color: #f59e6b; white-space: nowrap; padding-top: 2px; }
.cc-switch { position: relative; flex: none; width: 46px; height: 26px; }
.cc-switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.cc-slider { position: absolute; inset: 0; background: #5a5348; border-radius: 26px; transition: background .15s; }
.cc-slider::before { content: ''; position: absolute; width: 20px; height: 20px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: transform .15s; }
.cc-switch input:checked + .cc-slider { background: #e0702b; }
.cc-switch input:checked + .cc-slider::before { transform: translateX(20px); }
.cc-modal .cc-actions { margin-top: 10px; padding-top: 14px; border-top: 1px solid #3a352d; }
.cc-reopen { position: fixed; z-index: 2147482000; left: 12px; bottom: 12px; font: 600 12px 'Inter', system-ui, sans-serif; color: #f4efe4;
  background: #1d1a16; border: 1px solid #3a352d; border-radius: 999px; padding: 8px 12px; cursor: pointer; opacity: .85; }
.cc-reopen:hover { opacity: 1; }
@media (max-width: 520px) { .cc-actions .cc-btn { flex: 1 1 100%; text-align: center; } .cc-banner { left: 10px; right: 10px; bottom: 10px; } }
@media (prefers-reduced-motion: reduce) { .cc-slider, .cc-slider::before { transition: none; } }
