/* ========================================= */
  /* CSS DO PLUGIN: SWS BOTTOM SHEET           */
  /* ========================================= */

  .sws-overlay,
  .sws-sheet-wrapper,
  .sws-sheet-wrapper * {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
  }

  .sws-overlay {
    position: fixed;
    inset: 0;
    background:
      radial-gradient(1200px 700px at 50% 0%, rgba(255,255,255,0.10), transparent 55%),
      rgba(0, 0, 0, 0.16);
    opacity: 0;
    pointer-events: none;
    z-index: 999998;
    will-change: opacity;
  }

  .sws-sheet-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100dvh;
    z-index: 999999;
    pointer-events: none;
    will-change: transform;
    visibility: hidden;
    font-family: sans-serif;
  }

  .sws-bottom-sheet {
    position: absolute;
    bottom: 0;
    left: 6px;
    right: 6px;

    padding-bottom: calc(max(48px, env(safe-area-inset-bottom)) + 200px);
    margin-bottom: -200px;

    pointer-events: auto;
    touch-action: none;
    user-select: none;
    isolation: isolate;

    background:
      linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.34) 0%,
        rgba(246, 248, 255, 0.22) 18%,
        rgba(218, 224, 236, 0.20) 100%
      );
    backdrop-filter: blur(52px) saturate(185%) brightness(1.08);
    -webkit-backdrop-filter: blur(52px) saturate(185%) brightness(1.08);

    border-radius: 40px 40px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.82);
    border-left: 1px solid rgba(255, 255, 255, 0.30);
    border-right: 1px solid rgba(255, 255, 255, 0.30);
    box-shadow:
      0 -1px 0 rgba(255, 255, 255, 0.28),
      0 -6px 18px rgba(0, 0, 0, 0.045),
      0 -18px 44px rgba(0, 0, 0, 0.06);

    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  .sws-bottom-sheet::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    background:
      linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.26) 0%,
        rgba(255, 255, 255, 0.10) 14%,
        rgba(255, 255, 255, 0.00) 34%
      );
    z-index: 0;
  }

  .sws-bottom-sheet::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    background-image:
      radial-gradient(rgba(255,255,255,0.035) 0.8px, transparent 0.8px);
    background-size: 10px 10px;
    opacity: 0.18;
    mix-blend-mode: soft-light;
    z-index: 0;
  }

  .sws-sheet-header,
  .sws-sheet-body,
  .sws-sheet-footer {
    position: relative;
    z-index: 1;
  }

  .sws-sheet-header {
    position: relative;
    flex-shrink: 0;
    width: 100%;
    padding: 16px 0 10px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .sws-drag-area {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    padding-top: 16px;
    cursor: pointer;
  }

  .sws-drag-handle {
    width: 36px;
    height: 5px;
    background: linear-gradient(
      180deg,
      rgba(255,255,255,0.72) 0%,
      rgba(0,0,0,0.18) 100%
    );
    border-radius: 100px;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.32),
      0 1px 2px rgba(0,0,0,0.06);
  }

  .sws-close-btn {
    position: absolute;
    top: 26px;
    right: 28px;
    width: 30px;
    height: 30px;
    background: rgba(120, 120, 128, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.24),
      0 2px 8px rgba(0,0,0,0.06);
  }

  .sws-close-btn.is-visible {
    display: flex;
  }

  .sws-close-btn svg {
    width: 12px;
    height: 12px;
    stroke: rgba(0, 0, 0, 0.48);
    stroke-width: 2.5;
  }

  .sws-sheet-body {
    flex: 1 1 auto;
    padding: 10px 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .sws-sheet-footer {
    flex-shrink: 0;
    padding: 20px 20px 14px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .sws-bell-icon-wrap {
    width: 64px;
    height: 64px;
    background:
      linear-gradient(180deg, rgba(36,36,42,0.96) 0%, rgba(22,22,26,0.98) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 16px;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.12),
      0 8px 22px rgba(0,0,0,0.24);
  }

  .sws-bell-icon-wrap svg {
    width: 28px;
    height: 28px;
    fill: white;
  }

  .sws-sheet-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #000;
    letter-spacing: -0.4px;
    line-height: 1.25;
    max-width: 265px;
    text-shadow: 0 1px 0 rgba(255,255,255,0.14);
  }

  .sws-sheet-text {
    margin: 10px 0 0;
    color: #555;
  }

  .sws-footer-text {
    margin: 0;
    color: #666;
    font-size: 14px;
    padding-top: 20px;
  }

  .sws-btn-primary {
    width: 100%;
    background:
      linear-gradient(180deg, rgba(12,12,14,0.92) 0%, rgba(0,0,0,0.88) 100%);
    color: #fff;
    border: none;
    padding: 17px;
    border-radius: 14px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: -0.3px;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.12),
      0 6px 18px rgba(0,0,0,0.16);
    margin-top: 20px;
    transition: background 0.3s;
  }

  .sws-btn-primary:active {
    opacity: 0.92;
  }