@media screen and (max-width: 450px) {
  .heading-space {
    margin-top: 0px;
  }
  .heading-space-5 {
    /* margin-top: 90px; */
  }
}
.tab-menu {
  display: flex;
  cursor: pointer;
  padding: 10px;
  border-bottom: 1px solid #ccc;
  overflow-x: auto;
  font-size: 16px;
  border-radius: 10px;
  margin: 5px;
  justify-content: left; /* Center content */
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow for button effect */
  background-color: #ffffff;
  color: #000000;
}

.tab-menu:hover {
  color: #fff;
  background: #df4544;
  /* background: linear-gradient(114deg, #212e82 80%, #df4544); */
  box-shadow: 5px 5px 8px rgba(0, 0, 0, 0.2); /* Enhanced shadow on hover */
}

.tab-menu div {
  padding: 10px 20px;
  margin-right: 5px;
  background-color: #e0e0e0;
  border-radius: 5px 5px 0 0;
  white-space: nowrap;
}

.tab-menu.active {
  background-color: #ffffff;
  border: 1px solid #ccc;
  border-bottom: none;
  background: #c1272d;
  /* background: linear-gradient(114deg, #212e82 80%, #df4544); */
  color: #fff;
  justify-content: left;
  font-weight: 600;
}

.tab-menu .icon {
  display: none;
}

.tab-menu.active .icon {
  display: inline-block;
}

/* Mobile view */
@media screen and (max-width: 768px) {
  .tab-menu .icon {
    display: none;
  }

  .tab-menu.active .icon {
    display: none;
  }

  .tab-menu::after {
    content: "\f107";
    font-family: "FontAwesome";
    display: inline-block;
    margin-left: 8px;
  }

  .tab-menu.active::after {
    content: "\f106";
  }
}
#loading_events .tab-content {
  display: block;
  border: none;
}
/* Styling for the tab content */
.tab-content {
  display: none;
  padding: 20px;
  border: 1px solid #ccc;
  border-left: none;
  border-radius: 5px;
}

.tab-content.active {
  display: block;
}

.mtab-content {
  display: none;
  padding: 20px;
  border: 1px solid #ccc;
  border-top: none;
}

.mtab-content.active {
  display: none;
}

.left_tab_div {
  width: 25%;
  float: left;
  text-align: center;
}

.right_tab_div {
  width: 75%;
  float: left;
}

@media screen and (min-width: 991px) {
  .listing_table tr td {
    padding: 20px !important;
  }
}
/* Responsive styling */
@media (max-width: 600px) {
  .tabs {
    flex-direction: column;
  }

  .tabs div {
    margin-right: 0;
    margin-bottom: 5px;
    border-radius: 5px;
  }

  .tabs div.active {
    border-bottom: 1px solid #ccc;
    border-radius: 5px;
  }

  .tab-content.active {
    display: none;
  }

  .mtab-content.active {
    display: block;
  }

  .left_tab_div {
    width: 100%;
    float: left;
  }

  .right_tab_div {
    display: none;
  }

  .title-confr {
    font-size: 18px;
  }
}

.tab-menu.active .icon {
  display: none;
}
.topic-list-a {
  height: 65px;
  text-align: left;
  padding: 5px 5px 5px 15px;
  border-radius: 10px;
  color: #212e82;
  /* box-shadow: 0px 1px 5px rgb(15 15 15 / 9%); */
}
.topic-list-a:hover {
  color: #fff;
  background: linear-gradient(90deg, #212e82 0%, #3e6bcc94 100%);
}

.sub-topic-style {
  margin: 12px 0px;
  display: inline-flex;
  align-items: baseline;
  letter-spacing: 0.02em;
  cursor: pointer;
  font-size: 16px;
}
.sub-topic-style a {
  color: #224aa0;
}

@media (max-width: 600px) {
  .title-confr {
    font-size: 18px;
  }
  /* .listing_table{
    margin: 0px 0px 0px -20px;
  } */
}
.all-cont-btn {
  background-color: #c1272d;
  color: white;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 7px;
  font-weight: 600;
  transition: background-color 0.3s;
}
.all-cont-btn:hover {
  background-color: #a01f23;
}
.copy-txt {
  background: #1e1c3a;
  color: #ffffff;
}

.copy-txt a {
  color: #ffd700 !important; /* gold/yellow for contrast */
  text-decoration: underline;
}

.copy-txt a:hover {
  color: #ffffff;
}
