 /* ===== COOKIE CONSENT STYLES ===== */

  /* ===== BOTTOM BANNER ===== */
  #cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    color: #222;
    padding: 18px 40px;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
    z-index: 9998;
    animation: slideUp 0.4s ease;
    flex-wrap: wrap;
  }

  @keyframes slideUp {
    from { transform: translateY(100%); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
  }

  #cookie-banner p {
    font-size: 0.85rem;
    color: #333;
    line-height: 1.6;
    max-width: 800px;
    flex: 1;
  }
  #cookie-banner p a {
    color: #0033a0;
    text-decoration: none;
    font-weight: 600;
  }

  .cc-banner-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
  }

  .cc-btn-choose {
    background: transparent;
    border: 2px solid #0033a0;
    color: #0033a0;
    padding: 10px 22px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s;
    white-space: nowrap;
  }
  .cc-btn-choose:hover { background: #f0f4ff; }

  .cc-btn-accept-all {
    background: #0033a0;
    border: 2px solid #0033a0;
    color: #fff;
    padding: 10px 22px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s;
    white-space: nowrap;
  }
  .cc-btn-accept-all:hover { background: #002280; }

  /* ===== OVERLAY ===== */
  #cc-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 9999;
    display: none;
    animation: ccFadeIn 0.3s ease;
  }
  @keyframes ccFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
  }

  /* ===== MODAL ===== */
  #cc-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    background: #fff;
    width: 540px;
    max-width: 95vw;
    max-height: 85vh;
    border-radius: 6px;
    z-index: 10000;
    display: none;
    flex-direction: column;
    animation: ccModalIn 0.3s ease forwards;
    overflow: hidden;
  }
  @keyframes ccModalIn {
    from { transform: translate(-50%, -50%) scale(0.92); opacity: 0; }
    to   { transform: translate(-50%, -50%) scale(1);    opacity: 1; }
  }

  .cc-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px 12px;
    border-bottom: 1px solid #eee;
    flex-shrink: 0;
  }
  .cc-modal-logo {
    display: flex;
    flex-direction: column;
    font-size: 1.3rem;
    font-weight: 700;
    color: #0033a0;
    letter-spacing: -0.5px;
  }
  .cc-modal-logo .logo-teal { color: #00b2a9; }
  .cc-modal-tagline {
    font-size: 0.62rem;
    color: #777;
    font-weight: 400;
    letter-spacing: 0.2px;
  }
  .cc-modal-close {
    background: none;
    border: none;
    font-size: 1.4rem;
    color: #555;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s;
    line-height: 1;
  }
  .cc-modal-close:hover { background: #f0f0f0; color: #000; }

  .cc-modal-body {
    overflow-y: auto;
    padding: 20px 24px;
    flex: 1;
  }
  .cc-modal-body::-webkit-scrollbar { width: 6px; }
  .cc-modal-body::-webkit-scrollbar-track { background: #f5f5f5; }
  .cc-modal-body::-webkit-scrollbar-thumb { background: #ccc; border-radius: 3px; }

  .cc-modal-body h2 {
    font-size: 1.15rem;
    color: #1a1a1a;
    margin-bottom: 14px;
    font-weight: 700;
  }
  .cc-intro-text {
    font-size: 0.82rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 6px;
  }
  .cc-policy-link {
    display: inline-block;
    font-size: 0.82rem;
    color: #0033a0;
    text-decoration: none;
    border: 1px solid #0033a0;
    padding: 3px 10px;
    border-radius: 3px;
    margin-bottom: 22px;
    transition: all 0.2s;
  }
  .cc-policy-link:hover { background: #0033a0; color: #fff; }

  .cc-manage-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 14px;
  }

  /* Accordion Items */
  .cc-item {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    margin-bottom: 8px;
    overflow: hidden;
    transition: border-color 0.2s;
  }
  .cc-item:hover { border-color: #bbb; }

  .cc-item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    cursor: pointer;
    background: #fff;
    transition: background 0.15s;
  }
  .cc-item-header:hover { background: #fafafa; }

  .cc-item-left {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .cc-expand-icon {
    font-size: 1.1rem;
    color: #0033a0;
    font-weight: 700;
    width: 20px;
    transition: transform 0.25s;
    user-select: none;
  }
  .cc-item.open .cc-expand-icon { transform: rotate(45deg); }

  .cc-item-name {
    font-size: 0.88rem;
    font-weight: 600;
    color: #1a1a1a;
  }
  .cc-always-active {
    font-size: 0.8rem;
    font-weight: 700;
    color: #00853e;
  }

  /* Toggle */
  .cc-toggle {
    position: relative;
    width: 46px;
    height: 26px;
  }
  .cc-toggle input { opacity: 0; width: 0; height: 0; }
  .cc-toggle-slider {
    position: absolute;
    inset: 0;
    background: #ccc;
    border-radius: 26px;
    cursor: pointer;
    transition: background 0.25s;
  }
  .cc-toggle-slider::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    top: 3px;
    left: 3px;
    transition: transform 0.25s;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
  }
  .cc-toggle input:checked + .cc-toggle-slider { background: #00853e; }
  .cc-toggle input:checked + .cc-toggle-slider::before { transform: translateX(20px); }

  /* Accordion Body */
  .cc-item-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: #fafafa;
  }
  .cc-item.open .cc-item-body { max-height: 200px; padding: 0 16px 14px; }
  .cc-item-body p {
    font-size: 0.78rem;
    color: #666;
    line-height: 1.65;
    padding-top: 8px;
    border-top: 1px solid #eee;
  }

  /* Modal Footer */
  .cc-modal-footer {
    padding: 16px 24px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: flex-end;
    flex-shrink: 0;
    background: #fff;
  }
  .cc-btn-confirm {
    background: #0033a0;
    color: #fff;
    border: none;
    padding: 12px 28px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: all 0.2s;
  }
  .cc-btn-confirm:hover { background: #002280; transform: translateY(-1px); }
  .cc-btn-confirm:active { transform: translateY(0); }

  /* Toast */
  #cc-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: #1a1a1a;
    color: #fff;
    padding: 12px 24px;
    border-radius: 24px;
    font-size: 0.85rem;
    z-index: 20000;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
  }
  #cc-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
