/* ksmcookieconsent — AEPD banner styles. Equal visual weight accept/reject (art. AEPD 2023). */
#ksmcc-banner{position:fixed;left:0;right:0;bottom:0;z-index:99998;background:#fff;border-top:3px solid #232F3E;box-shadow:0 -4px 16px rgba(0,0,0,.18);font-family:inherit;color:#111}
#ksmcc-banner .ksmcc-inner{max-width:1200px;margin:0 auto;padding:18px 20px;display:flex;gap:24px;align-items:center;flex-wrap:wrap}
#ksmcc-banner .ksmcc-text{flex:1 1 420px;min-width:260px}
#ksmcc-banner .ksmcc-text h2{margin:0 0 6px;font-size:18px;font-weight:700}
#ksmcc-banner .ksmcc-text p{margin:0;font-size:14px;line-height:1.5}
#ksmcc-banner .ksmcc-text a{color:#146EB4;text-decoration:underline}
#ksmcc-banner .ksmcc-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.ksmcc-btn{appearance:none;cursor:pointer;font-family:inherit;font-size:14px;font-weight:600;padding:10px 18px;border-radius:4px;border:2px solid #232F3E;background:#fff;color:#232F3E;min-width:140px;line-height:1.2}
.ksmcc-btn:hover{background:#f3f3f3}
.ksmcc-btn-accept{background:#FF9900;border-color:#FF9900;color:#111}
.ksmcc-btn-accept:hover{background:#E88800;border-color:#E88800}
.ksmcc-btn-reject{background:#fff;border-color:#232F3E;color:#232F3E}
.ksmcc-btn-config{background:#fff}
.ksmcc-btn-save{background:#232F3E;border-color:#232F3E;color:#fff}
.ksmcc-btn-save:hover{background:#111820;border-color:#111820;color:#fff}
.ksmcc-btn-reject:hover{background:#f3f3f3;color:#232F3E}
.ksmcc-btn-config:hover{background:#f3f3f3;color:#232F3E}

#ksmcc-modal{position:fixed;inset:0;z-index:99999;background:rgba(0,0,0,.55);display:flex;align-items:center;justify-content:center;padding:16px}
#ksmcc-modal[hidden]{display:none}
.ksmcc-modal-card{background:#fff;border-radius:6px;max-width:640px;width:100%;max-height:88vh;overflow-y:auto;padding:24px}
.ksmcc-modal-card h2{margin:0 0 8px;font-size:20px}
.ksmcc-modal-intro{font-size:14px;color:#555;margin:0 0 18px}
.ksmcc-cat{border-top:1px solid #e5e5e5;padding:14px 0}
.ksmcc-cat-head{display:flex;justify-content:space-between;align-items:center;gap:16px;cursor:pointer;margin:0}
.ksmcc-cat-name{font-weight:700;font-size:15px}
.ksmcc-cat-desc{margin:6px 0 0;font-size:13px;color:#555;line-height:1.5}
.ksmcc-cat-switch{position:relative;display:inline-flex;align-items:center;gap:8px}
.ksmcc-cat-switch input[type=checkbox]{appearance:none;width:42px;height:24px;background:#ccc;border-radius:24px;position:relative;cursor:pointer;transition:background .15s;margin:0}
.ksmcc-cat-switch input[type=checkbox]::after{content:"";position:absolute;top:2px;left:2px;width:20px;height:20px;background:#fff;border-radius:50%;transition:left .15s}
.ksmcc-cat-switch input[type=checkbox]:checked{background:#2BA048}
.ksmcc-cat-switch input[type=checkbox]:checked::after{left:20px}
.ksmcc-cat-switch input[type=checkbox]:disabled{opacity:.7;cursor:not-allowed}
.ksmcc-cat-locked span{font-size:12px;color:#777}
.ksmcc-modal-actions{margin-top:20px;display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}

#ksmcc-reopen{position:fixed;left:14px;bottom:14px;z-index:99990;appearance:none;background:#fff;border:1px solid #bbb;border-radius:50px;padding:8px 14px;font-size:13px;color:#333;cursor:pointer;box-shadow:0 2px 6px rgba(0,0,0,.12)}
#ksmcc-reopen:hover{background:#f3f3f3}

@media (max-width:640px){
  #ksmcc-banner .ksmcc-inner{padding:14px}
  .ksmcc-btn{min-width:0;flex:1 1 100%;padding:12px}
  #ksmcc-banner .ksmcc-actions{flex-direction:column;width:100%}
}
