/* sidebar css */
#separator-sidebar {
  transition: transform 0.3s ease-in-out, width 0.3s ease-in-out;
}

#main-content {
  transition: margin-left 0.3s ease-in-out;
}

/* sidebar link active css */
.sidebar-link.active {
  background-color: #1da1f2;
}

.sidebar-link.active span {
  color: #ffffff;
}

.sidebar-link.active img {
  filter: brightness(0) invert(1);
}

/* end of sidebar change color */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 40;
  display: none;
}

/* data table css */
.datatable-top {
  flex-direction: row !important;
}

.datatable-wrapper .datatable-table tbody tr {
  border-bottom: 0px !important;
}

.datatable-wrapper .datatable-table tbody tr.selected {
  background-color: transparent !important;
}

.datatable-wrapper .datatable-table thead,
.datatable-wrapper .datatable-table thead th {
  border-top: 1px solid #e0e0e0 !important;
  border-bottom: 1px solid #e0e0e0 !important;
  background-color: transparent !important;
}

.datatable-pagination-list-item.datatable-active {
  background-color: #1da1f2 !important;
  border-radius: 5px !important;
  padding: 5px 0px !important;
}

.datatable-pagination-list-item.datatable-active button {
  color: #fff !important;
}
.datatable-wrapper .datatable-container, .overflow-x-auto {
  overflow-x: unset !important;
}

@media(max-width:1024px) {
  .datatable-wrapper .datatable-container, .overflow-x-auto {
  overflow-x: scroll !important;
  min-height: 300px;
}
}

.datatable-wrapper .datatable-bottom .datatable-pagination .datatable-pagination-list-item-link {
  border-top: 0 !important;
  border-bottom: 0px !important;
  border-left: 0px !important;
  border-right: 0px !important;
  background-color: transparent !important;
}

@media (max-width: 500px) {
  .datatable-top {
    flex-direction: column !important;
  }

  .datatable-wrapper .datatable-search .datatable-input {
    min-width: 12rem !important;
  }
}

/* Overlay */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 1000;
}

.popup-overlay.show {
  opacity: 1;
  visibility: visible;
}

/* Popup */
.popup-content {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.7);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.popup-overlay.show .popup-content {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

/* Add-on selection styles */
.addon-card {
  transition: all 0.3s ease;
}

.addon-card:hover {
  transform: translateY(-2px);
}

.addon-checkbox:checked+.addon-card {
  border-color: #1DA1F2;
  background-color: #f0f9ff;
}

/* Order summary styles */
#addonsTotal {
  transition: all 0.3s ease;
}

#addonsTotal.hidden {
  display: none;
}

/* Price update animation */
#finalPrice {
  transition: color 0.3s ease;
}

/* Stripe Elements styling */
#card-element {
  min-height: 40px;
  padding: 10px 12px;
  border: 1px solid #E1E1E1;
  border-radius: 6px;
  background-color: white;
  transition: border-color 0.3s ease;
}

#card-element:focus-within {
  border-color: #1DA1F2;
  box-shadow: 0 0 0 2px rgba(29, 161, 242, 0.1);
}

#card-element.StripeElement--invalid {
  border-color: #fa755a;
}

#card-element.StripeElement--complete {
  border-color: #28a745;
}

/* Card errors styling */
#card-errors {
  min-height: 20px;
  font-size: 14px;
  color: #fa755a;
  margin-top: 8px;
}

/* profile tab css */
.file-input {
  opacity: 0;
  width: 0.1px;
  height: 0.1px;
  position: absolute;
}

.tab-content {
  display: none;
}

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

/* image upload css */

.image-upload-box {
  width: 80px;
  height: 80px;
  position: relative;
}

.image-preview {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 8px;
}

.image-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.delete-image img,
.delete-video img {
  filter: brightness(0) invert(1);
  /* White cross icon */
}

.video-upload-box {
  position: relative;
}

.video-preview {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 8px;
}

.video-preview video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

/* svg invert */
.filter-invert {
  filter: invert(100%);
}

/* google fonts */
.font-poppins {
  font-family: "Poppins", sans-serif;
}

.font-inter {
  font-family: "Inter", sans-serif;
}

/* dropdown css */
.transition-max-height {
  transition: max-height 0.3s ease-in-out;
}

/* swipper js css */
.swiper {
  width: 100%;
  height: 300px;
  margin-left: auto;
  margin-right: auto;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #444;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mySwiper2 {
  height: 400px;
  width: 100%;
  border-radius: 7px;
  padding: 0px;
}

.custom-card{
  min-height: 450px !important;
}
.custom-card .img-seller{
  width: 36px !important;
  height: 36px !important;
}

.mySwiper {
  height: 20%;
  box-sizing: border-box;
  padding: 10px 0;
}

.mySwiper .swiper-slide {
  width: 25%;
  height: 100%;
  opacity: 0.4;
}

.mySwiper .swiper-slide-thumb-active {
  opacity: 1;
}

.swiper-button-next:after,
.swiper-rtl .swiper-button-prev:after {
  position: absolute !important;
  box-shadow: 0 4px 8px rgba(29, 161, 242, 0.2);
  left: 16px !important;
  top: -55px !important;
  font-size: 10px !important;
  box-shadow: #1da1f2;
  background-color: #ffffff !important;
  color: #1da1f2;
  padding: 18px 20px !important;
  border-radius: 24px !important;
}

.swiper-button-prev:after,
.swiper-rtl .swiper-button-next:after {
  position: absolute !important;
  box-shadow: 0 4px 8px rgba(29, 161, 242, 0.2);
  right: 16px !important;
  top: -55px !important;
  font-size: 10px !important;
  box-shadow: #1da1f2;
  background-color: #ffffff !important;
  color: #1da1f2;
  padding: 18px 20px !important;
  border-radius: 24px !important;
}

@media (max-width: 500px) {

  .swiper-button-next:after,
  .swiper-rtl .swiper-button-prev:after {
    left: 3px !important;
    top: -30px !important;
  }

  .swiper-button-prev:after,
  .swiper-rtl .swiper-button-next:after {
    right: 3px !important;
    top: -30px !important;
  }

  .mySwiper2 {
    height: 300px;
  }
}

@media (min-width: 375px) and (max-width: 435px) {
  .mobile-padding {
    margin-top: 530px !important;
  }
}

/* coming soon  */
.countdown-circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(145deg, #e6f7ff, #b3e0ff);
  box-shadow: 0 10px 25px rgba(29, 161, 242, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.countdown-circle:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(29, 161, 242, 0.3);
}

.countdown-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1da1f2;
}

.countdown-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #1da1f2;
  margin-top: -8px;
}

.coming-soon-section {
  background: linear-gradient(135deg, #f5f7fa 0%, #e4f2ff 100%);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.pulse-animation {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

.notify-btn {
  background: linear-gradient(to right, #1da1f2, #1d8cf2);
  border: none;
  color: white;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  letter-spacing: 0.5px;
  box-shadow: 0 5px 15px rgba(29, 161, 242, 0.4);
  transition: all 0.3s ease;
}

.notify-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(29, 161, 242, 0.6);
}


input:focus,
textarea:focus,
select:focus {
  box-shadow: none !important;
}


.hide-scrollbar::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari, Opera */
}

@media (max-width: 768px) {
  .filter-wrapper {
    position: fixed;
    inset: 0;
    z-index: 100;
  }

  .filter-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
    z-index: 10;
  }

  #filterContent {
    position: absolute;
    top: 0;
    left: 0;
    width: 300px;
    height: 100vh;
    background: white;
    transform: translateX(-100%);
    transition: transform 0.4s ease-in-out;
    overflow-y: auto;
    z-index: 11;
    padding: 0 30px;
  }

  .filter-wrapper.show #filterContent {
    transform: translateX(0);
  }

  .filter-wrapper.show .filter-overlay {
    opacity: 1;
  }
}

.delete-icon {
  position: absolute;
  top: -18px;
  right: -15px;
  z-index: 999;
}

#remember:checked {
  color: #1DA1F2;
}

/* star rating */
 .star-rating {
      font-size: 40px;
      cursor: pointer;
    }
    .star {
      color: gray;
      transition: color 0.2s;
    }
    .star.selected {
      color: gold;
    }

    @media (min-width:1200px) {
       .filter-sticky{
position: sticky;
top: 0;
height: 100%;
    }
    }
    .reply-bg{
      background-color: #eff6ff80;
    }
    .gig-title{
      min-width: 300px !important;
    }
    .review-detail{
      max-width: 300px !important;
    }