.aa-wrap h4 {
  font-size: 18px !important;
  margin-bottom: 5px !important;
  padding: 0 !important;
}

@keyframes updown {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(5px);
  }
  100% {
    transform: translateY(0);
  }
}

.slister {
  display: block;
  margin: auto !important;
  padding: 15px 0 !important;
  width: 100%;
}

.slister ul {
  margin: 0 !important;
  padding: 0 !important;
  list-style-type: none !important;
}

.slister li {
  position: relative;
  overflow: hidden;
  padding: 0 !important;
  margin: 0 !important;
  border-bottom: unset !important;
  margin-bottom: 15px !important;
}

.slister li::before,
.slister li::after {
  content: "" !important;
  margin: 0 !important;
  padding: 0 !important;
}

.slister li .aa-content {
  display: flex;
  position: relative;
  padding: 0 15px 0 15px;
  overflow: hidden;
  border-radius: 5px;
  border: 1px solid #e6e6e6;
  border-bottom-color: #acacac;
  height: 50px;
  align-items: center;
}

.slister li .border_left {
  position: absolute;
  top: 0px;
  left: 0px;
  bottom: 0px;
  width: 6px;
}

.slister li .arrow_wrap {
  position: absolute;
  width: 20px;
  top: 0px;
  right: 0px;
  height: 50px;
  line-height: 50px;
}

.slister .arrow {
  animation: updown 2s infinite;
  fill: white;
  transform: rotate(180deg);
  width: 15px;
  height: 15px;
}

.slister li .arrow {
  position: absolute;
  top: 50%;
  margin-top: -10px;
  right: 5px;
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 8px solid #4281c3;
}

.slister li a .anchortext {
  word-wrap: break-word;
  overflow: hidden;
  line-height: 1.2;
  font-weight: 500;
  align-content: center;
  color: #222;
  font-size: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.slister li:hover .arrow {
  border-left-color: #fff !important;
}

.slister li:nth-child(1n) .border_left {
  background: #4281c3;
}

.slister li:nth-child(2n) .border_left {
  background-color: #e8b95c;
}

.slister li:nth-child(3n) .border_left {
  background-color: #c2202a;
}

.slister li:nth-child(4n) .border_left {
  background-color: #046937;
}
.slister li:nth-child(5n) .border_left {
  background-color: #222;
}

.slister li:nth-child(1n) .arrow {
  border-left-color: #4281c3;
}
.slister li:nth-child(2n) .arrow {
  border-left-color: #e8b95c;
}
.slister li:nth-child(3n) .arrow {
  border-left-color: #c2202a;
}
.slister li:nth-child(4n) .arrow {
  border-left-color: #046937;
}
.slister li:nth-child(5n) .arrow {
  border-left-color: #222;
}

.slister li:nth-child(1n):hover a .anchortext {
  color: #4281c3 !important;
}

.slister li:nth-child(2n):hover a .anchortext {
  color: #e8b95c !important;
}

.slister li:nth-child(3n):hover a .anchortext {
  color: #c2202a !important;
}

.slister li:nth-child(4n):hover a .anchortext {
  color: #046937 !important;
}

.slister li:nth-child(5n):hover a .anchortext {
  color: #222 !important;
}

.slister li:nth-child(1n):hover .arrow_wrap {
  background-color: #4281c3;
}

.slister li:nth-child(2n):hover .arrow_wrap {
  background-color: #e8b95c;
}

.slister li:nth-child(3n):hover .arrow_wrap {
  background-color: #c2202a;
}

.slister li:nth-child(4n):hover .arrow_wrap {
  background-color: #046937;
}

.slister li:nth-child(5n):hover .arrow_wrap {
  background-color: #222;
}

@media only screen and (min-width: 599px) {
  .slister .slist {
    width: 100%;
    column-count: 2;
    margin: 0;
    padding: 0;
  }
}

.aa-task-button {
  width: 100%;
  max-width: 500px;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: bold;
  color: white !important;
  background-color: #007bff !important;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
  margin: 10px 0 5px;
}

.aa-task-button:hover {
  background-color: #005177; /* Darker shade for hover effect */
}

/* AriseAds Taskbar CSS */
.aa-taskbar-wrap {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9999;
  transition:
    width 0.5s ease,
    left 0.5s ease;
}

.aa-taskbar {
  background: #333;
  display: block;
  color: #fff;
}

.aa-taskbar-content {
  display: block;
  padding: 10px;
  text-align: center;
}

.aa-taskbar-adjust {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 100%;
  background: red;
  color: #fff;
  border: none;
  cursor: pointer;
  padding: 20px 5px;
  height: 60px;
  font-size: 14px;
  line-height: 1;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}

.aa-taskbar-close {
  position: absolute;
  top: -11px;
  right: -4px;
  background: none;
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
}

.aa-taskbar-des {
  font-size: 15px;
  line-height: 1.2;
  background: #fdf497;
  padding: 5px;
  color: #000;
}

.aa-taskbar-des .rtc_true_views,
.aa-taskbar-des .required_views_text {
  font-weight: 700 !important;
}

/* Manual Operation Taskbar CSS */
.aa-manual .item {
  display: block;
  padding: 10px 0;
  font-size: 13px;
  line-height: 1.2;
  border-bottom: 1px solid;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 600;
}
.aa-manual .item:last-child {
  border-bottom: none;
}

.aa-manual .actions {
  display: inline-block;
}

.aa-manual .item .aa-label {
  background: transparent !important;
  display: block;
  font-size: 10px;
}

/* RTC Taskbar CSS */

.aa-rtc .title {
  font-size: 15px;
  line-height: 1.2;
  font-weight: bold;
  text-align: left;
  margin-bottom: 4px;
}

.aa-red {
  color: red;
}

.aa-green {
  color: #64ff64;
}

.aa-rtc .list .icon svg {
  width: 12px;
  height: 12px;
  position: relative;
  display: inline-block;
  fill: currentcolor;
  margin-right: 3px;
}

.aa-rtc .list {
  display: block;
  font-size: 13px;
  line-height: 1.2;
  text-align: left;
  border-bottom: 1px solid #ddd;
  padding: 10px 0;
}

.aa-rtc .list:last-child {
  border-bottom: none !important;
}

/*
  * Regulated Traffic Campaigns (RTC) CSS
*/
.aa-next-post {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

.aa-next-post-button {
  width: 100%;
  max-width: 500px;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: bold;
  color: white !important;
  background-color: #007bff !important;
  border: none !important;
  border-radius: 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center !important;
  transition: background-color 0.3s ease !important;
}

.aa-next-post-button:hover {
  background-color: #005177 !important;
}

.aa-svg {
  width: 18px !important;
  height: 18px !important;
  fill: currentColor !important;
  margin: 0 5px !important;
}

.aa-ani-red {
  animation: 1s anim-popoutin ease infinite;
}

@keyframes anim-popoutin {
  0% {
    color: red;
  }
  100% {
    opacity: 1;
  }
}

.aa-understood a {
  color: #fff;
}

.ariseads_taskcode {
  border: 1px solid #000;
  background: #efefef;
  padding: 10px 20px;
  text-align: center;
  width: 100%;
  font-size: 15px;
  margin-bottom: 10px;
}

.copied {
  background: #fff293 !important;
  color: #000 !important;
}

/* Styles for both ordered and unordered lists */
ul.aa-list,
ol.aa-list {
  padding-left: 30px !important;
  margin-bottom: 10px !important;
  list-style-position: outside !important;
}

.aa-list li,
.aa-list li {
  margin-bottom: 5px 0 !important;
  display: list-item !important;
  font-size: 15px !important;
}

/* Specific styles for ordered lists */
ol.aa-list {
  list-style-type: decimal !important;
}

ol.aa-list li::marker {
  color: #007bff !important;
  font-weight: bold !important;
}

/* Specific styles for unordered lists */
ul.aa-list {
  list-style-type: disc !important;
}

ul.aa-list li::marker {
  color: #28a745 !important;
}

.aa-sub {
  margin-bottom: 10px;
  font-size: 15px;
  text-decoration: italic;
}

.aa-copy-code {
  text-align: right;
  font-size: 15px;
  cursor: pointer;
}

.aa-understood {
  background: green;
  color: #fff !important;
  padding: 10px;
  margin: 0 auto;
  text-align: center;
  border-radius: 30px;
  line-height: 1.2;
  font-size: 15px;
}

/*
  *  AriseAds Modal
*/

.aa-modal {
  display: none;
  position: fixed;
  z-index: 99999999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.6);
  align-items: flex-start; /* Changed from padding-top */
  justify-content: center;
}

.aa-modal-content {
  position: relative;
  background-color: #fefefe;
  padding: 20px;
  box-shadow:
    0 4px 8px 0 rgba(0, 0, 0, 0.2),
    0 6px 20px 0 rgba(0, 0, 0, 0.19);
  animation: fadeIn 0.7s;
  border-radius: 5px;
  max-width: 450px;
  width: 95%;
  line-height: 1.4;
  /* Removed margin: auto; as it's now controlled by JavaScript */
}

.aa-modal-content h1,
.aa-modal-content h2,
.aa-modal-content h3,
.aa-modal-content h4,
.aa-modal-content h5,
.aa-modal-content h6 {
  line-height: 1.4;
  margin-bottom: 10px;
  font-weight: bold;
}

.aa-modal-content h1 {
  font-size: 24px !important;
}

.aa-modal-content h2 {
  font-size: 22px !important;
}

.aa-modal-content h3 {
  font-size: 20px !important;
}

.aa-modal-content h4 {
  font-size: 18px !important;
}

.aa-modal-content h5 {
  font-size: 16px !important;
}

.aa-modal-content h6 {
  font-size: 15px !important;
}

.aa-close-btn {
  position: absolute;
  top: 0;
  right: 10px;
  color: #aaaaaa;
  font-size: 28px;
  font-weight: bold;
}

.aa-close-btn:hover,
.aa-close-btn:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

/* Toastify CSS */

.toastify.danger {
  background: #f44336 !important;
  color: #fff;
  font-weight: 700;
}

.toastify.success {
  background: #4caf50 !important;
  color: #fff;
  font-weight: 700;
}

.toastify.info {
  background: #2196f3 !important;
  color: #fff;
  font-weight: 700;
}

.toastify.warning {
  background: #fdf497 !important;
  color: #000;
  font-weight: 700;
}

.toastify.default {
  background: #333 !important;
  color: #fff;
  font-weight: 700;
}

