/* cookieconsent-custom.css */
:root[data-theme='light'] {
    --cc-bg: rgba(255, 255, 255, .92);
    --cc-text: #303133;
    --cc-btn-allow: #0080ffff;
    --cc-btn-deny:  #e0e0e0;
  }
  
  :root[data-theme='dark'] {
    --cc-bg: rgba(32, 33, 36, .92);
    --cc-text: #e8eaed;
    --cc-btn-allow: #0080ffff;
    --cc-btn-deny:  #5f6368;
  }
  
  /* 弹窗样式 */
  .cc-window.cc-banner {
    background: var(--cc-bg) !important;
    color: var(--cc-text) !important;
    border-radius: 8px 8px 0 0;
    box-shadow: 0 -2px 12px rgba(0,0,0,.2);
    max-width: 560px;
    margin: 0 auto;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 16px;
    font-size: 14px;
    line-height: 1.5;
    position: fixed;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
  }

  /* 显示动画 */
  .cc-window.cc-banner.cc-show {
    transform: translateY(0);
  }

  /* 隐藏动画 */
  .cc-window.cc-banner.cc-hide {
    transform: translateY(100%);
  }
  
  /* 按钮 */
  .cc-btn.cc-allow {
    background: var(--cc-btn-allow) !important;
    color: #fff;
    border-radius: 4px;
    font-size: 14px;
    padding: 6px 12px;
  }
  
  .cc-btn.cc-deny {
    background: transparent !important;
    color: var(--cc-text) !important;
    border: 1px solid var(--cc-btn-deny);
    border-radius: 4px;
    font-size: 14px;
    padding: 5px 11px;
  }

  /* 消息和按钮布局 */
  .cc-message {
    display: block;
    margin-bottom: 10px;
    flex: 1;
  }

  .cc-compliance {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
  }

  .cc-btn {
    text-decoration: none;
    cursor: pointer;
    border: none;
    outline: none;
    transition: all 0.2s ease;
  }

  .cc-btn:hover {
    opacity: 0.8;
    transform: translateY(-1px);
  }

  .cc-link {
    color: var(--cc-btn-allow);
    text-decoration: underline;
  }

  .cc-link:hover {
    opacity: 0.8;
  }