.asm-wrap {
  display: inline-block;
  position: relative;
  margin-left: 10px;
  float: right;
}

.asm-btn {
  background: #ff3131;
  color: #fff;
  border: none;
  padding: 5px 8px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  transition: 0.2s;
}
.asm-btn:hover { background: #ffffff; color:#000; }

.asm-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 9998;
}

.asm-icons-box {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  color: #000;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0,0,0,0.4);
  z-index: 9999;
  max-width: 90%;
  width: 340px;
  text-align: center;
  animation: fadeIn 0.25s ease-in-out;
}

.asm-title {
  width: 100%;
  text-align: right;
  font-size: 18px;
  margin-bottom: 12px;
  color: #111;
  font-weight: 600;
}

.asm-icons-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.asm-icons-list a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  width: 130px;
  padding: 8px 10px;
  border-radius: 10px;
  color: #fff !important;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition: transform 0.25s;
}

.asm-icons-list a:hover { transform: scale(1.1); }
.asm-icons-list a span { flex-grow: 1; text-align: right; }

.asm-icons-list a[title="X"] { background: #000; }
.asm-icons-list a[title="Facebook"] { background: #1877f2; }
.asm-icons-list a[title="Telegram"] { background: #0088cc; }
.asm-icons-list a[title="Reddit"] { background: #ff4500; }
.asm-icons-list a[title="Pinterest"] { background: #bd081c; }
.asm-icons-list a[title="Tumblr"] { background: #36465d; }
.asm-icons-list a[title="VK"] { background: #4a76a8; }
.asm-icons-list a[title="Line"] { background: #00c300; }
.asm-icons-list a[title="WhatsApp"] { background: #25d366; }
.asm-icons-list a[title="نسخ الرابط"] { background: #6c757d; }

.asm-icons-list a i.fab,
.asm-icons-list a i.fas {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-left: 4px;
  font-size: 20px;
  line-height: 1 !important;
  vertical-align: middle !important;
}

.asm-icons-list a span {
  display: inline-block;
  vertical-align: middle;
  font-size: 15px;
  font-weight: 500;
  color: #fff;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 480px) {
  .asm-icons-box {
    width: 80%;
    padding: 12px;
    border-radius: 10px;
  }
  .asm-icons-list a {
    width: 110px;
    font-size: 14px;
  }
}