/* 
  ShabakeWeb Bookmarks – Read Later
  استایل بسیار سبک، RTL-friendly، بدون وابستگی به فریم‌ورک
*/

.swb-wrap { display:inline-block; }
.swb-note { padding:10px 12px; border:1px solid rgba(0,0,0,.08); border-radius:10px; background:#fff; }

.swb-btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  border:0;
  cursor:pointer;
  padding:12px 14px;
  border-radius:12px;
  background:#b02b2b; /* قرمز ملایم */
  color:#fff;
  font-size:14px;
  line-height:1;
  transition:transform .18s ease, background .18s ease, box-shadow .18s ease;
  box-shadow:0 8px 18px rgba(0,0,0,.10);
}

.swb-btn:hover{
  transform:scale(1.03);
  background:#9c2626;
}

.swb-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:22px;
  height:22px;
  padding:0 6px;
  border-radius:999px;
  background:rgba(255,255,255,.18);
  font-weight:700;
}

.swb-modal-overlay{
  position:fixed;
  inset:0;
  display:none;
  align-items:center;
  justify-content:center;
  background:rgba(0,0,0,.45);
  z-index:99999;
  padding:16px;
}

.swb-modal-overlay.swb-open{
  display:flex;
}

.swb-modal{
  width:min(520px, 92vw);
  background:#fff;
  border-radius:16px;
  box-shadow:0 18px 50px rgba(0,0,0,.25);
  position:relative;
  overflow:hidden;
}

.swb-modal-close{
  position:absolute;
  top:10px;
  left:10px;
  width:36px;
  height:36px;
  border-radius:10px;
  border:1px solid rgba(0,0,0,.08);
  background:#fff;
  cursor:pointer;
  font-size:18px;
  line-height:1;
}

.swb-modal-body{
  padding:22px 22px 18px;
  text-align:right;
}

.swb-books{
  display:flex;
  justify-content:center;
  margin:8px 0 14px;
}

.swb-books img{
  width:140px;
  height:auto;
}

.swb-modal-title{
  margin:0 0 8px;
  font-size:18px;
  font-weight:800;
}

.swb-modal-subtitle{
  margin:0 0 16px;
  font-size:13.5px;
  opacity:.85;
  line-height:1.9;
}

.swb-modal-actions{
  display:flex;
  gap:10px;
  justify-content:flex-start;
  flex-wrap:wrap;
}

.swb-confirm, .swb-cancel{
  border:0;
  cursor:pointer;
  padding:10px 14px;
  border-radius:12px;
  font-size:14px;
  transition:transform .18s ease, background .18s ease;
}

.swb-confirm{
  background:#b02b2b;
  color:#fff;
}
.swb-confirm:hover{ transform:scale(1.03); background:#9c2626; }

.swb-cancel{
  background:#f3f3f3;
  color:#222;
}
.swb-cancel:hover{ transform:scale(1.03); background:#ededed; }

.swb-modal-footer{
  margin-top:12px;
  display:flex;
  flex-direction:column;
  gap:10px;
}

.swb-go-saved{
  display:inline-block;
  text-decoration:none;
  color:#b02b2b;
  font-weight:700;
}

.swb-message{
  font-size:13px;
  line-height:1.8;
}

.swb-msg-ok{ color:#1b7a3a; }
.swb-msg-err{ color:#b02b2b; }

/* لیست ذخیره‌ها */
.swb-list{ padding:10px 0; }
.swb-ul{ list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:10px; }
.swb-li{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:12px 12px;
  border:1px solid rgba(0,0,0,.08);
  border-radius:12px;
  background:#fff;
}

.swb-link{
  text-decoration:none;
  color:#111;
  font-weight:700;
}

.swb-remove{
  border:0;
  cursor:pointer;
  padding:9px 12px;
  border-radius:12px;
  background:#f5d7d7;
  color:#7a1a1a;
  transition:transform .18s ease;
}
.swb-remove:hover{ transform:scale(1.03); }
