/* ========================
   SWITCH
======================== */
.switch {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 22px;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: #bbb;
  border-radius: 34px;
  transition: background 0.4s ease;
}
.slider:before {
  content: "";
  position: absolute;
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 2px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.4s ease;
}
input:checked + .slider {
  background: #1403f9;
}
input:checked + .slider:before {
  transform: translateX(19px);
}

/* Switch wrap */
.switch-wrap {
  display: inline-flex;
  align-items: center;
  margin-bottom: 20px;
  padding: 8px 16px;
  border: 1px solid #d9d9d9;
  background: rgba(87,85,85,0.12);
  border-radius: 6px;
}
.switch-wrap .switch {
  margin-right: 8px;
}
.switch-wrap label {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  color: #333;
}
.switch-wrap .switch span {
  background: #2780e3 !important;
}

/* Orders history table switch group */
.orders-history__margin-table .table-bg .switch-group {
  display: flex;
  align-items: center;
  gap: 10px;
  float: none;
  visibility: visible;
}

/* ========================
   BUTTONS
======================== */
#copy-orders-btn {
  position: relative;
  top: -10px;
  margin-left: 7px;
  font-weight: 600;
  font-size: 15px;
  padding: 6px 12px;
  border-radius: 6px;
  background: #007bff;
  color: #fff;
  border: none;
  transition: background 0.3s ease;
}
#copy-orders-btn:hover {
  background: #0056b3;
}

/* Social Button */
#social-btn {
  background: #ff4b36 url(https://storage.perfectcdn.com/9b5331/ttltxr4cyiqn1wmw.png) no-repeat right 10px center;
  background-size: 22px;
  color: #fff;
  font-weight: 600;
  border-radius: 6px;
  padding: 10px 16px;
  transition: background 0.3s ease, transform 0.2s ease;
}
#social-btn:hover {
  background-color: #e13c29;
  transform: translateY(-2px);
}
.social-btn-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  margin-bottom: 8px;
  padding: 0;
}
ul.social-btn-wrap li {
  flex-grow: 1;
}

/* ========================
   CATEGORY FILTERS
======================== */
.CatFltr {
  min-width: 130px;
  margin: 8px;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #f8f8f8;
  border: 1px solid #e3e3e3;
  color: #2a2b35 !important;
  font-size: 15px;
  font-weight: 500;
  border-radius: 6px;
  text-decoration: none !important;
  transition: all 0.3s ease;
}
.CatFltr i {
  font-size: 20px;
  margin-right: 6px;
}
.CatFltr:hover {
  background: #007bff;
  color: #fff !important;
  border-color: #007bff;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* ========================
   CARDS
======================== */
.tgcard, .wpcard {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding: 16px;
  background: #fdfdfd;
  border: 1px solid #e3e3e3;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.tgcard:hover, .wpcard:hover {
  background: #fff;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}
.tgcard i, .wpcard i {
  font-size: 46px;
}
.tgcard p, .wpcard p {
  margin-bottom: 4px;
  font-size: 17px;
  font-weight: 600;
}
.tgcard small, .wpcard small {
  font-size: 14px;
  color: #666;
  line-height: 1.3;
}
.tgcard i, .tgcard p b {
  color: #39acdf;
}
.wpcard i, .wpcard p b {
  color: #17d217;
}
