@import url(https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap);
.not-found-section {
  position: relative;
  width: 100%;
  /* padding-bottom: 59px; */
  padding-top: 24px;
  /* min-height: 600px; */
}

.Box404 {
  margin-top: 100px;
}

.Box404 img {
  width: 100%;
}

.Box404 h1 {
  font-size: 200px;
  line-height: 200px;
  color: #2e80ec;
  font-weight: 100;
}

.Box404 h5 {
  text-transform: uppercase;
  font-weight: 600;
  font-size: 18px;
  color: #222;
}

.Box404 p {
  margin: 15px 0;
  color: #000;
  letter-spacing: 0.3px;
  font-weight: 300;
}

.Box404 button {
  text-transform: uppercase;
  font-weight: 500;
  padding: 10px 24px;
  margin-top: 12px;
}
.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #1262ab !important;
    --bs-btn-border-color: #1262ab !important;
    --bs-btn-hover-bg: #0b3963 !important;
    --bs-btn-hover-border-color: #0b3963;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #1262ab;
    --bs-btn-active-border-color: #1262ab;
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #a7caff;
    --bs-btn-disabled-border-color: #a7caff;
  }

  .btn-outline-primary {
    --bs-btn-color: #1262ab !important;
    --bs-btn-border-color: #1262ab !important;
    --bs-btn-hover-color: #fff !important;
    --bs-btn-hover-bg: #1262ab !important;
    --bs-btn-hover-border-color: #1262ab;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #1262ab;
    --bs-btn-active-border-color: #1262ab;
    --bs-btn-disabled-color: #1262ab;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #1262ab;
    --bs-gradient: none;
}




.py-2-5 {
  padding-top: 0.7rem !important;
  padding-left: 0.7rem;
  padding-bottom: 0.7rem !important;
}
.py-2-6 {
  padding-top: 0.9rem !important;
  padding-left: 0.7rem;
  padding-bottom: 0.8rem !important;
}

input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 0 !important;
}

input[readonly] {
  border: 1px solid #ddd !important;
}

.custom-file-placeholder {
  border: 1px solid #ccc;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  background-color: #fff;
  cursor: pointer;
  color: #6c757d;
  font-size: 0.875rem;
  min-height: 38px;
  line-height: 1.5;
  display: flex;
  align-items: center;
}

input::placeholder,
textarea::placeholder,
select::placeholder {
  font-size: 12px;
  font-weight: 600;
  color: #6c757d;
  /* Make placeholder same weight as form controls */
}

/* Make select elements use same font size as input placeholders for consistency */
/* select.text-small {
  font-size: 14px !important;
  font-weight: 600 !important;
} */

:focus {
  box-shadow: none !important;
  outline: none !important;
}

/* 
  input[name="dealValue"] {
    padding: 0.875rem 60px !important;
  } */
.text-danger.d-block.fs-xs.mt-1.text-weight-normal-gordita {
  font-size: 12.5px;
}

.phoneFormInput .dropdown {
  position: relative !important;
  z-index: 10;
  height: auto !important;
  min-height: 44px;
  background: transparent;
  display: block;
  width: auto !important;
  min-width: 90px;
  top: auto !important;
  transform: none !important;
  border: none !important;
  flex-shrink: 0;
}

.phoneFormInput .dropdown button {
  background: #f8f9fa !important;
  border: 1px solid #ced4da !important;
  border-right: none !important;
  border-radius: 0.25rem 0 0 0.25rem !important;
  position: relative !important;
  width: auto !important;
  height: 100% !important;
  min-height: 48px !important;
  min-width: 90px !important;
  inset: auto !important;
  margin: 0 !important;
  padding: 0.5rem 0.75rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #495057 !important;
}

.phoneFormInput .dropdown button::after {
  display: none !important;
}

.phoneFormInput img {
  width: 24px !important;
  height: auto;
  object-fit: contain;
}

.dropdown-item img {
  width: 24px !important;
  height: auto;
  object-fit: contain;
}

.phoneFormInput input {
  padding: 0.5rem 1rem !important;
  padding-left: 1rem !important;
  min-height: 44px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  border-radius: 0 0.25rem 0.25rem 0 !important;
  margin-top: 0 !important;
  border-left: none !important;
  flex: 1;
}

/* Ensure phone input uses text-small styling consistently */
.phoneFormInput input {
  font-size: 12px !important;
  font-weight: 600 !important;
}

/* Newsletter checkbox styling */
.subscribe-checkbox .form-check-label {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #222222 !important;
  font-family: "Manrope", sans-serif !important;
}

/* Ensure proper connection between dropdown and input */
/* .phoneFormInput .dropdown button:focus {
  z-index: 3;
  box-shadow: 0 0 0 0.2rem rgba(17, 97, 171, 0.25) !important;
} */

/* .phoneFormInput input:focus {
  z-index: 2;
  border-color: #1262ab !important;
  border-left: none !important;
  box-shadow: 0 0 0 0.2rem rgba(17, 97, 171, 0.25) !important;
} */

/* Mobile responsive adjustments */
@media (max-width: 576px) {
  .phoneFormInput .dropdown {
    min-width: 80px !important;
  }

  .phoneFormInput .dropdown button {
    min-width: 80px !important;
    padding: 0.5rem !important;
    font-size: 12px !important;
    font-weight: 600 !important;
  }

  .phoneFormInput input {
    padding: 0.5rem 0.75rem !important;
  }

  .phoneFormInput img {
    width: 20px !important;
  }

  /* Ensure dropdown menu is properly positioned on mobile */
  .phoneFormInput .dropdown-menu {
    max-height: 300px;
    overflow-y: auto;
    min-width: 250px !important;
    left: 0 !important;
    margin-top: 0.25rem !important;
  }

  .phoneFormInput .dropdown-item {
    padding: 0.5rem 1rem !important;
    min-height: 40px !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
  }
}

/* PUBLIC NAVBAR */
/* .publicNavbar .navbar-nav .nav-link:last-child {position: relative; margin-left: 40px; padding: 0 0 !important;} */
/* .publicNavbar .navbar-nav .nav-link:last-child:before {content: ""; position: absolute; left: -24px; top: 10px; width: 1.5px; height: 15px; background: #000;} */
.publicNavbar .nav-link {
  color: #000;
  padding: 18px 0px !important;
  margin: 0 14px;
  line-height: 0;
  position: relative;
  font-size: 15px;
}

.publicNavbar .nav-link sup {
  position: absolute;
  top: 7px;
  right: -13px;
}

.publicNavbar .nav-link:hover {
  color: #0c3963;
}

.publicNavbar .nav-link.active {
  color: #0c3963 !important;
  background-color: transparent !important;
}

.publicNavbar .nav-link:hover {
  color: #1463ad !important;
}

.activeIndicator {
  transition: all 0.3s ease;
}

/* DEAL MANAGEMENT SECTION */
.dealManagementSection::before {
  content: "Simple & Powerful";
  position: absolute;
  font-size: 60px;
  color: #ededed;
  top: 4px;
  left: 24px;
}

.dealManagementCards {
  position: relative;
}

.dealManagementCards::before {
  content: "";
  position: absolute;
  background-image: url(/assets/arrow-1.43c7c28a0ec08b287a8e.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  width: 50px;
  height: 50px;
  z-index: 1;
  left: 0;
  top: 110px;
}

.dealManagementCards::after {
  content: "";
  position: absolute;
  background-image: url(/assets/arrow-2.88b244135c0f379873c2.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  width: 50px;
  height: 50px;
  z-index: 1;
  right: 5px;
  bottom: 80px;
}

.powerful-icon {
  width: 70px;
  height: 70px;
  background: #e2eaf4;
  background-image: linear-gradient(#f9f9f9, #f5f7f9, #e2eaf4, #e2eaf4, #e2eaf4, #e2eaf4);
  border-radius: 50px;
  float: left;
  margin-right: 20px;
  padding: 14px;
  align-self: center;
  display: flex;
}

.powerful-icon svg path {
  fill: #1262ab;
}

/* SOFTWARE ON A MISSION SECTION */
.softwaremission::before {
  content: "Software";
  position: absolute;
  font-size: 60px;
  color: #f3f3f3;
  z-index: -1;
  top: -2px;
  left: 24px;
}

.imagesHh {
  height: 460px;
  width: 460px;
  margin: auto;
}

.decorationCircle {
  width: 90%;
  height: 90%;
  background: transparent;
  display: block;
  position: absolute;
  border-radius: 500px;
  border: 0;
  inset: 0;
  margin: auto;
}

.decorationCircle::before {
  content: "";
  position: absolute;
  background: #1463ad;
  width: 55px;
  height: 55px;
  top: 25%;
  right: 0;
  border-radius: 50px;
}

.maximizing-content {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.skewBtn span {
  transition: 0.4s ease-in-out;
  transform: translate(0px, -1px);
  display: inline-block;
}

.skewBtn:hover {
  box-shadow: 1px 1px 18px #2f2d2d4d;
}

.skewBtn:hover span {
  transform: translate(2px, -4px);
}

.whiteBackground.skewBtn {
  background-color: #1262AB;
  border: 1px solid #1262AB;
  color: #fff;
}

.whiteBackground.skewBtn:hover {
  background-color: #fff;
  color: #1262AB;
  border: 1px solid #1262AB;
}

.whiteBackground.skewBtn:hover svg path {
  fill: #1262AB;
}

.darkBackground.skewBtn {
  background-color: #fff;
  border: 1px solid #1262AB;
  color: #1262AB;
}

.darkBackground.skewBtn:hover {
  background-color: transparent;
  color: #fff;
  border: 1px solid #fff;
}

.darkBackground.skewBtn svg path {
  fill: #1262AB;
}

.darkBackground.skewBtn:hover svg path {
  fill: #fff;
}

.darkBackgroundImage.skewBtn {
  background-color: #fff;
  border: 1px solid #1262AB;
  color: #1262AB;
}

.darkBackgroundImage.skewBtn:hover {
  background-color: transparent;
  color: #fff;
  border: 1px solid #fff;
}

.darkBackgroundImage.skewBtn svg path {
  fill: #1262AB;
}

.darkBackgroundImage.skewBtn:hover svg path {
  fill: #fff;
}

.requestADemoBtn:hover {
  background-color: transparent !important;
}

#custom-switch {
  cursor: pointer;
}

.scaleDown {
  transform: scale(1);
}

.homeBannerHeaading {
  border-bottom: 4px solid;
}

/* AIForYou Section */
.AIForYou {
  background-image: url(/assets/AI_home.fc480a0d8a10af9fc3b8.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

/* LET'S TALK FORM */
.contactFormHome button[type="submit"] {
  background: #fff;
  color: #222;
  width: 200px;
  height: 50px;
}

/* VAVLUES & BUSINESS SECTION */
.valuesAndBusiness::before {
  content: "Values & Business";
  position: absolute;
  z-index: 1;
  top: 45%;
  transform: rotate(90deg) translateY(-50%);
  right: -50px;
  font-size: 45px;
  color: #ededed;
}

/* FAQs */
.homeFAQs::before {
  content: "FAQ";
  position: absolute;
  z-index: 1;
  transform: rotate(-90deg);
  font-size: 60px;
  color: #eeeeee;
  left: -2%;
  top: 75px;
}

/* REVENUE CARD */
.maximizing-content .card {
  height: 225px;
}

.maximizing-content .card p {
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}


/* .homeForm .invalid-feedback {
  color: #ffca62 !important;
}
.homeForm .form-control.is-invalid,
.was-validated .form-control:invalid {
  border-color: #ffca62 !important;
}

.contactFormHome input {
  background: transparent !important;
  background-color: transparent !important;
}
.contactFormHome .form-check-input:checked[type="checkbox"] {
  border-color: #fff;
} */
/* LET'S TALK FORM SECTION - HOME PAGE */
.contactFormHome .form-label {
  color: #fff;
}

.font-manrope {
  font-family: "Manrope", sans-serif !important;
}

/* FOUNDER SECTION */
.founderSection {
  background-color: #eeeeee;
}

.founderSection .position-relative.w-fit {
  width: 100%;
}

.sliderImage .position-relative.w-fit {
  width: 100%;
}

.addPartnerBackButton {
  right: 24px;
  top: 80px;
}

.addPartnerBackButton:hover svg path {
  fill: #fff;
}

.form-switch .form-check-input {
  background-color: #34B263 !important;
  border-color: #34B263 !important;
  background-position: right center;
  --bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%27-4 -4 8 8%27%3e%3ccircle r=%273%27 fill=%27%23fff%27/%3e%3c/svg%3e") !important;
}

.form-check-input:checked {
  background-color: #34B263 !important;
  border-color: #34B263 !important;
}

@media screen and (max-width: 1200px) {
  .navbar-brand img {
    width: 120px;
  }

  .softwaremission::before {
    display: none;
  }

  .homeFAQs::before {
    display: none;
  }

  .valuesAndBusiness::before {
    display: none;
  }

  .dealManagementSection::before {
    display: none;
  }

  .valuesAndBusiness::before {
    display: none;
  }

  .dealManagementCards::before {
    display: none;
  }

  .dealManagementCards::after {
    display: none;
  }
}

@media screen and (max-width: 992px) {

  .maximizing-content .card {
    height: auto;
  }

  .imagesHh {
    height: 355px;
    width: 355px;
    margin-top: 75px;
  }

  .decorationCircle::before {
    width: 40px;
    height: 40px;
  }

  .CE-Navbar .nav-link:last-child {
    margin-left: 0px !important;
  }

  .navbar-brand img {
    width: 80px;
  }

  /* .navbar-nav .nav-link.active,
  .navbar-nav .nav-link.show {
    border-bottom: none !important;
  } */
  .navbar-nav .nav-link:last-child:before {
    display: none;
  }
}

@media screen and (max-width: 768px) {
  .AIForYou {
    background-image: none;
    background-color: #1463ad;
  }

  .imagesHh {
    height: 200px;
    width: 201px;
    margin-top: 0;
  }

  .decorationCircle::before {
    width: 22px;
    height: 22px;
  }

  .bannerSectionHome::after {
    height: 35%;
  }

  .bannerSectionHome {
    background-image: none !important;
  }
}

@media screen and (max-width: 576px) {
  .AIForYou {
    background-image: none;
  }

  .scaleDown {
    transform: scale(0.8);
  }
}

.hover-card {
  transition: transform 0.4s ease-in-out;
  transition: transform 0.4s ease-in-out;
  will-change: transform;
}

.hover-card:hover {
  transform: scale(1.05);
  /* Zoom in on hover */
}




.quick-link {
  position: relative;
  /* display: inline-block; */
  color: white;
  font-size: 16px;
  cursor: pointer;
  text-decoration: none;
}

.quick-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0%;
  height: 2px;
  background-color: white;
  transition: width 0.9s ease;
}

.quick-link:hover::after {
  width: 100%;
}
.custom-dialog-margin {
    margin-top: 50px !important;
}

/* .my-offcanvas-body {
    margin-top: 60px !important;
    background-color: #f8f9fa;
} */

@media (min-width: 320px) and (max-width: 1024px) {
  .heading-responsive-margin {
    margin-bottom: 24px !important
  }
}
.faq-accordion .accordion-button {
 padding-left: 0px !important;
 padding-right: 0px !important;
 
}

.custom-carousel .slick-dots {
    position: static;
    width: fit-content;
    padding: 3px 4px 0px;
    margin: 0 auto;
    display: flex !important;
    background: transparent;
    border-radius: 50px;
    height: fit-content;
}

.dealDetailsCarousel .custom-carousel .slick-dots {
    position: absolute;
    top: 8px;
    right: 11px;
}

.slick-slide img {
    height: 100%;
}

.custom-carousel .slick-dots li {
    width: 10px;
    height: auto;
    margin: 0 5px;
    padding: 0;
}

.custom-carousel .slick-dots li button {
    width: auto;
    height: auto;
    padding: 0px;
}

.custom-carousel .slick-dots li button:before {
    position: static;
}


.custom-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    background: white;
    width: 30px;
    height: 30px;
    line-height: 28px;
    text-align: center;
    border-radius: 1px;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.15);
    font-size: 25px;
}

.custom-arrow-left {
    left: -25px;
}

.custom-arrow-right {
    right: -25px;
}


.rg .slide-item {
    padding: 10px !important;
}

.rg .slide-item img {
    border: 1px solid #ddd;
}

.rg .slick-dots li button:before {
    font-size: 12px;
}

.lightboxCarousel .slick-track {
    display: flex;
    align-items: center;
}

.thumb-nav-btn {
    background: #f8f9fa;
    border: 1px solid #ddd;
    padding: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.2s ease;
}

.thumb-nav-btn:hover:not(:disabled) {
    background: #1463ad;
    border-color: #1463ad;
}

.thumb-nav-btn:hover:not(:disabled) svg path {
    fill: #fff;
}

.thumb-nav-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}
/* ---------- GENERAL LAYOUT ---------- */
.maximizing-content {
    background: linear-gradient(180deg, #f8f9fa 0%, #eef2f6 100%);
}

/* ---------- TEXT BOXES ---------- */
.flow-box {
    text-align: center;
    align-items: center;
    background: #ddd;
    border-radius: 10px;
    padding: 10px 15px;
    font-weight: 600;
    color: #0053BB;
    /* display: inline-block; */
    min-width: 140px;
    transition: all 0.3s ease;
}

.flow-box:hover {
    background: #007bff;
    color: #fff;
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
    transform: translateY(-3px);
}

/* ---------- ARROW BOXES ---------- */
.arrow-box {
    position: relative;
    background: linear-gradient(90deg, #004aad, #007bff);
    color: #fff;
    font-weight: 500;
    font-size: 1rem;
    padding: 2px 50px;
    display: inline-block;
    /* border-radius: 50px; */
    min-width: 320px;
    transition: all 0.3s ease;
}

.arrow-box::before,
.arrow-box::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border-top: 30px solid transparent;
    border-bottom: 30px solid transparent;
}

.arrow-box::before {
    left: -28px;
    border-right: 33px solid #004aad;
}

.arrow-box::after {
    right: -28px;
    border-left: 28px solid #007bff;
}

.arrow-box:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

/* ---------- BROKER BOX ---------- */
.broker-box {
    background: #dddddd;
    border-radius: 8px;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

/* ---------- RESPONSIVE DESIGN ---------- */
@media (max-width: 768px) {
    .arrow-box {
        min-width: 250px;
        font-size: 0.95rem;
        padding: 10px 30px;
    }

    .arrow-box::before,
    .arrow-box::after {
        border-top: 18px solid transparent;
        border-bottom: 18px solid transparent;
    }

    .flow-box {
        min-width: 100px;
        font-size: 0.9rem;
    }
}
.MuiFormHelperText-root {
    font-family: "Manrope", sans-serif !important;
    font-weight: 500 !important;
    font-size: 12.5px !important;
    color: #dc3545 !important;
    /* Bootstrap 'text-danger' color */
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-top: 0 !important;
}

.MuiPickersOutlinedInput-sectionsContainer {
    font-size: 14px;
    font-weight: 590 !important;
    font-family: "Manrope", sans-serif !important;

}

.MuiPickersInputBase-root.MuiPickersOutlinedInput-root.MuiPickersInputBase-fullWidth.MuiPickersInputBase-colorPrimary.MuiPickersInputBase-inputSizeSmall.MuiPickersInputBase-adornedEnd.w-100.text-small.css-1hgcujo-MuiPickersInputBase-root-MuiPickersOutlinedInput-root {
    height: 47px !important;
}


.MuiPickersInputBase-root.MuiPickersOutlinedInput-root.MuiPickersInputBase-fullWidth.MuiPickersInputBase-colorPrimary.MuiPickersInputBase-adornedEnd.w-100.text-small.css-1hgcujo-MuiPickersInputBase-root-MuiPickersOutlinedInput-root {
    height: 49px !important;
    font-size: 14px;
    font-weight: 600 !important;
    font-family: "Manrope", sans-serif !important;
}


.fullWidth.MuiPickersInputBase-colorPrimary.MuiPickersInputBase-inputSizeSmall.MuiPickersInputBase-adornedEnd.w-100.text-small.css-1hgcujo-MuiPickersInputBase-root-MuiPickersOutlinedInput-root {
    border: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;
}

.MuiPickersInputBase-root.MuiPickersOutlinedInput-root.MuiPickersInputBase-fullWidth.MuiPickersInputBase-colorPrimary.MuiPickersInputBase-adornedEnd.w-100.text-small.css-18qp6qv {
    height: 46px !important;
}

.MuiPickersSectionList-root.MuiPickersInputBase-sectionsContainer.css-gfka5e-MuiPickersSectionList-root-MuiPickersInputBase-sectionsContainer-MuiPickersOutlinedInput-sectionsContainer {
    font-size: 14px;
    font-weight: 590 !important;
    font-family: "Manrope", sans-serif !important;
}

.MuiPickersSectionList-root.MuiPickersInputBase-sectionsContainer.css-15395ss-MuiPickersSectionList-root-MuiPickersInputBase-sectionsContainer-MuiPickersOutlinedInput-sectionsContainer {
    /* font-weight: 590 !important; */
    font-family: "Manrope", sans-serif !important;

    /* line-height: 21px; */
}
.dash-table table thead {
  transform: scaleX(1);
}

.dash-table table tbody {
  transform: scaleX(1);
}

.dash-table table tbody tr {
  border-radius: 0px;
}

.viewAll {
  font-size: 14px;
  border: 1px solid #E5E5E5;
  background: transparent;
  border-radius: 5px;
  width: 80px;
  height: 34px;
  color: #313131;
}

.dash_new {
  font-family: Manrope, sans-serif !important;
}

tspan {
  font-size: 12px;
}

/* .nodata1 {
  margin-top: 900px !important;
} */
.p.toggle-deal {
  margin-right: 15px;
}
/**
 * Messages Page Styles
 */

.messages-page {
  padding: 20px 0;
  min-height: calc(100vh - 100px);
  font-family: 'Manrope', sans-serif;
}

/* .messages-page__container {
  max-width: 1400px;
} */

.messages-page__header {
  margin-bottom: 20px;
}

.messages-page__subtitle {
  margin: 0;
  font-size: 14px;
  color: #757575;
}

.messages-page__content {
  height: calc(100vh - 280px);
  min-height: 400px;
  max-height: calc(100vh - 280px);
}

@media (max-width: 991px) {
  .messages-page__title {
 margin-top: 20px;
}
.messages-page__content{
  margin-bottom: 40px;
}

}
/* Responsive */
@media (max-width: 768px) {
  .messages-page {
    padding: 12px 0;
  }

  .messages-page__header {
    margin-bottom: 12px;
    
  }

  .messages-page__title {
    font-size: 20px;
  }

  .messages-page__content {
    height: calc(100vh - 220px);
    max-height: calc(100vh - 220px);
  }
}

.pagination .page-link {
  border: 0;
  outline: none;
  box-shadow: none;
  /* color: #0b3963; */
}

.table>thead {
  
  border-bottom: 1px solid #ddd;
  vertical-align: bottom;
}

table tr th {
  background-color: #F3F4F6 !important;
  /* color: rgb(21, 16, 16) !important; */
  padding: 0.5rem 0;
}

table tr th:first-child {
  padding-left: 0.6rem;
}
table tr td {
  padding: 0.5rem 0;
}

table tr td:first-child {
  padding-left: 0.6rem;
}


/* .pagination-sm-custom .page-item:not(.disabled) .page-link:hover,
.pagination-sm-custom .page-item:not(.disabled) .page-link:focus,
.pagination-sm-custom .page-item:not(.disabled):hover .black {
  color: rgb(234, 221, 221) !important;
}

.pagination-sm-custom .page-item:not(.disabled) .page-link:hover,
.pagination-sm-custom .page-item:not(.disabled) .page-link:focus,
.pagination-sm-custom .page-item:not(.disabled):hover .black {
  background-color: #1161ab !important;
}

.custom-pagination-sm .page-link {
  font-size: 14px !important;
} */

a.page-link {
  font-size: 14px;
}

span.page-link {
  font-size: 14px;
}

/* th.text-small.text-black {
  text-align: center !important;
}

td.position-relative {
  text-align: center !important;
}

td.black {
  text-align: center !important;
} */

.text-main-color {
  color: #1161AB !important;
}

.text-primary {
  color: #1161AB !important;
}


/* td, th {
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 115px;
    white-space: nowrap;
} */


.pagination-sm .page-link {
  padding: 0.25rem 0.6rem;
  font-size: 0.875rem;
}

.pagination .page-item.active .page-link {
  background-color: #1262AB;
  border-color: #1262AB;
  color: #fff;
}

.pagination .page-item.disabled .page-link {
  opacity: 0.6;
  pointer-events: none;
}

.pagination-sm-custom .page-item .page-link {
  padding: 0.35rem 0.75rem;
  font-size: 0.875rem;
  border-radius: 0.25rem;
  color: #212529;
  border: 1px solid #dee2e6;
  background-color: #fff;
  transition: all 0.2s ease;
}

.pagination-sm-custom .page-item .page-link:hover {
  background-color: #f8f9fa;
  color: #1262AB;
  border-color: #1262AB;
}

.pagination-sm-custom .page-item.active .page-link {
  background-color: #1262AB;
  color: #fff;
  border-color: #1262AB;
}

.pagination-sm-custom .page-item.disabled .page-link {
  opacity: 0.6;
  pointer-events: none;
  background-color: #e9ecef;
}

.pagination-sm-custom .page-item {
  display: flex;
  align-items: center;
}

.pagination-sm-custom .page-item .d-flex {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #212529;
  font-size: 0.875rem;
}

.pagination-sm-custom .page-item .d-flex svg {
  width: 16px;
  height: 16px;
}

/* tr:not(:last-child) {
  border-bottom: 1px solid #ddd;
} */
/* tr:last-child {
  border-bottom: none !important;
} */

/* td.black {
  font-size: 14px;
} */

.pagination .active .page-link {
  background: #0b3963;
  border-radius: 2px;
}

.pagination .disabled>.page-link,
.page-link.disabled {
  background-color: transparent !important;
}

/* .container-fluid {
  box-shadow: 1px -20px 20px 17px rgba(0, 0, 0, 0.1);
} */

.custom-table-wrapper {
  overflow: visible;
  position: relative;
  padding-bottom: 100px;
}


.tableDropdown.dropdown-menu.show {
  margin-right: 12px;
  margin-top: -46px;
  padding: 4px 6px;
  min-width: auto;
  border-radius: 4px;
  z-index: 1060 !important;
  background: #f5f5f5;
  border: 1px solid #e6e6e6;
  /* right: -40px !important; */
}

/* Mobile-specific improvements for table dropdown */
@media (max-width: 768px) {
  .tableDropdown.dropdown-menu.show {
    margin-right: 8px;
    margin-top: -48px;
    min-width: 120px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 1px solid #ddd;
    background: #fff;
  }
}

.tableDropdown .dropdown-item {
  padding: 1px 6px;
  font-size: 14px;
  line-height: 22px;
}

/* Mobile touch targets for dropdown items */
@media (max-width: 768px) {
  /* .tableDropdown .dropdown-item {
    padding: 8px 12px;
    font-size: 14px;
    line-height: 20px;
    min-height: 44px;
    display: flex;
    align-items: center;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    touch-action: manipulation;
  } */

  .tableDropdown .dropdown-item:hover {
    background-color: #f8f9fa;
  }

  .tableDropdown .dropdown-item:active {
    background-color: #e9ecef;
  }
}




/* .regularTable .dropdown-menu.show::before {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-left: 12px solid #ebebeb;
    border-bottom: 6px solid transparent;
    top: 50%;
    transform: translateY(-50%);
    right: -12px;
} */

.regularTable .dropdown-item {
  padding: 1px 8px !important;
  font-size: 13px;
}

/* .dropdown-menu {
  z-index: 9999 !important;
} */

/* Highlight entire row on hover with black text */
/* table.css */
.table-hover tbody tr:hover {
  background-color: #000000 !important;
  /* Black background */
  color: white !important;
  /* Optional: make text readable */
}

/* .custom-switch-size .form-check-input {
  font-size: 1.875rem !important;
} */
.disabled-item {
  color: #5b6064 !important;
  /* Bootstrap's default disabled text color */
  pointer-events: none;
  background-color: #676f77;
  /* Optional: light grey background */
  opacity: 0.65;
}


/* In your CSS */
.force-dropdown-visible {
  z-index: 9999 !important;
  position: absolute !important;
}


.active-tab {
  background-color: #e8f0fe !important;
  color: #1262AB !important;
}

.toggle-switch-wrapper button {
  transition: all 0.2s ease-in-out;
}
.table-fade {
  animation: tableFade 0.25s ease-in-out;
}

@keyframes tableFade {
  from {
    opacity: 0;
    transform: scale(0.94);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.btn-toggle:hover{background-color: #1262ab !important;color: #fff !important;}
.recharts-default-legend {
    position: relative;
    top: 10px;
}
/* .status-chart .progress-circle {
  transform: rotate(0deg);
  margin-top: -5px;
  transform: scaleY(0.7);
  position: relative;
  top: 30px;
}

.status-chart .day2 .progress-circle {
  transform: scaleY(0.5);
  top: 50px;
}

.status-chart .day3 .progress-circle {
  transform: scaleY(0.3);
  top: 70px;
}

.status-chart .day4 .progress-circle {
  transform: scaleY(0.5);
  top: 50px;
}

.status-chart .day5 .progress-circle {
  transform: scaleY(0.3);
  top: 70px;
}

.status-chart .day6 .progress-circle {
  transform: scaleY(0.6);
  top: 40px;
}

.status-label {
  position: absolute;
  bottom: -10px;
  justify-content: space-between;
  width: 100%;
  max-width: 280px;
  left: 50%;
  transform: translateX(-50%);
}

.status-label .text-label {
  font-size: 0.7rem;
  color: #777;
  letter-spacing: 0.3px;
}

.status-label .dot {
  width: 8px;
  height: 8px;
  display: inline-block;
  border-radius: 50px;
  margin-left: 6px;
}

.status-label .dot.active {
  background: #1ccb90;
}
.status-label .dot.pending {
  background: #f48300;
}
.status-label .dot.rejected {
  background: #ff0202;
}
.status-label .dot.closed {
  background: #ae2e2d;
}

.progress-dash1 .status-chart .progressSign {
  transform: none;
}

.progress-dash1 .status-chart .progress-text {
  top: auto;
  left: 0;
  font-size: 0.6em;
  color: #999;
  font-weight: 400;
  font-style: italic;
  text-align: left;
  margin-top: 7px;
  letter-spacing: 1px;
}

.progress-dash1 .status-chart .progressSign {
  position: relative;
  margin: 0 0;
  left: 0;
}

.progress-dash1 .status-chart .progressSign.day2 {
  left: 56px;
}
.progress-dash1 .status-chart .progressSign.day3 {
  left: 114px;
}
.progress-dash1 .status-chart .progressSign.day4 {
  left: 172px;
}
.progress-dash1 .status-chart .progressSign.day5 {
  left: 229px;
}
.progress-dash1 .status-chart .progressSign.day6 {
  left: 285px;
}
.progress-dash1 .status-chart .progressSign.day7 {
  left: 335px;
}

.progress-dash1 .status-chart .progress-circle-back {
  stroke-width: 0.3rem;
}

.progress-dash1 .status-chart .progress-circle-back {
  stroke-dasharray: 500 999;
  stroke: #ac2f2d;
  animation-name: dasharrayStatusProg1;
  animation-duration: 1s;
  animation-delay: 0s;
}
.progress-dash1 .status-chart .progress-circle-prog1 {
  stroke-dasharray: 130 999;
  stroke: #1ccb90;
  animation-name: dasharrayStatusProg2;
  animation-duration: 1s;
  animation-delay: 0s;
}

.progress-dash1 .status-chart .progress-circle-prog2 {
  stroke-dasharray: 70 999;
  stroke: #ff0202;
  animation-name: dasharrayStatusProg3;
  animation-duration: 1s;
  animation-delay: 0s;
}
.progress-dash1 .status-chart .progress-circle-prog3 {
  stroke-dasharray: 30 999;
  stroke: #f48301;
  animation-name: dasharrayStatusProg4;
  animation-duration: 1s;
  animation-delay: 0s;
}

.chart-texure {
  width: 100%;
  height: 100%;
  position: absolute;
}

.texture-text {
  position: relative;
  top: -24px;
}

.chart-texure p {
  position: relative;
  line-height: 50px;
  font-size: 0.7rem;
  color: #999;
}

.texture-line {
  width: 100%;
  height: 1px;
  background-repeat: no-repeat;
  background-size: contain;
  margin-left: 24px;
  position: absolute;
}

.prog-wrap {
  margin-left: 24px;
}

@keyframes dasharrayStatusProg1 {
  0% {
    stroke-dasharray: 0 999;
  }
  100% {
    stroke-dasharray: 500 999;
  }
}
@keyframes dasharrayStatusProg2 {
  0% {
    stroke-dasharray: 0 999;
  }
  100% {
    stroke-dasharray: 130 999;
  }
}
@keyframes dasharrayStatusProg3 {
  0% {
    stroke-dasharray: 0 999;
  }
  100% {
    stroke-dasharray: 70 999;
  }
}
@keyframes dasharrayStatusProg4 {
  0% {
    stroke-dasharray: 0 999;
  }
  100% {
    stroke-dasharray: 30 999;
  }
} */

.recharts-default-legend {
  text-align: center;
  width: fit-content;
  max-width: 355px;
  margin: 0 auto !important;
  padding-left: 20px !important;
}

.recharts-default-legend li {
  font-family: Manrope, sans-serif;
  font-size: 14px !important;
  font-weight: 600;
}

ul li .recharts-surface {
  width: 10px;
  height: 8px;
}

line[orientation="bottom"] {
  display: none;
}

line[orientation="left"] {
  display: none;
}

text[orientation="bottom"] {
  font-size: 0.7rem;
  fill: #999;
  letter-spacing: 0.5px;
}

text[orientation="left"] {
  font-size: 0.7rem;
  fill: #999;
  letter-spacing: 0.5px;
}
.search-drop {
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  z-index: 99;
  width: 100%;
  max-width: 940px;
  box-shadow: 10px 20px 35px #00000017;
  border: 1px solid #eee;
  border-radius: 2px;
  padding: 24px;
}

p.labelll {
  margin: 0;
  font-size: 13px;
  color: #007df3;
}
svg.nodatdashboard-icon {
  margin-top: 600px;
}
.search-drop .reset {
  background: #fafafa;
  border: 1px solid #ddd;
  color: #555;
  font-size: 15px;
  letter-spacing: 0.5px;
  width: 100px;
  height: 40px;
  border-radius: 3px;
  margin-left: 20px;
  outline: none;
}

.search-drop .apply {
  background: #007df3;
  border: 1px solid #0271db;
  color: #fff;
  font-size: 15px;
  letter-spacing: 0.5px;
  width: 100px;
  height: 40px;
  border-radius: 3px;
  margin-left: 20px;
  outline: none;
}

.submitUpdateContactBtn {
  background: #1262ab;
  color: #fff;
  width: 100%;
  height: 48px;
  border-radius: 3px;
  opacity: 1;
  position: relative;
  top: -11px;
  font-size: 14px;
}
span.clear-selection-new {
  font-size: 25px;
  right: 10px;
  /* left: 218px; */
  position: absolute;
  /* top: 5px; */
}
/* .modal-open {
  overflow: hidden;
} */

.input.select_contact.form-control.rounded-2.bg-transparent {
  border: 1px solid black;
  width: 100%;
}

.submitUpdateContactBtn:hover {
  opacity: 0.8;
}

.updateContact {
  width: 100%;
  max-width: 758px;
  height: fit-content;
  min-height: 367px;
  background: #fff;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  border-radius: 7px;
  padding: 24px;
}

.css-1n6sfyn-MenuList {
  max-height: 180px;
}

.select_contact {
  height: 46px;
  width: 100%;
}

.option {
  padding: 5px;
  cursor: pointer;
}

.option:hover {
  background-color: #f0f0f0;
  /* Change the background color on hover */
}

.reasonBtn {
  width: 100px;
  height: 40px;
  font-size: 1rem;
  background: #1362ab;
  border: 1px solid #1362ab;
  color: #fff;
  border-radius: 3px;
}

.closeDealDialog {
  width: 100% !important;
  max-width: 758px;
  height: fit-content;
  background: #fff;
  z-index: 9;
  /* padding: 24px; */
  border-radius: 5px;
}

.closeDealDialog h1 {
  font-size: 20px;
  color: #1262AB;
  text-align: center;
}


/* Modal Title */
.modal-title {
  text-align: center;
  font-size: 20px;
  font-weight: 600;
  color: #1a5db3;
}

/* Modal Label */
.modal-label {
  font-size: 16px;
  font-weight: 600;
  color: #000;
  margin-bottom: 5px;
}

/* Modal Textarea */
.modal-textarea {
  width: 100%;
  height: 120px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  resize: none;
  font-size: 16px;
  color: #000;
}

.modal-textarea:focus {
  border-color: #1a5db3;
  outline: none;
}



/* Submit Button */
.modal-submit-btn {
  background-color: #1a5db3;
  color: #fff;
  padding: 12px 30px;
  font-size: 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.modal-submit-btn:hover {
  background-color: #174c8e;
}
.closeDealDialog {
  margin-top: -25px;
}
.sortBy-select .tableSort {
  padding: 12px;
  width: fit-content;
  position: absolute;
  z-index: 9;
  margin-left: 0;
}

.sortBy-select .tableSort svg:nth-child(1) {
  transform: rotate(180deg);
  top: 0px;
  position: relative;
}

.sortBy-select .tableSort svg:nth-child(2) {
  transform: rotate(180deg);
  position: relative;
  left: 4px;
  top: 0px;
}

.sortBy-select .css-13cymwt-control {
  padding-left: 25px;
  background: #f6f2f3;
  border: 1px solid #0000001a;
  min-width: 115px;
}

.sortBy-select .css-t3ipsp-control {
  padding-left: 25px;
  box-shadow: none;
  background: #f6f2f3;
  border: 1px solid #ddd6d8;
}

.css-t3ipsp-control:hover {
  border-color: transparent !important;
}

.input-g.my-deals-toggle {
  margin: 0;
  width: 100%;
  min-height: 23px;
  position: relative;
  margin-bottom: 0px;
}

.brokerView .input-g.my-deals-toggle {
  margin: 0;
  position: relative;
  top: 9px;
}

.inner-toogle {
  display: flex;
  align-self: center;
  position: relative;
}

.activeT {
  margin-bottom: 0;
  font-size: 0.9rem;
  /* color: #9d9d9d; */
  letter-spacing: 0.3px;
}

.activeT:hover {
  /* color: #777; */
  cursor: pointer;
}

.activeT input {
  width: 15px;
  height: 15px;
  position: relative;
  top: 3px;
}

.dealRadio {
  width: auto;
  position: relative;
  top: 2px;
  margin-right: 5px;
}

td .stage {
  font-size: 11px;
  position: absolute;
  top: 5px;
  left: -89px;
  box-shadow: 0 0 9px #00000029;
  border: 1px solid #dddc;
  padding: 4px 10px;
  border-radius: 5px;
  z-index: 9;
  letter-spacing: 0.5px;
  font-weight: 500;
}

td .stageNegotiation .stage {
  left: -94px;
}

td .stageSigned .stage {
  left: -33px;
}

td .stageProgress .stage {
  left: -30px;
}

td .stageExcecuted .stage {
  left: 15px;
}

.in-prog {
  display: flex;
  position: absolute;
  top: 37px;
  left: -65px;
}

.in-prog span {
  width: 25px;
  height: 4px;
  background: #1ccb90;
  display: inline-block;
  margin: 0 4px;
}

.stageProgress .in-prog span:nth-child(5) {
  background: #ccc;
}

.stageSigned .in-prog span:nth-child(4) {
  background: #ccc;
}

.stageSigned .in-prog span:nth-child(5) {
  background: #ccc;
}

.stageNegotiation .in-prog span:nth-child(3) {
  background: #ccc;
}

.stageNegotiation .in-prog span:nth-child(4) {
  background: #ccc;
}

.stageNegotiation .in-prog span:nth-child(5) {
  background: #ccc;
}

.stageOpen .in-prog span:nth-child(2) {
  background: #ccc;
}

.stageOpen .in-prog span:nth-child(3) {
  background: #ccc;
}

.stageOpen .in-prog span:nth-child(4) {
  background: #ccc;
}

.stageOpen .in-prog span:nth-child(5) {
  background: #ccc;
}

.table-UI.myDeal table {
  width: 100%;
  margin-bottom: 0px;
  overflow: hidden;
  /* padding-bottom: 120px; */
}

.selectedDeal {
  position: relative;
  margin-left: 35px;
  display: flex;
  cursor: pointer;
}

.selectedDeal.checked {
  cursor: default;
}

.selectedDeal .check--mark {
  position: absolute;
  left: -17px;
  transform: scale(0.9);
  display: none;
}

.selectedDeal.checked .check--mark {
  display: block;
}

.selectedDeal::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50px;
  position: absolute;
  left: -17px;
  top: 1px;
  border: 2px solid #222222ad;
  display: block;
}

.selectedDeal svg {
  width: 19px;
  height: 19px;
  position: absolute;
  top: 1px;
  display: none;
  left: -19px;
  background: white;
}

.selectedDeal .checkmark {
  stroke: #007ef6;
  stroke-width: 9px;
}

.checked.selectedDeal svg {
  display: block;
}

.selectedDeal p {
  margin-left: 7px;
  align-self: center;
}

.label-title {
    font-size: 14px;
    font-weight: 600;
    color: #6c6c6c;
    font-family: 'Manrope', sans-serif;
}

.label-value {
    font-size: 15px;
    font-weight: 600;
    color: #000;
    margin-top: 2px;
    font-family: 'Manrope', sans-serif;
}

.TextInput {
    font-family: 'Manrope', sans-serif;
}
.sortBy-select .tableSort {
  padding: 12px;
  width: fit-content;
  position: absolute;
  z-index: 9;
  margin-left: 0;
}

.sortBy-select .tableSort svg:nth-child(1) {
  transform: rotate(180deg);
  top: 0px;
  position: relative;
}

.sortBy-select .tableSort svg:nth-child(2) {
  transform: rotate(180deg);
  position: relative;
  left: 4px;
  top: 0px;
}

.sortBy-select .css-13cymwt-control {
  padding-left: 25px;
  background: #f6f2f3;
  border: 1px solid #0000001a;
  min-width: 115px;
}

.sortBy-select .css-t3ipsp-control {
  padding-left: 25px;
  box-shadow: none;
  background: #f6f2f3;
  border: 1px solid #ddd6d8;
}

.css-t3ipsp-control:hover {
  border-color: transparent !important;
}

.input-g.my-deals-toggle {
  margin: 0;
  width: 100%;
  min-height: 23px;
  position: relative;
  margin-bottom: 0px;
}

.brokerView .input-g.my-deals-toggle {
  margin: 0;
  position: relative;
  top: 9px;
}

.inner-toogle {
  display: flex;
  align-self: center;
  position: relative;
}

.activeT {
  margin-bottom: 0;
  font-size: 0.9rem;
  /* color: #9d9d9d; */
  letter-spacing: 0.3px;
}

.activeT:hover {
  /* color: #777; */
  cursor: pointer;
}

.activeT input {
  width: 15px;
  height: 15px;
  position: relative;
  top: 3px;
}

.dealRadio {
  width: auto;
  position: relative;
  top: 2px;
  margin-right: 5px;
}

td .stage {
  font-size: 11px;
  position: absolute;
  top: 5px;
  left: -89px;
  box-shadow: 0 0 9px #00000029;
  border: 1px solid #dddc;
  padding: 4px 10px;
  border-radius: 5px;
  z-index: 9;
  letter-spacing: 0.5px;
  font-weight: 500;
}

td .stageNegotiation .stage {
  left: -94px;
}

td .stageSigned .stage {
  left: -33px;
}

td .stageProgress .stage {
  left: -30px;
}

td .stageExcecuted .stage {
  left: 15px;
}

.in-prog {
  display: flex;
  position: absolute;
  top: 37px;
  left: -65px;
}

.in-prog span {
  width: 25px;
  height: 4px;
  background: #1ccb90;
  display: inline-block;
  margin: 0 4px;
}

.stageProgress .in-prog span:nth-child(5) {
  background: #ccc;
}

.stageSigned .in-prog span:nth-child(4) {
  background: #ccc;
}

.stageSigned .in-prog span:nth-child(5) {
  background: #ccc;
}

.stageNegotiation .in-prog span:nth-child(3) {
  background: #ccc;
}

.stageNegotiation .in-prog span:nth-child(4) {
  background: #ccc;
}

.stageNegotiation .in-prog span:nth-child(5) {
  background: #ccc;
}

.stageOpen .in-prog span:nth-child(2) {
  background: #ccc;
}

.stageOpen .in-prog span:nth-child(3) {
  background: #ccc;
}

.stageOpen .in-prog span:nth-child(4) {
  background: #ccc;
}

.stageOpen .in-prog span:nth-child(5) {
  background: #ccc;
}

.table-UI.myDeal table {
  width: 100%;
  margin-bottom: 0px;
  overflow: hidden;
  /* padding-bottom: 86px; */
}

.selectedDeal {
  position: relative;
  margin-left: 35px;
  display: flex;
  cursor: pointer;
}

.selectedDeal.checked {
  cursor: default;
}

.selectedDeal .check--mark {
  position: absolute;
  left: -17px;
  transform: scale(0.9);
  display: none;
}

.selectedDeal.checked .check--mark {
  display: block;
}

.selectedDeal::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50px;
  position: absolute;
  left: -17px;
  top: 1px;
  border: 2px solid #222222ad;
  display: block;
}

.selectedDeal svg {
  width: 19px;
  height: 19px;
  position: absolute;
  top: 1px;
  display: none;
  left: -19px;
  background: white;
}

.selectedDeal .checkmark {
  stroke: #007ef6;
  stroke-width: 9px;
}

.checked.selectedDeal svg {
  display: block;
}

.selectedDeal p {
  margin-left: 7px;
  align-self: center;
}

.lightbox-content {
  background-color: #191919e6 !important;
  border: none;
  border-radius: 0;
}

.lightbox-body {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Close Button */
.lightbox-close {
  position: fixed !important;
  top: 20px !important;
  right: 20px !important;
  z-index: 9999 !important;
  background: rgba(30, 30, 30, 0.85) !important;
  border: none !important;
  border-radius: 8px;
  width: 44px;
  height: 44px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
}

.lightbox-close:hover {
  background: rgba(220, 53, 69, 0.95) !important;
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
}

.lightbox-close:active {
  transform: scale(0.98);
}

.lightbox-close svg {
  width: 20px;
  height: 20px;
}

.lightbox-close svg path {
  stroke: #ffffff;
  stroke-width: 2.5;
}

/* Image Counter */
.lightbox-counter {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  background: rgba(30, 30, 30, 0.85);
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  backdrop-filter: blur(20px);
  border: none;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
}

/* Media Container */
.lightbox-media-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Image Styles */
.lightbox-image {
  max-width: 100%;
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 0;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

/* Video Styles */
.lightbox-video {
  max-width: 100%;
  max-height: 80vh;
  width: auto;
  height: auto;
  border-radius: 0;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
  background: #000;
}

/* Audio Styles */
.lightbox-audio-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.lightbox-audio {
  width: 100%;
  max-width: 500px;
}

/* Embed Styles */
.lightbox-embed {
  width: 100%;
  height: 85vh;
  max-height: 600px;
  border: none;
  border-radius: 4px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

/* Fallback Styles */
.lightbox-fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 40px;
}

/* Navigation Buttons */
.lightbox-nav {
  position: fixed !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 9999 !important;
  background: rgba(30, 30, 30, 0.85) !important;
  border: none !important;
  border-radius: 8px;
  width: 48px;
  height: 48px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
}

.lightbox-nav:hover {
  background: rgba(50, 50, 50, 0.95) !important;
  transform: translateY(-50%) scale(1.1) !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.8);
}

.lightbox-nav:active {
  transform: translateY(-50%) scale(0.98) !important;
}

.lightbox-nav svg {
  width: 24px;
  height: 24px;
}

.lightbox-nav svg path {
  stroke: #ffffff;
  stroke-width: 3;
}

.lightbox-nav-prev {
  left: 20px !important;
}

.lightbox-nav-next {
  right: 20px !important;
}
body.lightbox-open.modal-open {
  padding-right: 0 !important;
  overflow: hidden;
}
.lightbox-modal {
  padding: 0 !important;
}

.lightbox-modal.modal {
  padding-right: 0 !important;
}

.lightbox-modal .modal-dialog {
  margin: 0 !important;
  width: 100vw;
  max-width: 100vw;
  height: 100vh;
}

.lightbox-modal .modal-content {
  width: 100vw;
  height: 100vh;
  border-radius: 0;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .lightbox-modal .modal-dialog {
    margin: 0.5rem;
    max-width: calc(100vw - 1rem);
  }

  .lightbox-body {
    min-height: 300px;
    padding: 15px;
  }

  .lightbox-close {
    width: 36px;
    height: 36px;
    top: 10px;
    right: 10px;
  }

  .lightbox-close svg {
    width: 20px;
    height: 20px;
  }

  .lightbox-counter {
    top: 10px;
    font-size: 12px;
    padding: 6px 12px;
  }

  .lightbox-nav {
    width: 40px;
    height: 40px;
  }

  .lightbox-nav svg {
    width: 24px;
    height: 24px;
  }

  .lightbox-nav-prev {
    left: 10px;
  }

  .lightbox-nav-next {
    right: 10px;
  }

  .lightbox-image,
  .lightbox-video {
    max-height: 70vh;
  }

  .lightbox-embed {
    height: 70vh;
  }
}

/* Smooth transitions */
.lightbox-image,
.lightbox-video,
.lightbox-embed {
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.filter-panel {
  transition: all 0.3s ease-in-out;
  border: 1px solid #e0e0e0;
  position: relative;
  margin-bottom: 20px; /* Space for the half-exposed arrow */
}

.filter-header {
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 1rem;
}

.filter-section {
  position: relative;
}

.filter-section-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #f0f0f0;
}

.filter-section:not(:last-child) {
  margin-bottom: 1.5rem;
}

/* Override default input styles for consistency */
.filter-panel .custom-select,
.filter-panel .form-control {
  font-size: 0.875rem;
  min-height: 38px;
  height: auto;
}

/* Fix for dropdown text being cut off */
.filter-panel .custom-select {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  line-height: 1.5;
}

.filter-panel select.custom-select {
  overflow: visible;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.filter-panel .dolller {
  padding-left: 2rem;
}

/* Badge styling */
.filter-panel .badge {
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  margin-left: 0.5rem;
}

/* Collapse arrow container */
.collapse-arrow-container {
  position: absolute;
  bottom: -16px; /* Half of the button height (32px / 2) */
  right: 2rem;
  z-index: 10;
}

.btn-collapse-arrow {
  background: #ffffff;
  border: 1px solid #dee2e6;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-collapse-arrow:hover {
  background: #f8f9fa;
  border-color: #adb5bd;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.btn-collapse-arrow:focus {
  outline: none;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .filter-panel {
    padding: 1rem !important;
  }
  
  .filter-section-title {
    font-size: 0.875rem;
  }
}
.filter-badges-container {
  background-color: #f8f9fa;
  padding: 0.75rem;
  border-radius: 0.25rem;
  border: 1px solid #e0e0e0;
}

.filter-badge {
  background-color: #e3f2fd;
  color: #1976d2;
  padding: 0.25rem 0.5rem;
  border-radius: 1rem;
  font-size: 0.813rem;
  border: 1px solid #bbdefb;
  transition: all 0.2s ease;
}

.filter-badge:hover {
  background-color: #bbdefb;
  border-color: #90caf9;
}

.btn-close-badge {
  background: transparent;
  border: none;
  padding: 0;
  margin-left: 0.25rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  transition: background-color 0.2s ease;
}

.btn-close-badge:hover {
  background-color: rgba(0, 0, 0, 0.1);
}

.btn-close-badge svg {
  fill: currentColor;
}
/* Deal Marketplace Page Styles */
.deals-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

@media (max-width: 768px) {
  .deals-container {
    padding: 0 1rem;
  }
}

/* Ensure deal cards don't overflow */
.deal-card {
  margin-bottom: 1.5rem;
}

/* Header section */
/* .headSection {
  padding: 0 2rem;
} */

/* @media (max-width: 768px) {
  .headSection {
    padding: 0 1rem;
  }
} */
.deal-card {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  transition: all 0.3s ease;
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.deal-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.deal-image-container {
  position: relative;
  overflow: visible;
  background-color: #f5f5f5;
  border-radius: 8px 0 0 8px;
  min-height: 360px;
  height: 100%;
}

.deal-image-wrapper {
  height: 330px;
  overflow: hidden;
}

.deal-image {
  transition: transform 0.3s ease;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.deal-card:hover .deal-image {
  transform: scale(1.05);
}

/* Deal ID Badge */
.deal-id-badge {
  background-color: #f5f5f5;
  padding: 4px 12px;
  border-radius: 4px;
}

/* Carousel styling */
.dealCardCarousel {
  height: 330px;
}

.dealCardCarousel .carousel {
  height: 330px;
}

.dealCardCarousel .carousel-inner {
  height: 330px;
}

.dealCardCarousel .carousel-item {
  height: 330px;
}

.dealCardCarousel .carousel-item > div {
  height: 330px;
}

.dealCardCarousel {
  position: relative;
  padding-bottom: 30px;
}

.dealCardCarousel .carousel-indicators {
  bottom: -25px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  padding: 0;
}

.dealCardCarousel .carousel-indicators li {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin: 0 4px;
  background-color: #ccc;
  border: 1px solid #999;
  opacity: 1;
}

.dealCardCarousel .carousel-indicators li.active {
  background-color: #666;
  border-color: #666;
}

/* Publisher section */
.publisher-section {
  border-left: 1px solid #e5e5e5;
  min-height: 100%;
}

/* Time display */
.time-display {
  background-color: #fff8dc;
  padding: 12px 20px;
  border-radius: 6px;
  text-align: center;
  border: 1px solid #ffe4b5;
  font-size: 1.1rem;
}

.time-value {
  color: #ff8c00;
  font-weight: bold;
  font-size: 1.2rem;
}

.time-unit {
  color: #ff8c00;
  font-size: 0.9rem;
  margin-left: 2px;
}

.time-separator {
  color: #ff8c00;
  font-weight: bold;
  margin: 0 4px;
}

/* Buttons */
.deal-card .btn-success {
  font-size: 14px;
  background-color: #198755;
  border-color: #198755;
  font-weight: 600;
}

.deal-card .btn-success:hover:not(:disabled) {
  background-color: #5fb87f;
  border-color: #5fb87f;
}

.deal-card .btn-success:disabled {
  background-color: #b8e0c8;
  border-color: #b8e0c8;
  opacity: 0.7;
}

.deal-card .bg-dark {
  background-color: #1e3a5f !important;
  font-weight: 500;
}

.deal-card .bg-dark:hover {
  background-color: #16304d !important;
}

/* Badge styling */
.badge {
  font-weight: normal;
  font-size: 0.8rem;
}

/* Icon buttons */
.btn-light {
  background-color: #f8f9fa;
  border: 1px solid #e5e5e5;
}

.btn-light:hover {
  background-color: #e9ecef;
  border-color: #dae0e5;
}

/* Responsive */
@media (max-width: 991px) {
  .publisher-section {
    border-left: none !important;
    border-top: 1px solid #e5e5e5;
    padding-left: 0 !important;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
  }
}

@media (max-width: 768px) {
  .deal-image-container {
    min-height: 250px !important;
    border-radius: 8px 8px 0 0;
  }

  .deal-image-wrapper {
    height: 220px !important;
  }

  .dealCardCarousel,
  .dealCardCarousel .carousel,
  .dealCardCarousel .carousel-inner,
  .dealCardCarousel .carousel-item,
  .dealCardCarousel .carousel-item > div {
    height: 220px !important;
  }

  .deal-card .p-4 {
    padding: 1.5rem !important;
  }
}

/* Override Bootstrap margins for better spacing */
.deal-card h3,
.deal-card h5 {
  line-height: 1.2;
}

.deal-card .text-muted {
  color: #6c757d !important;
}

.deal-card .text-dark {
  color: #212529 !important;
}


/* Arrow Container Style */
.custom-arrow {
  position: absolute;
  top: 35%;
  z-index: 1;
  background: rgba(0, 0, 0, 0.4);
  padding: 1px;
  border-radius: 50%;
  cursor: pointer;
  color: #fff;
  transition: all 0.3s ease;
}

.custom-arrow:hover {
  background: rgba(0, 0, 0, 0.7);
}

/* Left Arrow Position */
.custom-arrow.left {
  left: -15px;
  /* Adjust based on layout */
}

/* Right Arrow Position */
.custom-arrow.right {
  right: -15px;
  /* Adjust based on layout */
}

/* Responsive arrow positions */
@media (max-width: 768px) {
  .custom-arrow.left {
    left: -8px;
  }

  .custom-arrow.right {
    right: -8px;
  }
}

/* Slider card styling */
.related-slide .card {
  min-height: 100%;
  border-radius: 0.75rem;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.related-slide .card:hover {
  transform: translateY(-4px);
}

/* Optional scrollable tab bar (for tab skeletons or buttons) */
.overflow-auto {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* ✨ Stylish Skeleton Loader */
.custom-skeleton {
  border-radius: 8px;
  background: linear-gradient(90deg, #f5f5f5 25%, #eaeaea 37%, #f5f5f5 63%);
  background-size: 400% 100%;
  animation: skeleton-loading 1.4s ease infinite;
}

@keyframes skeleton-loading {
  0% {
    background-position: 100% 0;
  }

  100% {
    background-position: -100% 0;
  }
}

/* Skeleton card container for spacing and subtle elevation */
.skeleton-card {
  border-radius: 12px;
  padding: 1.5rem;
  background-color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

/* Optional shimmer pulse for smaller skeletons */
.shimmer {
  animation: shimmer-pulse 1.6s infinite ease-in-out;
}

@keyframes shimmer-pulse {
  0% {
    opacity: 0.9;
  }

  50% {
    opacity: 0.6;
  }

  100% {
    opacity: 0.9;
  }
}

/* Spinning loader icon animation */
.spin {
  display: inline-block;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}
input#haveBrokerSwitch {
  width: 3em;
  height: 20px;
}

.form-switch .form-check-input {
  background-color: #e2e3e5 !important;
  border-color: #e2e3e5 !important;
  background-position: right center;
  --bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%27-4 -4 8 8%27%3e%3ccircle r=%273%27 fill=%27%23fff%27/%3e%3c/svg%3e") !important;
}

.form-switch .form-check-input.bothActive {
  background-color: #244b99 !important;
  border-color: #244b99 !important;
}

.form-check-input:checked {
  background-color: #244b99 !important;
  border-color: #244b99 !important;
}
/* Makes entire select clickable */
.react-select__control {
  cursor: pointer !important;
}

/* Dropdown arrow */
.react-select__indicators {
  cursor: pointer !important;
}

/* Option hover */
.react-select__option {
  cursor: pointer !important;
}

/* Selected option */
.react-select__single-value {
  cursor: pointer !important;
}

input#commissionSwitch {
  width: 3em;
  height: 20px;
}

i.bi.bi-bookmark-check {
  font-size: 26px;
}

i.bi.bi-x-circle.mt-3 {
  font-size: 26px;
}

/* Responsive styles for deal creation forms */
@media (max-width: 768px) {
  /* Make form switches touch-friendly */
  input#haveBrokerSwitch,
  input#commissionSwitch,
  .form-switch .form-check-input {
    width: 3.5em;
    height: 24px;
    min-height: 24px;
    cursor: pointer;
  }

  /* Stack form elements vertically on small screens */
  /* .row > [class*="col-"] {
        margin-bottom: 1rem;
    } */

  /* Improve button spacing on mobile */
  /* .btn {
        min-height: 44px;
        padding: 0.75rem 1rem;
    } */

  /* Better spacing for form sections */
  .mt-4 {
    margin-top: 1.5rem !important;
  }

  /* Icons responsive sizing */
  i.bi.bi-bookmark-check,
  i.bi.bi-x-circle.mt-3 {
    font-size: 24px;
  }
}

@media (max-width: 576px) {
  /* Full width buttons on mobile */
  .btn-group-vertical {
    width: 100%;
  }

  .btn-group-vertical .btn {
    width: 100%;
    text-align: left;
  }

  /* Improve padding on small screens */
  .p-2 {
    padding: 1rem !important;
  }

  /* Better date picker layout */
  .MuiInputBase-root {
    font-size: 12px !important;
  }

  /* Commission type toggle improvements */
  .form-switch {
    padding-left: 0;
  }

  /* Ensure proper spacing for inline elements */
  .d-flex.align-items-center.gap-2 {
    flex-wrap: wrap;
  }
}

.MuiInputBase-root.MuiOutlinedInput-root.MuiInputBase-colorPrimary.MuiInputBase-fullWidth.MuiInputBase-formControl.MuiInputBase-adornedEnd.MuiAutocomplete-inputRoot.css-1n04w30-MuiInputBase-root-MuiOutlinedInput-root {
  height: 49px;
  font-weight: 600;
  font-size: 16px;
  font-family: "Manrope", sans-serif !important;
}

/* Match broker select value with Deal Title input styling */
.text-small .react-select__single-value {
  color: #222 !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  font-family: "Manrope", sans-serif !important;
}

.text-small .react-select__value-container {
  padding: 0.7rem 0.5rem !important;
  display: flex !important;
  align-items: center !important;
}

.text-small .react-select__input-container {
  color: #222 !important;
  font-weight: 600 !important;
  font-size: 14px !important;
}

.text-small .react-select__placeholder {
  font-size: 12px !important;
  font-weight: 600 !important;
}

.ios-switch {
  width: 42px;
  height: 24px;
  border-radius: 999px;
  background: #d9d9d9;
  position: relative;
  cursor: pointer;
  transition: background 0.3s ease;
}

.ios-switch::after {
  content: "";
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 50%;
  position: absolute;
  top: 2px;
  left: 2px;
  transition: transform 0.3s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.ios-switch.on {
  background: #007aff;
  /* iOS blue */
}

.ios-switch.on::after {
  transform: translateX(18px);
}

.ios-toggle {
  width: 42px;
  height: 24px;
  background: #007aff;
  /* iOS grey */
  border-radius: 999px;
  position: relative;
  transition: background 0.25s ease;
}

.ios-toggle::after {
  content: "";
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 50%;
  position: absolute;
  top: 2px;
  left: 2px;
  transition: transform 0.25s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
  /* iOS thumb shadow */
}

/* ON (blue) */
.ios-toggle.on {
  background: #007aff;
  /* iOS blue */
}

.ios-toggle.on::after {
  transform: translateX(18px);
}

/* Milestone Validation Modal Styles */

/* Override Bootstrap Modal Background - scoped to milestone modal only */
.milestone-validation-modal .modal-content {
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.milestone-validation-modal .modal-body {
  padding: 0 !important;
}

/* Ensure modal takes full width */
.modal-xl .modal-content {
  max-width: none;
  width: 100%;
}

.modal-xl {
  max-width: 1400px;
}

/* Modal Container */
.milestone-modal-container {
  width: 100%;
  max-width: 1400px;
  background: #ffffff !important;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  position: relative;
  margin: 20px auto;
  animation: modalFadeIn 0.3s ease-out;
}

/* Modal Close Button */
.milestone-modal-close {
  background: transparent;
  border: none;
  position: absolute;
  right: 20px;
  top: 20px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #6c757d;
  cursor: pointer;
  transition: all 0.2s ease;
  border-radius: 50%;
  z-index: 10;
}

.milestone-modal-close:hover {
  background-color: #f8f9fa;
  color: #dc3545;
  transform: rotate(90deg);
}

/* Modal Header */
.milestone-modal-header {
  padding: 24px 24px 0;
  text-align: center;
}

.milestone-modal-title {
  font-size: 24px;
  font-weight: 600;
  color: #1362ab;
  margin: 0 0 24px;
  padding: 0 40px;
}

/* Modal Body */
.milestone-modal-body {
  padding: 0 24px 24px;
}

/* Conflict Alert Section */
.milestone-conflict-alert {
  background-color: #fff9e6;
  border: 1px solid #ffe4b3;
  border-radius: 6px;
  padding: 16px;
  margin-bottom: 24px;
}

.milestone-conflict-icon {
  font-size: 20px;
  margin-right: 8px;
}

.milestone-conflict-title {
  font-size: 18px;
  font-weight: 600;
  color: #d63031;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
}

.milestone-conflict-description {
  font-size: 15px;
  color: #495057;
  margin: 0;
  line-height: 1.6;
}

.milestone-date-range {
  font-weight: 600;
  color: #1362ab;
}

/* Milestone List */
.milestone-conflict-list {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.milestone-conflict-item {
  background-color: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 6px;
  padding: 12px 16px;
  margin-bottom: 12px;
  font-size: 15px;
  color: #212529;
  transition: all 0.2s ease;
}

.milestone-conflict-item:hover {
  background-color: #e9ecef;
  border-color: #dee2e6;
}

.milestone-conflict-item strong {
  color: #1362ab;
  font-weight: 600;
}

/* Action Section */
.milestone-action-prompt {
  font-size: 16px;
  font-weight: 600;
  color: #212529;
  margin-bottom: 20px;
  text-align: center;
}

.milestone-action-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.milestone-btn {
  padding: 12px 32px;
  font-size: 16px;
  font-weight: 500;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 160px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.milestone-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.milestone-btn-primary {
  background-color: #1362ab;
  color: #ffffff;
}

.milestone-btn-primary:hover:not(:disabled) {
  background-color: #0e4d88;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(19, 98, 171, 0.3);
}

.milestone-btn-danger {
  background-color: #dc3545;
  color: #ffffff;
}

.milestone-btn-danger:hover:not(:disabled) {
  background-color: #c82333;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.milestone-btn-secondary {
  background-color: #6c757d;
  color: #ffffff;
}

.milestone-btn-secondary:hover:not(:disabled) {
  background-color: #545b62;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}

.milestone-btn-success {
  background-color: #28a745;
  color: #ffffff;
}

.milestone-btn-success:hover:not(:disabled) {
  background-color: #218838;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

/* Edit Mode */
.milestone-edit-header {
  margin-bottom: 24px;
}

.milestone-edit-title {
  font-size: 18px;
  font-weight: 600;
  color: #212529;
  margin-bottom: 8px;
}

.milestone-edit-description {
  font-size: 15px;
  color: #6c757d;
  margin: 0;
  line-height: 1.6;
}

/* Milestone Edit Cards */
.milestone-edit-item {
  background-color: #ffffff;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 20px;
  transition: all 0.2s ease;
}

.milestone-edit-item:hover {
  border-color: #1362ab;
  box-shadow: 0 2px 8px rgba(19, 98, 171, 0.1);
}

/* Form Controls */
.milestone-form-group {
  margin-bottom: 16px;
}

.milestone-form-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #6c757d;
  margin-bottom: 6px;
}

.milestone-form-control {
  width: 100%;
  min-width: 200px;
  padding: 12px 16px;
  font-size: 15px;
  color: #212529;
  background-color: #ffffff;
  border: 1px solid #ced4da;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.milestone-form-control:focus {
  border-color: #1362ab;
  outline: none;
  box-shadow: 0 0 0 3px rgba(19, 98, 171, 0.1);
}

.milestone-form-textarea {
  resize: vertical;
  min-height: 60px;
  max-height: 150px;
}

.milestone-date-picker {
  width: 100%;
  min-width: 180px;
}

.milestone-date-picker .MuiInputBase-root {
  width: 100%;
  min-height: 48px;
  min-width: 180px;
}

.milestone-date-picker .MuiInputBase-input {
  padding: 12px 16px;
  font-size: 15px;
  width: 100%;
  min-width: 160px;
}

.milestone-date-picker .MuiOutlinedInput-root {
  border-radius: 4px;
}

.milestone-date-helper {
  font-size: 13px;
  color: #6c757d;
  margin-top: 4px;
}

/* Info Message */
.milestone-info-message {
  text-align: center;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #e9ecef;
}

.milestone-info-text {
  font-size: 14px;
  color: #6c757d;
  margin: 0;
}

/* Responsive Design */

/* Tablet (768px - 991px) */
@media (max-width: 991px) {
  .milestone-modal-container {
    max-width: 90%;
    margin: 20px auto;
  }
  
  .milestone-modal-title {
    font-size: 22px;
  }
  
  .milestone-edit-item {
    padding: 16px;
  }
}

/* Mobile (up to 767px) */
@media (max-width: 767px) {
  .milestone-modal-container {
    max-width: 100%;
    margin: 0;
    border-radius: 0;
    min-height: 100vh;
  }
  
  .milestone-modal-close {
    right: 16px;
    top: 16px;
    width: 28px;
    height: 28px;
    font-size: 24px;
  }
  
  .milestone-modal-header {
    padding: 20px 20px 0;
  }
  
  .milestone-modal-title {
    font-size: 20px;
    padding: 0 32px;
  }
  
  .milestone-modal-body {
    padding: 0 20px 20px;
  }
  
  .milestone-conflict-alert {
    padding: 12px;
  }
  
  .milestone-conflict-title {
    font-size: 16px;
  }
  
  .milestone-conflict-description {
    font-size: 14px;
  }
  
  .milestone-action-buttons {
    flex-direction: column;
  }
  
  /* Better edit form responsive layout */
  .milestone-edit-item {
    padding: 16px 12px;
  }
  
  .milestone-form-group {
    margin-bottom: 20px;
  }
  
  .milestone-form-control,
  .milestone-form-textarea {
    font-size: 16px; /* Prevents zoom on iOS */
    padding: 12px 14px;
  }
  
  .milestone-date-picker .MuiInputBase-root {
    font-size: 16px !important;
    min-height: 44px !important;
  }
  
  .milestone-date-picker .MuiInputBase-input {
    padding: 12px 14px !important;
    font-size: 16px !important;
  }
  
  .milestone-edit-title {
    font-size: 18px;
  }
  
  .milestone-edit-description {
    font-size: 14px;
  }
  
  .milestone-btn {
    width: 100%;
    padding: 14px 24px;
  }
  
  .milestone-edit-item {
    padding: 12px;
  }
  
  .milestone-form-control {
    font-size: 16px; /* Prevents zoom on iOS */
  }
}

/* Small Mobile (up to 480px) */
@media (max-width: 480px) {
  .milestone-modal-header {
    padding: 16px 16px 0;
  }
  
  .milestone-modal-body {
    padding: 0 16px 16px;
  }
  
  /* Extra small screens improvements */
  .milestone-edit-header {
    margin-bottom: 16px;
  }
  
  .milestone-edit-item {
    padding: 12px 8px;
    margin-bottom: 12px;
  }
  
  .milestone-form-control,
  .milestone-form-textarea {
    padding: 10px 12px;
  }
  
  .milestone-modal-title {
    font-size: 18px;
    padding: 0 24px;
  }
}

/* Additional responsive improvements */
@media (max-width: 480px) {
  .milestone-conflict-item {
    font-size: 14px;
    padding: 10px 12px;
  }
  
  .milestone-btn {
    font-size: 15px;
    min-width: 120px;
  }
}

/* Animations */
@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* High DPI Screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .milestone-modal-container {
    border: 0.5px solid #e9ecef;
  }
  
  .milestone-form-control {
    border-width: 0.5px;
  }
}

/* Print Styles */
@media print {
  .milestone-modal-close,
  .milestone-action-buttons {
    display: none;
  }
  
  .milestone-modal-container {
    box-shadow: none;
    border: 1px solid #dee2e6;
  }
}

/* Dark Mode Support (optional) - Disabled */
/* DISABLED - Remove comment below to enable dark mode
@media (prefers-color-scheme: dark) {
  .milestone-modal-container {
    background-color: #1a1a1a;
    color: #ffffff;
  }
  
  .milestone-modal-close {
    color: #adb5bd;
  }
  
  .milestone-modal-close:hover {
    background-color: #343a40;
  }
  
  .milestone-conflict-alert {
    background-color: #332b00;
    border-color: #665500;
  }
  
  .milestone-conflict-item {
    background-color: #343a40;
    border-color: #495057;
    color: #ffffff;
  }
  
  .milestone-edit-item {
    background-color: #212529;
    border-color: #495057;
  }
  
  .milestone-form-control {
    background-color: #343a40;
    color: #ffffff;
    border-color: #495057;
  }
  
  .milestone-form-control:focus {
    border-color: #4d94ff;
    box-shadow: 0 0 0 3px rgba(77, 148, 255, 0.25);
  }
}

/* Accessibility */
.milestone-modal-close:focus,
.milestone-btn:focus {
  outline: 2px solid #1362ab;
  outline-offset: 2px;
}

/* Loading States */
.milestone-btn-loading {
  position: relative;
  color: transparent;
}

.milestone-btn-loading::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  top: 50%;
  left: 50%;
  margin-left: -8px;
  margin-top: -8px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  border-top-color: transparent;
  animation: spinner 0.8s linear infinite;
}

@keyframes spinner {
  to {
    transform: rotate(360deg);
  }
}

/* End of disabled dark mode section */
.rich-text-editor .ql-container {
    min-height: 120px;
    font-size: 14px !important;
    border-radius: 0 0 4px 4px;
}

.rich-text-editor .ql-toolbar {
    border-radius: 4px 4px 0 0;
}

.border-danger {
    border-color: #dc3545 !important;
}

.ql-tooltip {
    left: 0px !important;
    top: 31px !important;
}

.ql-tooltip.ql-editing {
    top: 29.5px !important;
    left: 0px !important;
}

.ql-editor.ql-blank::before {
    font-style: normal !important;
    color: #6C757D;
    font-family: "Manrope", sans-serif !important;
    font-weight: 600;
    font-size: 14px !important;
    /* Optional: Customize placeholder color if needed */
}

.ql-editor a {
    pointer-events: auto;
    color: #0c3963;
    text-decoration: underline;
}

.ql-editor::before {
    color: #999;
    font-size: 14px;
    font-weight: 600;
    font-style: normal;
}
/* Deal Detail Responsive Styles */

/* Deal Specifications Component */
/* .deal-specifications {
  padding: 1rem;
} */
.app-wrapper {
  padding: 14px;
  background: #f5f7fb;
  min-height: 100vh;
}

.label {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 6px;
}

.link-text {
  color: #1262AB;
  cursor: pointer;
  font-weight: 500;
}


.icon-btn:hover{
  background-color: #efefef !important;

}
.withdraw-btn {
  background: #ffecec !important;
  border: none !important;
  color: #f44336 !important;
  font-weight: 600;
  padding: 8px 18px;
}

/* Status Badge Responsive */
.deal-status-badge {
  font-size: 14px;
  padding: 0.25rem 0.5rem;
  border-radius: 5px;
  display: inline-block;
  white-space: nowrap;
}

/* View Reason Link */
.view-reason-link {
  cursor: pointer;
  text-align: center;
  font-size: 14px;
  margin-top: 0.25rem;
}

/* Deal Info Items */
.deal-info-item {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-top: 0.5rem;
}

.deal-info-label {
  font-weight: 600;
  min-width: 100px;
  color: #222;
}

.deal-info-value {
  color: #222;
  word-break: break-word;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
  /* Stack header elements on mobile */
  .deal-header {
    flex-direction: column;
    gap: 1rem;
  }
  
  .deal-header-actions {
    width: 100%;
    justify-content: space-between !important;
  }
  
  /* Deal title responsive */
  .deal-title {
    font-size: 1.25rem;
    word-break: break-word;
  }
  
  /* Status badge adjustments */
  .deal-status-badge {
    font-size: 12px;
    padding: 0.2rem 0.4rem;
  }
  
  /* Deal info responsive */
  .deal-info-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
  
  .deal-info-label {
    min-width: auto;
    font-size: 14px;
  }
  
  .deal-info-value {
    font-size: 14px;
  }
  
  /* Hide labels on mobile and show as prefixes */
  @media (max-width: 576px) {
    .deal-info-label.d-md-block {
      display: inline-block !important;
      margin-right: 0.25rem;
    }
  }
}

/* Deal Actions Component */
.deal-actions {
  padding: 1rem;
}

.deal-action-button {
  width: 100%;
  margin-bottom: 0.5rem;
  min-height: 44px;
  font-size: 14px;
}

/* Deal Images Component */
.deal-images-container {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.deal-image-carousel {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

@media (max-width: 768px) {
  .deal-images-container {
    margin-bottom: 1rem;
  }
  
  .deal-image-carousel {
    aspect-ratio: 4/3;
  }
}

/* Deal Details Tabs */
.deal-details-tabs {
  margin-top: 2rem;
}

.deal-details-tabs .nav-tabs {
  border-bottom: 2px solid #e9ecef;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.deal-details-tabs .nav-link {
  white-space: nowrap;
  padding: 0.75rem 1rem;
  font-size: 14px;
  color: #666;
  border: none;
  border-bottom: 3px solid transparent;
}

.deal-details-tabs .nav-link.active {
  color: #0B3963;
  border-bottom-color: #0B3963;
  background: none;
}

@media (max-width: 576px) {
  .deal-details-tabs .nav-tabs {
    border-bottom: 1px solid #e9ecef;
  }
  
  .deal-details-tabs .nav-link {
    padding: 0.5rem 0.75rem;
    font-size: 13px;
  }
}

/* Milestone Table Responsive */
.milestone-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.milestone-table {
  min-width: 600px;
}

@media (max-width: 768px) {
  .milestone-table-wrapper {
    margin: 0 -1rem;
    padding: 0 1rem;
  }
}

/* Documents Grid Responsive */
.documents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

@media (max-width: 576px) {
  .documents-grid {
    grid-template-columns: 1fr;
  }
}

/* Activity Timeline Responsive */
.activity-timeline {
  position: relative;
  padding-left: 2rem;
}

.activity-timeline::before {
  content: '';
  position: absolute;
  left: 0.5rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #e9ecef;
}

.activity-item {
  position: relative;
  padding-bottom: 1.5rem;
}

.activity-dot {
  position: absolute;
  left: -1.5rem;
  top: 0.25rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: #0B3963;
  border: 2px solid #fff;
}

@media (max-width: 576px) {
  .activity-timeline {
    padding-left: 1.5rem;
  }
  
  .activity-dot {
    left: -1.25rem;
    width: 0.75rem;
    height: 0.75rem;
  }
}

/* Touch-friendly buttons */
@media (max-width: 768px) {
  /* .btn {
    min-height: 44px;
    padding: 0.5rem 1rem;
  } */
  
  /* .btn-sm {
    min-height: 36px;
    padding: 0.375rem 0.75rem;
  } */
}

/* Improve spacing on mobile */
@media (max-width: 768px) {
  .mt-3 {
    margin-top: 1rem !important;
  }
  
  .mt-4 {
    margin-top: 1.5rem !important;
  }
  
  .p-3 {
    padding: 1rem !important;
  }
  
  .p-4 {
    padding: 1.5rem !important;
  }
}
.deals-List button.filter1 {
  background: #eeeeee;
  border: 1px solid #ccc;
  width: 125px;
  height: 45px;
  border-radius: 2px;
  margin-right: 20px;
  color: #222;
  font-size: 15px;
  letter-spacing: 0.5px;
}

.deals-List .filter1 svg {
  width: 30px;
  height: auto;
  fill: #222;
}

/* in your .css or .scss file */
.border-blue-important {
  border: 1px solid #1062AB !important;
}

.loading-icon {
  margin-top: 9px;
  width: 20px;
  height: 20px;
  border: 4px solid #244C72;
  border-radius: 50%;
  border-top: 2px solid transparent;
  animation: spin 1s infinite ease-in-out;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.deals-List button.filter2 {
  background: #eeeeee;
  border: 1px solid #ccc;
  width: 150px;
  height: 45px;
  border-radius: 2px;
  margin-right: 20px;
  color: #222;
  font-size: 15px;
  letter-spacing: 0.5px;
}

.deals-List .filter2 svg {
  width: 26px;
  height: auto;
  fill: #222;
}
.file-thumbnail {
  display: inline-block; /* Display thumbnails in one row */
  margin-right: 10px; /* Add some spacing between thumbnails */
}

.file-thumbnail img {
  width: 50px; /* Set the width of thumbnail images */
  height: 50px; /* Set the height of thumbnail images */
  margin-right: 5px; /* Add some spacing between thumbnail image and file name */
}
.deselect-icon {
  cursor: pointer;
  margin-left: 5px; /* Add spacing between file name and deselect icon */
  color: red; /* Set the color of the deselect icon */
}

.file-thumbnails {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.file-thumbnail {
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid #ddd;
  padding: 10px;
  border-radius: 5px;
  position: relative;
}

.file-thumbnail img {
  max-width: 50px;
  max-height: 50px;
}

.file-thumbnail span {
  margin-top: 5px;
  text-align: center;
}

.file-thumbnail button {
  position: absolute;
  top: 2px;
  right: 2px;
  background: red;
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
}
@media (min-width: 768px) {
  .w-md-70 {
    max-width: 70%;
  }
}

.applicant-table-list h3 {
  color: #1262AB;
  font-size: 20px;

}

svg-container:hover {
  fill: white;
}

h4.mb-0.dealapplicant {
  color: #2069AB;
}

.headsectionq {
  /* background: #fff; */
  padding: 12px 20px;
  /* box-shadow: 0 0 3px #00000012; */
  border-radius: 4px;
}

.table-message-btn {
  border: 1px solid #1262AB;
  background: transparent;
  color: #1262AB;
  padding: 6px 12px;
  border-radius: 5px;
}

.table-message-btn svg {
  margin-left: 5px;
}

.table-message-btn:hover {
  background: #1262AB;
  color: #fff;
}

.table-message-btn:hover svg path {
  fill: #fff;
}

.table-message-btn>td {
  padding: 0;
}

.sendMsg {
  border: 1px solid #1262AB;
  color: #1262AB;
  background: transparent;
  padding: 6px 15px;
  border-radius: 4px;
  font-size: 1rem;
}

.sendMsg svg {
  margin-left: 5px;
}

.sendMsg:hover {
  color: #fff;
  background: #1262AB;
}

.sendMsg:hover svg path {
  fill: #fff;
}
.message-btn {
  color: #1262ab; /* default stroke */
}

.message-btn:hover {
  color: #1262AB; /* bootstrap primary */
}

.message-btn:hover .message-icon path {
  fill: currentColor;
}

/* .icon-btn {
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 10px !important;
  display: flex;
  justify-content: center;
  align-items: center;
} */

.connect-icon-btn {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* prevents hover fill */
  /* border: 1.5px solid #1262AB !important; */
  border-radius: 8px !important;

  padding: 0 !important;
  cursor: pointer;
}

/* Prevents blue Bootstrap hover/focus */
/* .connect-icon-btn:hover,
.connect-icon-btn:active,
.connect-icon-btn:focus {
  background: #f6f9ff !important;
  border-color: #1262AB !important;
  box-shadow: none !important;
} */

.connect-icon-btn {
  color: #1262ab; /* default blue */
}

.connect-icon-btn:hover {
  color: #1262AB; /* hover blue */
}

.connect-icon-btn:hover .video-icon rect,
.connect-icon-btn:hover .video-icon path {
  fill-opacity: 1;
}

/* optional smoothness */
.video-icon rect,
.video-icon path {
  transition: fill-opacity 0.2s ease, stroke 0.2s ease;
}
/* smooth transition */
.connect-icon-btn svg path {
  transition: fill 0.2s ease, stroke 0.2s ease;
}

/* hover fill + stroke */
.connect-icon-btn:hover svg path {
  fill: #1262AB;      /* blue fill */
  fill-opacity: 1;
  stroke: #1262AB;    /* blue stroke */
}

.applicant-details .sendMsg {
  background: #1262AB;
  color: #fff;
  padding: 0;
  border-radius: 5px;
  border: 1px solid #1262AB;
  width: 143px;
  height: 40px;
  font-size: 14px;
}

.applicant-details .sendMsg:hover {
  background: transparent;
  color: #1262ab;
}

.applicant-details .sendMsg svg {
  margin-right: 0;
  margin-left: 5px;
}

.applicant-details .sendMsg svg path {
  fill: #fff;
}

.applicant-details .sendMsg:hover svg path {
  fill: #1262ab;
}

.applicants-details h4 {
  font-size: 16px;
  color: #222;

}

.applicants-details span {
  font-size: 16px !important;
  /* color: #222; */

}

.applicants-details label {
  font-size: 14px;
  color: #222;
}

.applicants-details .attach span {
  font-size: 14px;
  color: #1262ab;
  margin-right: 35px;
  font-weight: 400;
}

.applicant-details .reject {
  width: 200px;
  height: 50px;
  background: transparent;
  border: 1px solid #fe0000;
  color: #fe0000;
  border-radius: 5px;
  font-size: 14px;
  margin-right: 24px;

}

.applicant-details .reject:hover {
  background: #fe0000;
  color: #fff;
}

.applicant-details .reject:disabled {
  background: transparent;
  color: #fe0000;
  opacity: 0.3;
}

.applicant-details .reject:hover svg path {
  fill: #fff;
}

.applicant-details .reject:disabled svg path {
  fill: #fe0000;
}

.applicant-details .accept {
  width: 200px;
  height: 50px;
  background: #33b263;
  border: 1px solid #33b263;
  color: #fff;
  border-radius: 5px;
  font-size: 14rem;
  display: flex;
  justify-content: center;
  line-height: 50px;
}

.applicant-details .accept:hover {
  background: transparent;
  color: #33b263;
}

.applicant-details button svg {
  margin-right: 15px;
}


.applicant-details button.accept svg {
  margin-top: 17px;
}

.applicant-details .accept svg path {
  fill: #fff;
}

.applicant-details .accept:hover svg path {
  fill: #33b263;
}



.acceptReject {
  background: #fff;
  width: 100%;
  max-width: 714px;
  height: fit-content;
  border-radius: 7px;
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}


.sendMsgBtn {
  background: #e7f1fc;
  color: #1262ab;
  border: none;
  padding: 6px 12px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  cursor: pointer;
}

.linkArrow {
  color: #1262ab;
  font-weight: 600;
  cursor: pointer;
}

.linkArrow i {
  font-size: 16px !important;
  font-weight: 400;
}

/* Attachments */
.attachItem {
  margin-right: 20px;
  color: #1262ab;
  cursor: pointer;
}

.connectIcon {
  background: #e7f1fc;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* ACCEPT / REJECT BUTTONS */
.rejectBtn,
.acceptBtn {
  min-width: 140px;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  cursor: pointer;
}

/* Reject button */
.rejectBtn {
  border: 1px solid red;
  color: red;
  background: #fff;
}

/* Accept button */
.acceptBtn {
  border: none;
  background: #28a745;
  color: #fff;
}

/* Loader */
.loader {
  width: 15px;
  height: 15px;
  border: 2px solid transparent;
  border-radius: 50%;
  border-top-color: currentColor;
  animation: spin 0.7s linear infinite;
}

.loader.white {
  color: white;
}

.loader.red {
  color: red;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}



.esign {
  color: white;
  border-radius: 5px;
  background: #1262AB;
  width: 200px;
  height: 50px;
  flex-shrink: 0;
  /* width: 69px; */
}
.activityTabs .tabs__box {
  position: relative;
  display: flex;
  justify-content: space-between;
  padding-right: 100px;
}

.activityTabs .tabs__tab {
  border: none;
  padding: 12px 0;
  padding-top: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
}
/* Hide scrollbar for Chrome, Safari and Opera */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.no-scrollbar {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

/* Ensure active content stays full screen width */
.activityTabs .tab-content {
  width: 100vw !important;
  max-width: 100% !important;
}

.tabs__tab.tabs__tab-active span {
  color: #1262ab;
}

.activityTabs .tabs__tab svg {
  margin-right: 7px;
  fill: #000;
}

.activityTabs .tabs__tab svg path {
  fill: #000;
}


.tabs__tab.tabs__tab-active {
  position: relative;
  color: #2F80ED;
  border-bottom: 3px solid;
  padding-bottom: 12px;
}


.tabs__tab.tabs__tab-active svg {
  fill: #2F80ED;
}

.tabs__tab.tabs__tab-active svg path {
  fill: #2F80ED;
}

.buttonAttchment {
  background: transparent;
  border: 1px solid #ccc;
  margin-right: 20px;
  padding: 6px 15px;
  border-radius: 5px;
  font-weight: 400;
  color: #777;
  font-size: 0.9rem;
}

.buttonAttchment svg {
  margin-right: 5px;
}

.buttonSend {
  background: #2F80ED;
  color: #fff;
  border: 1px solid #2F80ED;
  padding: 10px 24px;
  border-radius: 5px;
}

.buttonSend:hover {
  background: transparent;
  color: #1162ab;
}

.buttonSend svg {
  margin-right: 7px;
}

.buttonSend svg path {
  fill: #fff;
}

.buttonSend:hover svg path {
  fill: #2F80ED;
}

.buttonSend:disabled svg path {
  fill: #555;
}

.buttonSend:disabled {
  opacity: 0.5;
  background: #e6e6e6;
  border: 1px solid transparent;
  cursor: no-drop;
  color: #555;
}
.chatBox {
  background: url('https: //i.pinimg.com/originals/85/70/f6/8570f6339d3189c96e340d47a581d3b8.jpg') #f9f9f9;
  /* Replace 'path/to/your/image.jpg' with the actual path to your image file */
  padding-bottom: 14px;
  height: 100vh;
  overflow: auto;
}

.comName span {
  background: #ebf3fe;
  display: block;
  width: 33px;
  height: 33px;
  line-height: 34px;
  text-align: center;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 500;
  color: #000;
  text-transform: uppercase;
}

.comName p {
  font-size: 1.1rem;
  color: #000;
  align-self: center;
  margin-left: 10px;
  margin-bottom: 0;
  font-weight: 500;
  text-transform: capitalize;
}

.chat-message {
  margin: 9px 0;
  display: flex;
  justify-content: flex-end;
}

.chat-message img {
  max-width: 225px;
  border: 1px solid #b1b1b1;
  border-radius: 2px;
}

.chat-message.another {
  justify-content: start;
}

.chat-message p {
  text-align: right;
  width: fit-content;
  background: #2f80ed;
  color: #fff;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.3px;
  padding: 4px 12px;
  border-radius: 9px 9px 0px 9px;
}

.chat-message small {
  font-size: 0.7rem;
  color: #999;
  letter-spacing: 0.5px;
}

.chat-message.another p {
  background: #ebf3fe;
  color: #000;
  border-radius: 15px 15px 15px 0px;
}

.chat-message h5 {
  font-size: 1rem;
  color: #000;
  font-weight: 500;
}

.chat-block {
  padding-right: 100px;
  position: relative;
}

.chat-block.another-person {
  padding-left: 100px;
  position: relative;
}

.chat-holder {
  position: absolute;
  bottom: 43px;
  right: 55px;
  width: 33px;
  height: 33px;
  line-height: 33px;
  text-align: center;
  background: #2f80ed;
  border-radius: 50px;
  color: #fff;
  letter-spacing: 1px;
  font-size: 0.8rem;
  font-weight: 500;
}

.chat-holder.anotherp {
  left: 55px;
  background: #ebf3fe;
  color: #000;
  font-weight: 600;
  font-size: 0.9rem;
}

.zip {
  background: #ebf3fe;
  border-radius: 15px 15px 15px 0px;
  padding: 7px 12px;
}

.zip div {
  font-weight: 400;
  color: #000;
  margin: 2px 0;
}

.chat-footer {
  background: #fff;
  padding: 12px 0;
  position: sticky;
  bottom: 0px;
  border-top: 1px solid #ddd;
}

.searchbar-chat {
  position: relative;
}

.searchbar-chat input {
  border: none;
  background: transparent;
  height: 45px;
  width: 100%;
  outline: none;
  box-shadow: none;
}

.searchbar-chat input:focus {
  border: none;
}

.chat-footer-btn {
  display: flex;
  justify-content: space-between;
  padding: 0 18px;
}

.receiverMsg {
  margin: 12px 0;
  display: flex;
  justify-content: flex-end;
  padding: 0 60px;
}

.receiverMsg span {
  border-radius: 13px;
  width: fit-content;
  background-color: #DDD1D1;
  padding: 2px 25px 2px 12px;
  font-size: 14px;
}

.sender_name_msg {
  background: border-box;
  font-size: smaller;
  color: #1b15cc;
  padding-bottom: 6px;
}

.senderMsg {
  text-align: left;
  padding: 9px 10px;
  padding-right: 24px;
  margin: 14px 60px;
  display: block;
  background: #bfa5a57a;
  width: fit-content;
  border-radius: 10px;
}

/* .senderMsg span {
  display: table-caption;
} */
.upload-document {
  padding: 10px 20px;
  border-bottom: 1px solid #ddd;
  border-top: 1px solid #ddd;
}

.upload-document button.uploadDoc {
  border: 1px solid #1162ab;
  background: #1162ab;
  color: #fff;
  padding: 0;
  border-radius: 5px;
  margin-right: 15px;
  position: relative;
  height: 40px;
  width: 180px;
  font-size: 14px;
}

.upload-document button.uploadDoc:hover {
  background: transparent;
  color: #1162ab;
}

.upload-document button.uploadDoc svg {
  margin-right: 5px;
}

.upload-document button.uploadDoc:hover svg path {
  /* stroke: #1162ab; */
  fill: #1162ab;
}

.upload-document button.uploadDoc input {
  position: absolute;
  width: 100%;
  left: 0;
  top: 0;
  z-index: 9;
  opacity: 0;
  cursor: pointer;
}

.upload-document button.ducuSign {
  border: 1px solid #1262ab;
  color: #fff;
  background: #1262ab;
  border-radius: 5px;
  width: 184px;
  height: 40px;
  font-size: 14px;
}

.raisePayment h1 {
  text-align: center;
  font-size: 20px;
  /* color: #1262ab; */

}

.note .upload-document button.ducuSign {
  height: 34px;
  margin-left: 15px;
  font-size: 14px;
  width: 125px;
}

.activity-documents input[type="checkbox"] {
  width: auto;
  height: auto;
  position: static;
}

.activity-documents.note table th:last-child {
  font-size: inherit;
}

/* .activity-documents table a {
  /* text-decoration: underline; */
/* } */
*/ .activity-documents table a:hover {
  text-decoration: none;
}

.activity-documents table td span svg {
  vertical-align: super;
  margin-left: 5px;
}

.activity-documents table td span {
  position: relative;
  display: inline-block;
}

.activity-documents table td span small.tooltip1 {
  display: none;
  position: absolute;
  width: fit-content;
  white-space: nowrap;
  background: #fff;
  z-index: 9;
  box-shadow: 0 0 9px #00000035;
  padding: 1px 7px;
  border-radius: 3px;
  font-size: 0.7rem;
  color: #999;
  top: -20px;
  left: -42px;
}

.activity-documents table td span:hover small.tooltip1 {
  display: inline;
}

.notUploaded {
  padding: 80px 20px;
  border-bottom: 1px solid #ddd;
}

.notUploaded p {
  font-size: 16px;
  color: #000;
  line-height: 26px;
}


.viewUploaded .remove-file {
  position: absolute;
  top: 9px;
  right: 12px;
  font-size: 1.5rem;
  color: #777;
}

.viewUploaded .downloadBtn {
  border: 1px solid #7E8F9A;
  background: transparent;
  padding: 0;
  border-radius: 5px;
  color: #222;
  height: 48px;
  width: 137px;
  line-height: 45px;
}

.viewUploaded .downloadBtn svg {
  margin-right: 5px;
}

.viewUploaded .saveBtn {
  border: 1px solid #1262ab;
  background: #1262ab;
  color: #fff;
  height: 48px;
  width: 137px;
  line-height: 45px;
  border-radius: 5px;
}

.viewUploaded .saveBtn svg.iconn {
  margin-right: 7px;
}

.viewUploaded .saveBtn svg.arrow {
  margin-left: 12px;
}

.docInput .input-group {
  margin-right: 24px;
}

.docInput button {
  border: 1px solid #1362ab;
  color: #1362ab;
  background-color: transparent;
  border-radius: 4px;
  padding: 9px 15px;
  font-size: 1rem;
}

.addnewRecipient {
  background: transparent;
  color: #1162ab;
  font-weight: 500;
}

.viewUploaded-footer .cancel {
  border: 1px solid #7E8F9A;
  background: transparent;
  color: #222;
  border-radius: 5px;
  padding: 0;
  font-size: 14px;
  width: 120px;
  height: 40px;
}

.viewUploaded-footer .cancel:hover {
  background: #f1f1f1;
}

.viewUploaded-footer .send {
  border: 1px solid #1262AB;
  background: #1262AB;
  color: #fff;
  border-radius: 5px;
  width: 120px;
  height: 40px;
  font-size: 14px;
}

.viewUploaded-footer .send:hover {
  background: transparent;
  color: #1262AB;
}

.custom-button {
  position: absolute;
  top: 1px;
  padding: 12px;
  left: 1px;
  width: 99%;
  background: #f6f6f6;
  border: 1px solid #ddd;
  border-radius: 5px 0 0 5px !important;
  text-align: left;
  color: #777;
  letter-spacing: 0.5px;
  font-weight: 500;
  /* z-index: 2; */
  height: 48px;
}

.closes {
  border: 1px solid;
  width: 30px;
  height: 30px;
  line-height: 30px;
  padding: 0;
  text-align: center;
  font-size: 24px;
}

.acceptRejectDoc {
  opacity: 1;
  transform: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  max-width: initial;
}

.docModalFooter {
  box-shadow: 0 0 9px #00000024;
  padding: 24px 0;
  position: fixed;
  bottom: 0;
  width: 100%;
}

.docModalFooter .reject {
  border: 1px solid #1362ab;
  color: #1362ab;
  background: transparent;
  padding: 9px 20px;
  border-radius: 4px;
  font-size: 1rem;
  margin: 0 12px;
}

.docModalFooter .accept {
  border: 1px solid #1362ab;
  color: #fff;
  background: #1362ab;
  padding: 9px 20px;
  border-radius: 4px;
  font-size: 1rem;
  margin: 0 12px;
}

.dociframe {
  width: 100%;
  height: 100%;
}

.reason-dialog-wrap {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: #00000091;
}

.reason-dialog {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 99;
  background: #fff;
  width: 100%;
  height: 100%;
  max-width: 500px;
  max-height: 270px;
  margin: auto;
  padding: 24px;
  border-radius: 5px;
}

.reason-dialog.verification {
  max-height: 320px;
}

.reason-dialog.thanks {
  max-height: 210px;
}

.reason-dialog.accept {
  max-height: 445px;
}

.custom-file-upload {
  width: 100%;
  height: 48px;
  border: 1px solid #ccc;
  border-radius: 5px;
  cursor: pointer;
}

.filename {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 3;
  padding: 0 12px;
  padding-right: 30px;
  color: #1262ab;
  font-size: 14px;
}

.removefile {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 9px;
  width: 17px;
  height: 14px;
  text-align: center;
  line-height: 0;
  border-radius: 50px;
  color: red;
  background: #fff;
  border: 0;
  font-size: 21px;
  cursor: pointer;
}

form .custom-file-upload label {
  width: 100%;
  height: 48px;
  left: 0;
  padding: 23px 12px;
}

.reason-dialog button {
  width: 100%;
  height: 45px;
  background: #1362ab;
  border: 1px solid #1362ab;
  color: #fff;
  font-size: 1rem;
  border-radius: 4px;
}

.reason-dialog button:hover {
  background: transparent;
  color: #1362ab;
}

.reason-dialog.accept button {
  width: 100px;
  margin: 0 15px;
  height: 40px;
}

.reason-dialog span.close {
  font-size: 2rem;
  color: #999;
  position: absolute;
  right: 15px;
  top: 3px;
  font-weight: 200;
  cursor: pointer;
}

.reason-dialog .resend {
  width: auto;
  height: auto;
  background: transparent;
  border: none;
  color: #1362ab;
  text-decoration: underline;
  margin: 0;
}

.reason-dialog.thanks .signupSt {
  width: 40px;
  height: 40px;
  display: inline-block;
  position: static;
}

.reason-dialog.thanks p {
  text-align: center;
  font-size: 1rem;
  color: #333;
  font-weight: 500;
}

.docNameBtn {
  background: transparent;
  color: #1362ab;
  font-weight: 500;
  text-decoration: underline;
}

.docNameBtn:hover {
  text-decoration: none;
}

iframe::-webkit-media-controls {
  display: none !important;
}

iframe {
  -moz-appearance: none;
  appearance: none;
}

button.docSave {
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
  text-align: center;
  justify-content: center;
  height: 46px;
  border: 0;
  border-radius: 5px;
  padding: 0 20px;
}
.upload_document_box {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: center;
    line-height: 22px;
    font-size: 16px;
    height: 135px;
    position: relative;
    border-radius: 5px;
}
.raisePayment {
  max-width: 640px;
  background: #fff;
  width: fit-content;
  height: fit-content;
  padding: 24px;
  border-radius: 7px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

.pay-tab.active {
  background: #1362ab;
  color: #fff;
}



svg.meetingPause {
  background: #1362ab;
  display: block;
  width: 35px;
  height: 35px;
  padding: 8px;
  border-radius: 7px;
  margin: 0 11px;
  border: none;
}
svg.meetingDownload {
  width: 35px;
  height: 35px;
  border: 1px solid #ccc;
  padding: 8px;
  border-radius: 5px;
  margin-left: 15px;
}

svg.meetingDocument {
  width: 35px;
  height: 35px;
  border: 1px solid #ccc;
  padding: 6px;
  display: block;
  border-radius: 5px;
}

svg.meetingPhone {
  width: 35px;
  height: 35px;
  border: 1px solid #ddd;
  padding: 6px;
  border-radius: 5px;
  margin-right: 17px;
}
svg.meetingvideo {
  width: 35px;
  height: 35px;
  border: 1px solid #ddd;
  padding: 6px;
  border-radius: 5px;
}

/* Import Manrope font - Primary application font */

/* Typography Updates */
.my-content-container * {
  font-family: "Manrope", sans-serif !important;
}

.my-content-container {
  font-family: "Manrope", sans-serif !important;
  font-weight: 500;
  font-size: 0.875rem;
  color: #222222;
}

.my-content-container button,
.my-content-container input,
.my-content-container select,
.my-content-container textarea,
.my-content-container label,
.my-content-container a {
  font-family: "Manrope", sans-serif !important;
  font-weight: 600;
}

.nav-link {
  color: black !important
}

/* .nav-link.active {
  background-color: #aab9c6 !important;
  color: #fff !important;
} */

/* .custom-tab.nav-link.active {
  background-color: #28a745 !important;
    color: white;
} */

select.custom-select.w-100.border.py-2.px-2.rounded-1.option-font-12 {
  font-size: 14px;
}

button#type-tab {
  font-size: 14px;
}

button#category-tab {
  font-size: 14px;
}

/* Application Color Scheme Variables */
:root {
  --primary-color: #1262ab;
  --primary-dark: #0B3963;
  --success-color: #34B263;
  --text-primary: #222222;
  --text-secondary: #717171;
  --background-light: #f8f8f8;
  --background-white: #ffffff;
  --border-light: #e2e8f0;
  --hover-bg: #e8f0f7;
}

/* Modern File Card with Glassmorphism */
.modern-file-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  padding: 20px;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
}

/* Compact Grid view cards */
.modern-file-grid .modern-file-card {
  min-height: fit-content;
  padding: 18px;
}

.modern-file-grid .modern-file-card:has(.file-icon-image-thumbnail) {
  padding: 16px;
}

/* Keep larger cards only for Gallery view */
.modern-file-gallery .modern-file-card {
  min-height: 400px;
}

.modern-file-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(18, 98, 171, 0.05);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.modern-file-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: rgba(18, 98, 171, 0.3);
}

.modern-file-card:hover::before {
  opacity: 1;
}

.modern-file-card.selected {
  border-color: var(--primary-color);
  background: rgba(18, 98, 171, 0.05);
}

.modern-file-card.selected::before {
  opacity: 1;
}

/* File Icon Wrapper - Enhanced for Hybrid Approach */
.file-icon-wrapper {
  width: 100px;
  height: 100px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  position: relative;
  /* z-index: 2; */
  transition: all 0.3s ease;
}

.file-icon-wrapper:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Enhanced Image Thumbnail Wrapper - Hybrid Approach */
.file-icon-wrapper.file-icon-image-thumbnail {
  width: 180px;
  height: 135px;
  margin: 0 auto 12px;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  border: none;
  background: #000;
  transition: all 0.3s ease;
  padding: 0;
  flex-shrink: 0;
}

.file-icon-wrapper.file-icon-image-thumbnail:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

/* Compact spacing for Grid view */
.modern-file-grid .file-icon-wrapper.file-icon-image-thumbnail {
  margin: 0 auto 8px;
  background: #f5f5f5;
}

.modern-file-grid .file-icon-wrapper {
  margin: 0 auto 12px;
}

/* Grid view image thumbnails - show entire image with proper aspect ratio */
.modern-file-grid .file-icon-wrapper.file-icon-image-thumbnail .file-thumbnail {
  object-fit: contain;
  background: #f5f5f5;
}

/* File Type Icons with Application Colors */
.file-icon-csv {
  background: var(--success-color);
}

.file-icon-pdf {
  background: #dc3545;
}

.file-icon-img,
.file-icon-image {
  background: var(--primary-color);
}

.file-icon-video {
  background: #6f42c1;
}

.file-icon-excel,
.file-icon-xls,
.file-icon-xlsx {
  background: #198754;
}

.file-icon-word,
.file-icon-doc,
.file-icon-docx {
  background: #dee2e6;
}

.file-icon-txt,
.file-icon-text {
  background: #6c757d;
}

.file-icon-ppt,
.file-icon-pptx {
  background: #fd7e14;
}

.file-icon-audio,
.file-icon-mp3 {
  background: #e83e8c;
}

.file-icon {
  width: 48px;
  height: 48px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
  z-index: 2;
  position: relative;
}

/* Enhanced Image Thumbnail Styles */
.file-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  background: white;
  transition: all 0.3s ease;
  display: block;
  border: none;
  outline: none;
}

.modern-file-card:hover .file-thumbnail {
  transform: scale(1.02);
}

/* Ensure thumbnails are always visible */
.file-icon-wrapper.file-icon-image-thumbnail .file-thumbnail {
  position: relative;
  z-index: 5;
  margin: 0;
  padding: 0;
}

/* Professional YouTube Video Thumbnail Styles */
.youtube-thumbnail-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 12px;
  background: #000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  cursor: pointer;
}

.youtube-thumbnail-wrapper .file-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.youtube-thumbnail-wrapper:hover .file-thumbnail {
  transform: scale(1.02);
}

/* Subtle play overlay */
.youtube-play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.8);
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 6;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.youtube-thumbnail-wrapper:hover .youtube-play-overlay {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(0, 0, 0, 0.1);
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.youtube-play-overlay svg {
  width: 16px;
  height: 16px;
  margin-left: 2px;
  transition: all 0.3s ease;
}

.youtube-thumbnail-wrapper .youtube-play-overlay svg {
  fill: rgba(255, 255, 255, 0.9);
}

.youtube-thumbnail-wrapper:hover .youtube-play-overlay svg {
  fill: #1262ab;
}

/* Clean video indicator */
.youtube-thumbnail-wrapper::after {
  content: '▶';
  position: absolute;
  bottom: 6px;
  right: 6px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 10px;
  background: rgba(0, 0, 0, 0.7);
  padding: 2px 4px;
  border-radius: 3px;
  font-family: 'Manrope', sans-serif;
  z-index: 5;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* Gradient overlay for better text readability */
.youtube-thumbnail-wrapper::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.4));
  z-index: 4;
  pointer-events: none;
}

/* Video Thumbnail Styles (for uploaded videos) */
.video-thumbnail-wrapper,
.video-thumbnail-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 12px;
  background: #000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  cursor: pointer;
}

.video-thumbnail-wrapper video,
.video-thumbnail-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.video-thumbnail-wrapper .video-play-overlay,
.video-thumbnail-container .video-play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.8);
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 6;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  pointer-events: none;
}

.video-thumbnail-wrapper:hover .video-play-overlay,
.video-thumbnail-container:hover .video-play-overlay {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(0, 0, 0, 0.1);
  transform: translate(-50%, -50%) scale(1.15);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.video-thumbnail-wrapper .video-play-overlay svg,
.video-thumbnail-container .video-play-overlay svg {
  width: 20px;
  height: 20px;
  margin-left: 2px;
  fill: rgba(255, 255, 255, 0.9);
  transition: all 0.3s ease;
}

.video-thumbnail-wrapper:hover .video-play-overlay svg,
.video-thumbnail-container:hover .video-play-overlay svg {
  fill: #1262ab;
}

/* File Card Content */
.file-card-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  justify-content: space-between;
}

/* Compact Grid view content */
.modern-file-grid .file-card-content {
  justify-content: flex-start;
  gap: 8px;
}

/* Special content layout for image cards */
.modern-file-card:has(.file-icon-image-thumbnail) .file-card-content {
  padding-top: 4px;
}

.modern-file-grid .modern-file-card:has(.file-icon-image-thumbnail) .file-card-content {
  gap: 12px;
}

.file-name-modern {
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 8px;
  text-align: center;
  color: var(--text-primary);
  word-break: break-word;
  line-height: 1.4;
  flex-shrink: 0;
}

/* Compact Grid view text */
.modern-file-grid .file-name-modern {
  margin-bottom: 6px;
  font-size: 15px;
}

/* Enhanced name styling for image cards */
.modern-file-card:has(.file-icon-image-thumbnail) .file-name-modern {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
  margin-top: 0;
}

.modern-file-grid .modern-file-card:has(.file-icon-image-thumbnail) .file-name-modern {
  font-size: 15px;
  margin-bottom: 4px;
}

.file-meta-modern {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: auto;
  text-align: center;
  width: 100%;
  flex-shrink: 0;
  padding-top: 8px;
}

/* Compact Grid view metadata */
.modern-file-grid .file-meta-modern {
  font-size: 13px;
  margin-top: 8px;
  padding-top: 4px;
}

.file-meta-modern span {
  flex: 1;
  text-align: center;
}

.file-meta-modern span:first-child {
  text-align: left;
}

.file-meta-modern span:last-child {
  text-align: right;
}

/* File Actions */
.file-actions-modern {
  position: absolute;
  top: 10px;
  right: 10px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 10;
}

.modern-file-card:hover .file-actions-modern {
  opacity: 1;
}

.action-btn-modern {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--background-white);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--text-secondary);
}

.action-btn-modern:hover {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  transform: scale(1.1);
}

/* File Checkbox */
.file-checkbox-modern {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  min-height: 20px !important;
  max-width: 20px !important;
  max-height: 20px !important;
  aspect-ratio: 1 !important;
  border: 2px solid var(--primary-color);
  border-radius: 4px;
  background: var(--background-white);
  cursor: pointer;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 10;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.file-checkbox-modern:checked {
  background: var(--primary-color);
}

.file-checkbox-modern:checked::after {
  content: '✓';
  color: white;
  font-size: 12px;
  font-weight: bold;
}

.modern-file-card:hover .file-checkbox-modern,
.modern-file-card.selected .file-checkbox-modern {
  opacity: 1;
}

/* Responsive Grid - Optimized for Larger Thumbnails */
.modern-file-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
  margin-top: 30px;
}

/* Grid adjustments for different screen sizes */
@media (max-width: 1200px) {
  .modern-file-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .modern-file-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
  }

  .file-icon-wrapper.file-icon-image-thumbnail {
    width: 160px;
    height: 120px;
  }
}

/* Search and Filter Styles */
.modern-search-input {
  flex: 1;
  padding: 12px 20px;
  border: 2px solid var(--border-light);
  border-radius: 12px;
  font-size: 14px;
  transition: all 0.3s ease;
  background: var(--background-white);
  font-family: "Manrope", sans-serif !important;
}

.modern-search-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(18, 98, 171, 0.1);
}

.modern-search-input::placeholder {
  color: var(--text-secondary);
}

/* Filter Tabs */
.filter-tabs-modern {
  display: flex;
  gap: 0;
  margin-bottom: 16px;
  background: var(--background-light);
  border-radius: 8px;
  padding: 4px;
  width: fit-content;
}

.filter-tab-modern {
  padding: 8px 20px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  font-family: "Manrope", sans-serif !important;
}

.filter-tab-modern.active {
  background: var(--primary-color);
  color: white;
}

.filter-tab-modern:hover:not(.active) {
  background: #eeeeee;
}

/* Filter Chips */
.filter-chips-modern {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.chip-modern {
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid var(--border-light);
  background: var(--background-white);
  font-family: "Manrope", sans-serif !important;
  font-weight: 500;
}

.chip-modern.active {
  background: var(--primary-color);
  color: white;
  border-color: transparent;
}

.chip-modern:hover:not(.active) {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.chip-modern.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: var(--background-light);
  color: var(--text-secondary);
}

.chip-modern.disabled:hover {
  transform: none;
  box-shadow: none;
}

/* View Toggle Buttons */
.view-toggles-modern {
  display: flex;
  gap: 10px;
  background: var(--background-light);
  padding: 4px;
  border-radius: 10px;
}

.view-toggle-modern {
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--text-secondary);
  border: none;
  background: transparent;
  font-family: "Manrope", sans-serif !important;
  font-weight: 600;
  font-size: 14px;
}

.view-toggle-modern.active {
  background: var(--background-white);
  color: var(--primary-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* List View Layout */
.modern-file-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 30px;
}

.modern-file-list .modern-file-card {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  margin-bottom: 0;
  border-radius: 12px;
}

.modern-file-list .file-icon-wrapper {
  width: 48px;
  height: 48px;
  margin: 0 16px 0 0;
  flex-shrink: 0;
}

.modern-file-list .file-card-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.modern-file-list .file-name-modern {
  text-align: left;
  margin-bottom: 0;
  flex: 1;
  padding-right: 16px;
}

.modern-file-list .file-meta-modern {
  margin-top: 0;
  gap: 16px;
  min-width: 200px;
}

/* Gallery View Layout - Image-Focused Design */
.modern-file-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 32px;
  margin-top: 30px;
}

.modern-file-gallery .modern-file-card {
  min-height: 400px;
  display: flex;
  flex-direction: column;
  padding: 24px;
}

/* Larger thumbnails for Gallery view */
.modern-file-gallery .file-icon-wrapper.file-icon-image-thumbnail {
  width: 280px;
  height: 200px;
  margin: 0 auto 20px;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.modern-file-gallery .file-icon-wrapper.file-icon-image-thumbnail:hover {
  transform: scale(1.03);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
}

/* Enhanced file icons for Gallery view */
.modern-file-gallery .file-icon-wrapper {
  width: 140px;
  height: 140px;
  margin: 0 auto 24px;
  border-radius: 24px;
}

.modern-file-gallery .file-icon-wrapper:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.2);
}

.modern-file-gallery .file-icon {
  width: 64px;
  height: 64px;
}

/* Gallery view YouTube thumbnails */
.modern-file-gallery .youtube-thumbnail-wrapper {
  border-radius: 20px;
}

.modern-file-gallery .youtube-play-overlay {
  width: 48px;
  height: 48px;
  border-radius: 16px;
}

.modern-file-gallery .youtube-play-overlay svg {
  width: 28px;
  height: 28px;
}

/* Enhanced text for Gallery view */
.modern-file-gallery .file-name-modern {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
  line-height: 1.3;
}

.modern-file-gallery .file-meta-modern {
  font-size: 15px;
  margin-top: 16px;
}

/* Responsive adjustments for Gallery view */
@media (max-width: 1400px) {
  .modern-file-gallery {
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 28px;
  }

  .modern-file-gallery .file-icon-wrapper.file-icon-image-thumbnail {
    width: 260px;
    height: 180px;
  }
}

@media (max-width: 1200px) {
  .modern-file-gallery {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
  }

  .modern-file-gallery .file-icon-wrapper.file-icon-image-thumbnail {
    width: 240px;
    height: 160px;
  }
}

@media (max-width: 768px) {
  .modern-file-gallery {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
  }

  .modern-file-gallery .modern-file-card {
    min-height: 320px;
    padding: 20px;
  }

  .modern-file-gallery .file-icon-wrapper.file-icon-image-thumbnail {
    width: 220px;
    height: 140px;
  }

  .modern-file-gallery .file-icon-wrapper {
    width: 120px;
    height: 120px;
  }
}

/* Bulk Actions Bar */
.bulk-actions-bar-modern {
  background: var(--background-white);
  border-radius: 12px;
  padding: 16px 24px;
  margin: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 16px rgba(18, 98, 171, 0.1);
  border: 2px solid var(--hover-bg);
  animation: slideDownFade 0.3s ease-out;
}

@keyframes slideDownFade {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.bulk-actions-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.bulk-checkbox-modern {
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  min-height: 20px !important;
  max-width: 20px !important;
  max-height: 20px !important;
  aspect-ratio: 1 !important;
  border: 2px solid var(--primary-color);
  border-radius: 4px;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.bulk-checkbox-modern:checked {
  background: var(--primary-color);
}

.bulk-checkbox-modern:checked::after {
  content: '✓';
  color: white;
  font-size: 12px;
  font-weight: bold;
}

.bulk-label-modern {
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  margin: 0;
  font-family: "Manrope", sans-serif !important;
}

.selected-count-modern {
  background: var(--hover-bg);
  color: var(--primary-color);
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  font-family: "Manrope", sans-serif !important;
}

.bulk-actions-right {
  display: flex;
  gap: 12px;
}

.bulk-btn-modern {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid transparent;
  font-family: "Manrope", sans-serif !important;
}

.bulk-btn-download {
  background: var(--primary-color);
  color: white;
}

.bulk-btn-download:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.bulk-btn-delete {
  background: #dc3545;
  color: white;
}

.bulk-btn-delete:hover {
  background: #c82333;
  transform: translateY(-2px);
}

.bulk-btn-move {
  background: var(--success-color);
  color: white;
}

.bulk-btn-move:hover {
  background: #28a745;
  transform: translateY(-2px);
}

.bulk-btn-cancel {
  background: var(--background-light);
  color: var(--text-secondary);
  border-color: var(--border-light);
}

.bulk-btn-cancel:hover {
  background: #eeeeee;
  transform: translateY(-2px);
}

/* Header Section Layout */
.my-content-header-modern {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 20px;
}

.search-filter-section {
  display: flex;
  gap: 15px;
  align-items: center;
  flex: 1;
  max-width: 600px;
}

.search-filter-section select {
  width: auto;
  min-width: 180px;
}

/* Sort label styling */
.sort-label {
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--text-primary);
  white-space: nowrap;
  flex-shrink: 0;
}

/* Storage Widget */
.storage-widget-modern {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  border-radius: 20px;
  padding: 24px;
  color: white;
  margin-top: 30px;
}

.storage-header-modern {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.storage-title-modern {
  font-size: 18px;
  font-weight: 600;
  font-family: "Manrope", sans-serif !important;
}

.storage-details-modern {
  font-size: 14px;
  opacity: 0.9;
  font-family: "Manrope", sans-serif !important;
}

.storage-circle-modern {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  font-family: "Manrope", sans-serif !important;
}

.storage-bar-modern {
  height: 8px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 12px;
}

.storage-progress-modern {
  height: 100%;
  background: white;
  border-radius: 4px;
  transition: width 0.3s ease;
}

/* Enhanced Dropdown Menu Styling */
.file-actions-modern .dropdown-menu {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  padding: 6px;
  min-width: 160px;
  margin-top: 8px;
  animation: dropdownFadeIn 0.2s ease-out;
}

@keyframes dropdownFadeIn {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.file-actions-modern .dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 8px;
  font-family: "Manrope", sans-serif !important;
  font-weight: 500;
  font-size: 13px;
  color: var(--text-primary);
  border: none;
  background: transparent;
  transition: all 0.3s ease;
  cursor: pointer;
  margin-bottom: 1px;
}

.file-actions-modern .dropdown-item:hover {
  background: rgba(18, 98, 171, 0.1);
  color: var(--primary-color);
  transform: translateX(4px);
}

.file-actions-modern .dropdown-item:active {
  background: rgba(18, 98, 171, 0.15);
  transform: translateX(2px);
}

.file-actions-modern .dropdown-item:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  color: var(--text-secondary);
}

.file-actions-modern .dropdown-item:disabled:hover {
  background: transparent;
  transform: none;
}

/* Special styling for delete action */
.file-actions-modern .dropdown-item:last-child {
  border-top: 1px solid rgba(34, 34, 34, 0.1);
  margin-top: 2px;
  padding-top: 8px;
  color: var(--text-primary);
}

.file-actions-modern .dropdown-item:last-child:hover {
  background: rgba(18, 98, 171, 0.1);
  color: var(--primary-color);
}

/* Enhanced Three Dots Button */
.file-actions-modern .action-btn-modern {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.file-actions-modern .action-btn-modern:hover {
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  border-color: rgba(18, 98, 171, 0.2);
}

.file-actions-modern .action-btn-modern:active {
  transform: scale(0.95);
}

/* Icon styling within dropdown items */
.file-actions-modern .dropdown-item svg {
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.file-actions-modern .dropdown-item:hover svg {
  transform: scale(1.1);
}

/* Responsive adjustments for dropdown */
@media (max-width: 768px) {
  .file-actions-modern .dropdown-menu {
    min-width: 140px;
    font-size: 12px;
  }

  .file-actions-modern .dropdown-item {
    padding: 6px 10px;
    gap: 8px;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .modern-file-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
  }

  .my-content-header-modern {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
  }

  .search-filter-section {
    flex-direction: column;
    max-width: none;
    gap: 10px;
  }

  .search-filter-section .modern-search-input {
    width: 100%;
  }

  .search-filter-section .d-flex {
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
  }

  .search-filter-section select {
    flex: 1;
  }

  .bulk-actions-bar-modern {
    flex-direction: column;
    gap: 16px;
    text-align: center;
    padding: 12px 16px;
  }

  .bulk-actions-right {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }

  .bulk-btn-modern {
    flex: 1;
    min-width: 120px;
  }

  /* Make sidebar filters collapsible on mobile */
  .filter-tabs-modern {
    width: 100%;
    justify-content: center;
  }

  /* Stack grid and sidebar vertically */
  .my-content-container .row {
    flex-direction: column-reverse;
  }

  .my-content-container .row>div {
    max-width: 100% !important;
    width: 100% !important;
  }

  /* Mobile storage widget */
  .storage-widget-modern {
    margin-top: 20px;
    padding: 16px;
  }

  .storage-header-modern {
    flex-direction: row;
    gap: 20px;
  }

  .storage-circle-modern {
    width: 60px;
    height: 60px;
    font-size: 18px;
  }

  /* Mobile file actions */
  .file-actions-modern {
    opacity: 1;
    top: 8px;
    right: 8px;
  }

  .file-checkbox-modern {
    opacity: 1;
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    min-height: 18px !important;
    max-width: 18px !important;
    max-height: 18px !important;
    aspect-ratio: 1 !important;
  }
}

@media (max-width: 576px) {
  .modern-file-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* Smaller cards on mobile */
  .modern-file-card {
    padding: 16px;
    border-radius: 16px;
  }

  /* Adjust thumbnail sizes */
  .file-icon-wrapper.file-icon-image-thumbnail {
    width: 140px;
    height: 105px;
  }

  .file-icon-wrapper {
    width: 80px;
    height: 80px;
  }

  .file-icon {
    width: 40px;
    height: 40px;
  }

  /* Smaller text */
  .file-name-modern {
    font-size: 14px;
  }

  .file-meta-modern {
    font-size: 12px;
  }

  /* Full width buttons */
  .view-toggles-modern {
    width: 100%;
    justify-content: space-between;
  }

  .view-toggle-modern {
    flex: 1;
    text-align: center;
  }

  /* Compact bulk actions */
  .bulk-actions-bar-modern {
    padding: 10px;
  }

  .bulk-btn-modern {
    font-size: 12px;
    padding: 6px 12px;
  }

  /* Hide some text on very small screens */
  .sort-label {
    display: none;
  }

  /* Full width upload button */
  .my-content-header-modern .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {

  /* Even more compact on very small screens */
  .modern-file-card {
    padding: 12px;
  }

  /* List view on very small screens for better readability */
  .modern-file-list .modern-file-card {
    padding: 12px;
  }

  .modern-file-list .file-icon-wrapper {
    width: 40px;
    height: 40px;
    margin-right: 12px;
  }

  .modern-file-list .file-meta-modern {
    flex-direction: column;
    gap: 4px;
    text-align: right;
  }

  /* Gallery view adjustments */
  .modern-file-gallery {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .modern-file-gallery .modern-file-card {
    min-height: auto;
    padding: 16px;
  }

  .modern-file-gallery .file-icon-wrapper.file-icon-image-thumbnail {
    width: 100%;
    max-width: 200px;
    height: 150px;
    margin: 0 auto 12px;
  }
}

/* Responsive sidebar filters */
@media (max-width: 991px) {

  /* Create collapsible filter panel */
  .filter-sidebar-mobile {
    position: fixed;
    top: 60px;
    right: -100%;
    width: 300px;
    max-width: 80%;
    height: calc(100vh - 60px);
    background: white;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease-in-out;
    z-index: 1040;
    overflow-y: auto;
    padding: 20px;
  }

  .filter-sidebar-mobile.show {
    right: 0;
  }

  /* Mobile filter toggle button */
  .filter-toggle-mobile {
    display: block;
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1030;
  }

  .filter-toggle-mobile:hover {
    background: var(--primary-dark);
  }
}

/* Landscape mode adjustments */
@media (max-width: 768px) and (orientation: landscape) {
  .modern-file-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .modern-file-card {
    padding: 12px;
  }

  .file-icon-wrapper.file-icon-image-thumbnail {
    width: 120px;
    height: 90px;
  }
}
.modal-30 {
  max-width: 30% !important;
  width: 30% !important;
}

@media (max-width: 992px) {
  .modal-30 {
    max-width: 95% !important;
    width: 95% !important;
  }
}
.text-truncate {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.doc-card {
    display: flex;
    flex-direction: column;
    height: 250px;
    /* Set fixed card height */
    overflow: hidden;
    border: 1px solid #eee;
}

.doc-card a {
    flex-shrink: 0;
}

.doc-content {
    flex-grow: 1;
    overflow-y: auto;
}

.object-fit-cover {
    object-fit: cover;
}
.certificate-card {
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 16px;
    background-color: #fafafa;
    height: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}

.certificate-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.certificate-image {
    max-height: 160px;
    object-fit: contain;
}

/* .file-icon-wrapper svg {
    width: 60px;
    height: 60px;
    fill: #555;
    margin-bottom: 10px;
} */

.text-truncate {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    display: block;
}
.section {
    padding: 1rem;
    background-color: #fff;
    border-radius: 8px;
    border: 1px solid #e3e3e3;
}

.microsite-tabs-wrapper {
    background-color: #f9f9f9;
}

.microsite-tabs {
    border-radius: 10px 10px 0 0;
    border-bottom: 1px solid #ddd;
}

.custom-tabs::-webkit-scrollbar {
    height: 6px;
}

.custom-tabs::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 4px;
}

.custom-tab {
    color: #333;
    font-weight: 500;
    margin-right: 1rem;
    white-space: nowrap;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: all 0.2s ease-in-out;
}

.custom-tab:hover {
    background-color: #f0f0f0;
    color: #000;
}

.custom-tab.active,
.custom-tab:focus,
.custom-tab:active {
    background-color: #007bff;
    color: white !important;
    font-weight: 600;
}

.new-back {
    background-image: url(/assets/bg-micro.0c04262105b8b5bb037b.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.transaction-h {
  padding: 12px;
  padding-bottom: 2px;
  border-top: 1px solid #f5f7fb;
  margin-top: 14px;
}

.transaction-h .text {
  align-items: center;
  display: flex;
  font-size: 1.2rem;
  font-weight: 500;
  color: #000;
  line-height: 0;
}

.toggle-switch {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  
  .toggle-switch-checkbox {
    display: none;
  }
  
  .toggle-switch-label {
    display: inline-block;
    width: 50px;
    height: 24px;
    position: relative;
    cursor: pointer;
  }
  
  .toggle-switch-inner {
    background-color: #ccc;
    border-radius: 24px;
    position: absolute;
    width: 100%;
    height: 100%;
    transition: background-color 0.3s;
  }

  .uploadModal .toggle-switch-inner {
    background-color: #0a53be;
  }
  
  .toggle-switch-switch {
    background: white;
    border-radius: 50%;
    position: absolute;
    height: 20px;
    width: 20px;
    left: 2px;
    top: 2px;
    transition: transform 0.3s;
  }
  
  .toggle-switch-checkbox:checked + .toggle-switch-label .toggle-switch-inner {
    background-color: #0a53be;
  }
  
  .toggle-switch-checkbox:checked + .toggle-switch-label .toggle-switch-switch {
    transform: translateX(26px);
  }
  
/* styles.css */
.table-row-border {
    border-bottom: 1px solid #ddd !important;
}

.table-row-last {
    border-bottom: none !important;
}

.deal-lightbox-modal .modal-content {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: none;
    border-radius: 0;
    animation: fadeIn 0.4s ease-in-out;
}

.lightbox-body {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 10px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
    animation: zoomIn 0.3s ease;
}

/* Close Button */
.lightbox-close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2.5rem;
    color: rgb(160, 116, 116);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    padding: 0.2rem 0.8rem;
    border-radius: 8px;
    cursor: pointer;
    z-index: 10;
}

/* Arrows */
.lightbox-nav-btn {
    position: absolute;
    top: 50%;
    font-size: 3rem;
    color: rgb(160, 116, 116);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 50%;
    cursor: pointer;
    z-index: 9;
    transform: translateY(-50%);
    transition: background 0.2s;
}

.lightbox-nav-btn.left {
    left: 20px;
}

.lightbox-nav-btn.right {
    right: 20px;
}

.lightbox-nav-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.97);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes zoomIn {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }

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


.cdetails{
    margin-top: 9px;
}

/* Hide default TextInput error message for reply textarea */
.reply-textarea-container .col-8 {
    display: none !important;
}

.reply-textarea-container {
    position: relative !important;
}
/* Notification Bell Styles */
.notification-bell-container {
  position: relative;
  display: inline-block;
  top: 3px;
}

.notification-bell-button {
  padding: 8px;
  transition: all 0.3s ease;
}

.notification-bell-button:hover {
   background-color: rgba(18, 98, 171, 0.08) !important;
}

.notification-icon {
  transition: color 0.3s ease;
}

/* Pulse animation for unread dots */
@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }

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

/* Notification Dropdown Styles */
.notification-dropdown-container {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 400px;
  max-width: 90vw;
  z-index: 1300;
  border-radius: 8px;
  overflow: hidden;
  animation: slideDown 0.3s ease;
  background-color: white !important;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.notification-dropdown-header {
  padding: 12px 16px;
  background-color: #f5f5f5 !important;
  border-bottom: 1px solid #e0e0e0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.notification-dropdown-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #333 !important;
}

.notification-unread-count {
  background-color: #2196f3;
  color: white;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 500;
}

.notification-dropdown-actions {
  display: flex;
  gap: 4px;
}

.notification-dropdown-list {
  max-height: 400px;
  overflow-y: auto;
  overflow-x: hidden;
}

.notification-dropdown-list::-webkit-scrollbar {
  width: 6px;
}

.notification-dropdown-list::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.notification-dropdown-list::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 3px;
}

.notification-dropdown-list::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.notification-dropdown-empty {
  padding: 32px;
  text-align: center;
}

.notification-dropdown-loading {
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.notification-dropdown-error {
  padding: 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.notification-dropdown-footer {
  padding: 8px;
  background-color: #f5f5f5 !important;
  border-top: 1px solid #e0e0e0;
}

.notification-view-all-button {
  color: #2196f3 !important;
  background-color: transparent !important;
  font-weight: 500;
  text-transform: none;
  padding: 8px 16px;
}

.notification-view-all-button:hover {
  background-color: rgba(33, 150, 243, 0.08) !important;
}

/* Notification Item Styles */
.notification-item {
  position: relative;
  padding: 12px 16px !important;
  cursor: pointer;
  transition: all 0.2s ease;
  border-bottom: 1px solid #f0f0f0;
}

.notification-item.unread {
  background-color: rgba(33, 150, 243, 0.04);
}

.notification-item:hover {
  background-color: rgba(0, 0, 0, 0.04);
}

.notification-item.priority-critical {
  border-left-color: #f44336 !important;
}

.notification-item.priority-high {
  border-left-color: #ff9800 !important;
}

.notification-item.priority-medium {
  border-left-color: #2196f3 !important;
}

.notification-item.priority-low {
  border-left-color: #9e9e9e !important;
}

.notification-item-icon {
  min-width: 40px !important;
  position: relative;
}

.notification-unread-dot {
  position: absolute;
  top: 0;
  right: 0;
  width: 8px;
  height: 8px;
  background-color: #2196f3;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.notification-title-unread-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: #2196f3;
  border-radius: 50%;
  margin-right: 8px;
  flex-shrink: 0;
  animation: pulse 2s infinite;
}

.notification-item-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.notification-item-title {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.notification-priority-chip {
  height: 20px !important;
  font-size: 0.7rem !important;
}

.notification-item-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.notification-item-message {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.4;
}

.notification-item-time {
  font-size: 0.75rem;
  opacity: 0.7;
}

.notification-item-actions {
  display: flex;
  gap: 4px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.notification-item:hover .notification-item-actions {
  opacity: 1;
}

.notification-action-button {
  padding: 4px !important;
}

/* Notification Toast Styles */
.notification-toast {
  z-index: 1400;
}

.notification-toast-alert {
  border-radius: 8px;
}

.notification-toast-alert .MuiAlert-message {
  padding: 0;
}

.notification-toast-alert .MuiAlertTitle-root {
  margin-bottom: 4px;
}

/* Notification Page Styles */
.notifications-page {
  padding: 24px;
  /* max-width: 1200px; */
  margin: 0 auto;
}

.notifications-page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.notifications-page-title {
  display: flex;
  align-items: center;
  gap: 16px;
}

.notifications-page-filters {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.notifications-page-content {
  background: white;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.notifications-page-empty {
  padding: 64px;
  text-align: center;
}

.notifications-page-loading {
  padding: 64px;
  display: flex;
  justify-content: center;
}

.notifications-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.notification-group {
  margin-bottom: 24px;
}

.notification-group-header {
  padding: 8px 16px;
  background-color: #0B3963 !important;
  /* Exact sidebar color */
  font-weight: 600;
  font-size: 0.875rem;
  color: white !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 4px;
  margin-bottom: 8px;
}

/* Responsive Styles */

@media (max-width: 768px) {

  .notification-dropdown-list {
    max-height: 60vh;
  }

  .notification-item-message {
    -webkit-line-clamp: 1;
  }

  .notifications-page {
    padding: 16px;
  }

  .notifications-page-header {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }

  .notifications-page-filters {
    flex-direction: column;
  }
}

@media (max-width: 575px) {
  .notification-dropdown-container {
    width: 300px;
    right: -65px;
  }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  .notification-dropdown-container {
    background-color: #424242;
  }

  .notification-dropdown-header,
  .notification-dropdown-footer {
    background-color: #333;
    border-color: #555;
  }

  .notification-item {
    border-bottom-color: #555;
  }

  .notification-item:hover {
    background-color: rgba(255, 255, 255, 0.08);
  }

  .notification-item.unread {
    background-color: rgba(33, 150, 243, 0.1);
  }

  .notifications-page-content {
    background-color: #424242;
  }

  .notification-group-header {
    background-color: #333;
    color: #bbb;
  }
}
/* Default border */
.storage-plan-card {
 border: 1px solid #efefef !important;;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

/* Hover effect */
.storage-plan-card:hover {
     border: 1px solid #1262AB !important;
  box-shadow: 0 0 0 0.1rem rgba(13, 110, 253, 0.25) !important;
  cursor: pointer;
}

.thumb {-webkit-appearance: none; width: 100%; height: 3px; background: #d1e9ff; border-radius: 2px; position: absolute;}
.thumb::-webkit-slider-thumb {-webkit-appearance: none; height: 12px; width: 12px; border-radius: 50%; background: #1463ad; cursor: pointer; margin-top: -2px; position: relative; z-index: 9;}
.thumb::-moz-range-thumb {height: 12px; width: 12px; border-radius: 50%; background: #1463ad; cursor: pointer;}
.thumb::-moz-range-track {background: #1463ad; height: 3px; border-radius: 2px;}
.tooltip1 {position: absolute; top: -28px; background-color: #fff; color: #444; padding: 0px 4px; border-radius: 4px; font-size: 11px; white-space: nowrap; border: 1px solid #ddd;}

.filledToggle .form-check-input {
  width: 45px;
  height: 20px;
  border: none;
  background-color: #28a745; /* Default color */
  box-shadow: none;
  outline: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  position: relative;
}

.filledToggle .form-check-input:checked {
  background-color: #28a745; /* Green when checked */
}

input#deal-toggle {
  width: 43px;
}
.filledToggle .form-check-input::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  top: 2px;
  left: 2px;
  transition: transform 0.2s ease;
}

.filledToggle .form-check-input:checked::before {
  transform: translateX(24px);
}

.toggle-label {
  color: #222;
  display: block;
  margin: 0;
  white-space: nowrap;
  font-size: 1rem;
  transition: color 0.3sease;
}

.active-label {
  color: #000;
}

.nav-link.active {
    background-color: #0b3963;
    color: #fff !important;
}

.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
    color: var(--bs-nav-tabs-link-active-color);
    background-color: #1063ab !important;
    border-color: var(--bs-nav-tabs-link-active-border-color);
}

.dolller {
    padding-right: .5rem !important;
    padding-left: 1.3rem !important;
}
.custom-selector option {
  word-break: break-word !important;
  white-space: normal;
}

/* ✅ Force bullets to appear in Terms page */
.terms-list,
.terms-list li {
  list-style: disc !important;
}

.terms-list {
  padding-left: 20px;
}


.privacy-list,
.privacy-list li {
  list-style: disc !important;
}

.privacy-list {
  padding-left: 20px;
}
.css-qwcinf-control {
    -webkit-align-items: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    cursor: default;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    min-height: 49px !important;
    outline: 0 !important;
    position: relative;
    -webkit-transition: all 100ms;
    transition: all 100ms;
    background-color: hsl(0, 0%, 100%);
    border-color: hsl(0, 0%, 80%);
    border-radius: 4px;
    border-style: solid;
    border-width: 1px;
    box-shadow: none;
    box-sizing: border-box;
    border: 1px solid #ced4da;
    /* font-size: 0.9rem; */
}

.css-1vw3tz-control {
    -webkit-align-items: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    cursor: default;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    min-height: 49px !important;
    outline: 0 !important;
    position: relative;
    -webkit-transition: all 100ms;
    transition: all 100ms;
    background-color: hsl(0, 0%, 100%);
    border-color: hsl(0, 0%, 80%);
    border-radius: 4px;
    border-style: solid;
    border-width: 1px;
    box-shadow: none;
    box-sizing: border-box;
    border: 1px solid #ced4da;
    /* font-size: 0.9rem; */
}
.css-1wt746v-control {

    font-family: "Manrope", sans-serif !important;
    font-weight: 600 !important;
    -webkit-align-items: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    /* cursor: default; */
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex
;
    -webkit-box-flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    min-height: 49px;
    outline: 0 !important;
    position: relative;
    -webkit-transition: all 100ms;
    transition: all 100ms;
    background-color: white;
    border-color: #dee2e6;
    border-radius: 4px;
    border-style: solid;
    border-width: 1px;
    box-shadow: none;
    box-sizing: border-box;
    font-size: 16px !important;
}
:root {
    --primary-brand: #135faa;
    --secondary-brand: #0d2b4d
}

.main-color {
    color: var(--primary-brand)
}

.heading-color {
    color: var(--secondary-brand)
}

.custom-radio .form-check-input {
    margin-right: 6px !important
}

.custom-radio .form-check-label {
    margin: 0 !important
}

/* ===== DEFAULT (DESKTOP ≥1200px) ===== */
.desktop-toggle {
    display: block
}

.tablet-toggle {
    display: none !important
}

.cards-wrapper1 {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(5, 1fr)
}

.cards-wrapper {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(5, 1fr)
}

.header-section {
    grid-column: 1/2;
    padding-right: 20px
}

.pricing-card {
    border: 1px solid #e0e0e0;
    transition: all .3s ease;
    flex-direction: column
}

.pricing-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
    transform: translateY(-3px)
}

.btn-subscribe {
    transition: all .3s ease;
    border: none
}

.btn-primary-custom {
    background: var(--primary-brand);
    color: #fff
}

.btn-primary-custom:hover {
    background: #1565c0
}

.btn-outline-custom {
    background: #fff;
    border: 1px solid #ddd;
    color: #333
}

.btn-outline-custom:hover {
    background: #1565c0;
    color: #fff
}

.seg-btn.active {
    background: var(--primary-brand) !important;
    color: #fff !important;
    transition: all .3s ease
}

.seg-btn .bi {
    color: #000
}

.seg-btn.active .bi {
    color: #fff !important
}

.features-list {
    padding-left: 0 !important
}

/* ===== MOBILE + TABLET (≤1200px) ===== */
@media(max-width:1200px) {
    .desktop-toggle {
        display: none !important
    }

    .tablet-toggle {
        display: inline-flex !important
    }

    .sticky-wrapper {
        display: none !important
    }

    .feature-value {
        display: none
    }

    .feature-value.show {
        display: table-cell
    }
}

/* ===== TABLET (769px – 1200px) ===== */
@media(min-width:769px) and (max-width:1200px) {
    .cards-wrapper {
        grid-template-columns: repeat(4, 1fr)
    }

    .header-section {
        grid-column: 1/-1;
        padding-right: 0;
        margin-bottom: 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center
    }

    .header-section p,
    .pricing-description {
        max-width: 700px;
        margin: 0 auto
    }

    .pricing-subtitle {
        display: none
    }

    .subscription-title {
        order: 1
    }

    .plan-toggle {
        order: 2;
        margin: 0 auto 16px
    }

    .pricing-description {
        order: 3;
        margin-bottom: 24px
    }
}

/* ===== MOBILE (≤768px) ===== */
@media(max-width:768px) {
    .cards-wrapper {
        grid-template-columns: 1fr;
        gap: 16px
    }

    .header-section {
        text-align: center
    }
}

img.mb-2.price.medal {
    width: 100px !important;
    height: 100px !important;
}
.filter-toggle {
    background-color: #f8f9fa;
    color: #333;
    border: 1px solid #ccc;
    transition: all 0.2s ease;
    font-weight: 500;
}

.filter-toggle:hover {
    background-color: #e7f1fb;
    border-color: #1362ab;
    color: #1362ab;
}

.filter-toggle.active {
    background-color: #1362ab;
    color: #fff;
    border-color: #1362ab;
    box-shadow: 0 0 6px rgba(19, 98, 171, 0.4);
}

.no-border-modal .modal-content {
    border: none !important;
    box-shadow: none !important;
}

.no-border-modal .modal-header,
.no-border-modal .modal-footer {
    border: none !important;
}

/* .sticky-header {
    position: sticky;
    top: 75px;
    z-index: 1020;
    /* above content */
/* } */
.sticky-bottom-bar {
    position: sticky;
    bottom: 0px;
    /* ⬆ lifts it 10px above bottom */
    z-index: 1020;
    /* on top of content */
    background-color: #fff;
}

.dropdown-menu.show {
    max-height: 223px !important
}
/* Deal Detail Responsive Styles */

/* Deal Specifications Component */
/* .deal-specifications {
  padding: 1rem;
} */

/* Status Badge Responsive */
.deal-status-badge {
  font-size: 14px;
  padding: 0.25rem 0.5rem;
  border-radius: 5px;
  display: inline-block;
  white-space: nowrap;
}

/* View Reason Link */
.view-reason-link {
  cursor: pointer;
  text-align: center;
  font-size: 14px;
  margin-top: 0.25rem;
}

/* Deal Info Items */
.deal-info-item {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-top: 0.5rem;
}

.deal-info-label {
  font-weight: 600;
  min-width: 100px;
  color: #222;
}

.deal-info-value {
  color: #222;
  word-break: break-word;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
  /* Stack header elements on mobile */
  .deal-header {
    flex-direction: column;
    gap: 1rem;
  }
  
  .deal-header-actions {
    width: 100%;
    justify-content: space-between !important;
  }
  
  /* Deal title responsive */
  .deal-title {
    font-size: 1.25rem;
    word-break: break-word;
  }
  
  /* Status badge adjustments */
  .deal-status-badge {
    font-size: 12px;
    padding: 0.2rem 0.4rem;
  }
  
  /* Deal info responsive */
  .deal-info-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
  
  .deal-info-label {
    min-width: auto;
    font-size: 14px;
  }
  
  .deal-info-value {
    font-size: 14px;
  }
  
  /* Hide labels on mobile and show as prefixes */
  @media (max-width: 576px) {
    .deal-info-label.d-md-block {
      display: inline-block !important;
      margin-right: 0.25rem;
    }
  }
}

/* Deal Actions Component */
.deal-actions {
  padding: 1rem;
}

.deal-action-button {
  width: 100%;
  margin-bottom: 0.5rem;
  min-height: 44px;
  font-size: 14px;
}

/* Deal Images Component */
.deal-images-container {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.deal-image-carousel {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

@media (max-width: 768px) {
  .deal-images-container {
    margin-bottom: 1rem;
  }
  
  .deal-image-carousel {
    aspect-ratio: 4/3;
  }
}

/* Deal Details Tabs */
.deal-details-tabs {
  margin-top: 2rem;
}

.deal-details-tabs .nav-tabs {
  border-bottom: 2px solid #e9ecef;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.deal-details-tabs .nav-link {
  white-space: nowrap;
  padding: 0.75rem 1rem;
  font-size: 14px;
  color: #666;
  border: none;
  border-bottom: 3px solid transparent;
}

.deal-details-tabs .nav-link.active {
  color: #0B3963;
  border-bottom-color: #0B3963;
  background: none;
}

@media (max-width: 576px) {
  .deal-details-tabs .nav-tabs {
    border-bottom: 1px solid #e9ecef;
  }
  
  .deal-details-tabs .nav-link {
    padding: 0.5rem 0.75rem;
    font-size: 13px;
  }
}

/* Milestone Table Responsive */
.milestone-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.milestone-table {
  min-width: 600px;
}

@media (max-width: 768px) {
  .milestone-table-wrapper {
    margin: 0 -1rem;
    padding: 0 1rem;
  }
}

/* Documents Grid Responsive */
.documents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

@media (max-width: 576px) {
  .documents-grid {
    grid-template-columns: 1fr;
  }
}

/* Activity Timeline Responsive */
.activity-timeline {
  position: relative;
  padding-left: 2rem;
}

.activity-timeline::before {
  content: '';
  position: absolute;
  left: 0.5rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #e9ecef;
}

.activity-item {
  position: relative;
  padding-bottom: 1.5rem;
}

.activity-dot {
  position: absolute;
  left: -1.5rem;
  top: 0.25rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: #0B3963;
  border: 2px solid #fff;
}

@media (max-width: 576px) {
  .activity-timeline {
    padding-left: 1.5rem;
  }
  
  .activity-dot {
    left: -1.25rem;
    width: 0.75rem;
    height: 0.75rem;
  }
}

/* Touch-friendly buttons */
@media (max-width: 768px) {
  /* .btn {
    min-height: 44px;
    padding: 0.5rem 1rem;
  } */
  
  /* .btn-sm {
    min-height: 36px;
    padding: 0.375rem 0.75rem;
  } */
}

/* Improve spacing on mobile */
@media (max-width: 768px) {
  .mt-3 {
    margin-top: 1rem !important;
  }
  
  .mt-4 {
    margin-top: 1.5rem !important;
  }
  
  .p-3 {
    padding: 1rem !important;
  }
  
  .p-4 {
    padding: 1.5rem !important;
  }
}
/* Deal Detail Responsive Styles */

/* Deal Specifications Component */
/* .deal-specifications {
  padding: 1rem;
} */

/* Status Badge Responsive */
.deal-status-badge {
  font-size: 14px;
  padding: 0.25rem 0.5rem;
  border-radius: 5px;
  display: inline-block;
  white-space: nowrap;
}

/* View Reason Link */
.view-reason-link {
  cursor: pointer;
  text-align: center;
  font-size: 14px;
  margin-top: 0.25rem;
}

/* Deal Info Items */
.deal-info-item {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-top: 0.5rem;
}

.deal-info-label {
  font-weight: 600;
  min-width: 100px;
  color: #222;
}

.deal-info-value {
  color: #222;
  word-break: break-word;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
  /* Stack header elements on mobile */
  .deal-header {
    flex-direction: column;
    gap: 1rem;
  }
  
  .deal-header-actions {
    width: 100%;
    justify-content: space-between !important;
  }
  
  /* Deal title responsive */
  .deal-title {
    font-size: 1.25rem;
    word-break: break-word;
  }
  
  /* Status badge adjustments */
  .deal-status-badge {
    font-size: 12px;
    padding: 0.2rem 0.4rem;
  }
  
  /* Deal info responsive */
  .deal-info-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
  
  .deal-info-label {
    min-width: auto;
    font-size: 14px;
  }
  
  .deal-info-value {
    font-size: 14px;
  }
  
  /* Hide labels on mobile and show as prefixes */
  @media (max-width: 576px) {
    .deal-info-label.d-md-block {
      display: inline-block !important;
      margin-right: 0.25rem;
    }
  }
}

/* Deal Actions Component */
.deal-actions {
  padding: 1rem;
}

.deal-action-button {
  width: 100%;
  margin-bottom: 0.5rem;
  min-height: 44px;
  font-size: 14px;
}

/* Deal Images Component */
.deal-images-container {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.deal-image-carousel {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

@media (max-width: 768px) {
  .deal-images-container {
    margin-bottom: 1rem;
  }
  
  .deal-image-carousel {
    aspect-ratio: 4/3;
  }
}

/* Deal Details Tabs */
.deal-details-tabs {
  margin-top: 2rem;
}

.deal-details-tabs .nav-tabs {
  border-bottom: 2px solid #e9ecef;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.deal-details-tabs .nav-link {
  white-space: nowrap;
  padding: 0.75rem 1rem;
  font-size: 14px;
  color: #666;
  border: none;
  border-bottom: 3px solid transparent;
}

.deal-details-tabs .nav-link.active {
  color: #0B3963;
  border-bottom-color: #0B3963;
  background: none;
}

@media (max-width: 576px) {
  .deal-details-tabs .nav-tabs {
    border-bottom: 1px solid #e9ecef;
  }
  
  .deal-details-tabs .nav-link {
    padding: 0.5rem 0.75rem;
    font-size: 13px;
  }
}

/* Milestone Table Responsive */
.milestone-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.milestone-table {
  min-width: 600px;
}

@media (max-width: 768px) {
  .milestone-table-wrapper {
    margin: 0 -1rem;
    padding: 0 1rem;
  }
}

/* Documents Grid Responsive */
.documents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

@media (max-width: 576px) {
  .documents-grid {
    grid-template-columns: 1fr;
  }
}

/* Activity Timeline Responsive */
.activity-timeline {
  position: relative;
  padding-left: 2rem;
}

.activity-timeline::before {
  content: '';
  position: absolute;
  left: 0.5rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #e9ecef;
}

.activity-item {
  position: relative;
  padding-bottom: 1.5rem;
}

.activity-dot {
  position: absolute;
  left: -1.5rem;
  top: 0.25rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: #0B3963;
  border: 2px solid #fff;
}

@media (max-width: 576px) {
  .activity-timeline {
    padding-left: 1.5rem;
  }
  
  .activity-dot {
    left: -1.25rem;
    width: 0.75rem;
    height: 0.75rem;
  }
}

/* Touch-friendly buttons */
@media (max-width: 768px) {
  /* .btn {
    min-height: 44px;
    padding: 0.5rem 1rem;
  } */
  
  /* .btn-sm {
    min-height: 36px;
    padding: 0.375rem 0.75rem;
  } */
}

/* Improve spacing on mobile */
@media (max-width: 768px) {
  .mt-3 {
    margin-top: 1rem !important;
  }
  
  .mt-4 {
    margin-top: 1.5rem !important;
  }
  
  .p-3 {
    padding: 1rem !important;
  }
  
  .p-4 {
    padding: 1.5rem !important;
  }
}
button:focus,
button:active,
button:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

.btn-link:focus,
.btn-link:active,
.btn-link:focus-visible {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
}

button::-moz-focus-inner {
  border: 0;
}

.scroll-corner-btn {
    position: fixed;
    bottom: 6rem;
    right: 2rem;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 9999;

    width: 55px;
    height: 55px;

    /* Center icon */
    display: flex;
    align-items: center;
    justify-content: center;

    /* For tooltip positioning */
    /* position: relative; */
}

/* Tooltip styling */
/* Tooltip styling - left side */
.scroll-corner-btn::after {
    content: attr(data-tooltip);
    position: absolute;
    right: 110%;
    /* push tooltip to left side */
    top: 50%;
    transform: translateY(-50%);
    background: #333;
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    font-size: 12px;
    transition: opacity 0.2s ease;
}

.scroll-corner-btn:hover::after {
    opacity: 1;
    visibility: visible;
}

.scroll-corner-btn:hover {
    background: #0056b3;
    transform: scale(1.1);
}

@media screen and (max-width: 767px) {
    .scroll-corner-btn {
        display: none;
    }
}
/* 
 * Responsive Design Fixes
 * Mobile-first responsive optimizations for better mobile experience
 */

/* Prevent iOS zoom on input focus by ensuring 16px minimum font size */
@media screen and (max-width: 767px) {
  /* input[type="text"],
  input[type="email"], 
  input[type="password"],
  input[type="tel"],
  input[type="url"],
  input[type="search"],
  input[type="number"],
  input[type="date"],
  input[type="datetime-local"],
  select,
  textarea {
    font-size: 16px !important;
    min-height: 44px; 
  } */

/* 
  .btn,
  button {
    min-height: 44px;
    min-width: 44px;
    padding: 8px 16px;
  } */

  /* Make small buttons larger on mobile for better touch experience */
  .btn-sm {
    min-height: 40px;
    padding: 6px 12px;
    font-size: 14px;
  }

  /* Improve spacing for mobile touch */
  .form-group,
  .mb-3 {
    margin-bottom: 1.5rem;
  }

  /* Better mobile table experience */
  /* .table-responsive {
    border: none;
    -webkit-overflow-scrolling: touch;
  } */

  /* Hide desktop-only elements on mobile */
  .d-none.d-lg-block {
    display: none !important;
  }

  /* Improve mobile modals */
  /* .modal-dialog {
    margin: 0.5rem;
    max-width: calc(100% - 1rem);
  } */

  /* .modal-content {
    border-radius: 12px;
  } */

  /* Better mobile navigation touch targets */
  .nav-link,
  .navbar-nav .nav-link {
    padding: 12px 16px;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  /* Improve card spacing on mobile */
  .card {
    margin-bottom: 1rem;
  }

  /* Better mobile typography */
  /* h1, .h1 { font-size: clamp(1.8rem, 5vw, 2.5rem); }
  h2, .h2 { font-size: clamp(1.5rem, 4vw, 2rem); }
  h3, .h3 { font-size: clamp(1.3rem, 3.5vw, 1.75rem); }
  h4, .h4 { font-size: clamp(1.1rem, 3vw, 1.5rem); }
  h5, .h5 { font-size: clamp(1rem, 2.5vw, 1.25rem); }
  h6, .h6 { font-size: clamp(0.9rem, 2vw, 1rem); } */

  /* Responsive padding for containers */
  .container,
  .container-fluid {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Better mobile tables - convert to cards */
  .mobile-card-table {
    display: block;
  }

  .table-responsive table {
    min-width: 600px;
  }

  /* Mobile table improvements */
  /* .table-responsive {
    position: relative;
  } */
/* 
  .table-responsive::after {
    content: "→";
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: #666;
    pointer-events: none;
    opacity: 0.7;
  } */

  /* Mobile scrolling hint */
  .table-responsive:not(:hover)::after {
    animation: pulse-right 2s infinite;
  }

  @keyframes pulse-right {
    0%, 100% { opacity: 0.7; transform: translateY(-50%) translateX(0); }
    50% { opacity: 1; transform: translateY(-50%) translateX(5px); }
  }
}

/* Tablet optimizations */
@media screen and (min-width: 768px) and (max-width: 991px) {
  /* Tablet-specific touch targets */
  /* .btn {
    min-height: 42px;
    padding: 8px 20px;
  } */

  /* Better tablet modals */
  /* .modal-dialog {
    max-width: 90%;
    margin: 1.75rem auto;
  } */
}

/* Desktop optimizations */
/* @media screen and (min-width: 992px) {
  .btn {
    min-height: 38px;
    min-width: auto;
  }
} */

/* High DPI display optimizations */
@media screen and (-webkit-min-device-pixel-ratio: 2), 
       screen and (min-resolution: 192dpi) {
  /* Ensure crisp borders on high DPI displays */
  /* .border,
  .card,
  .btn {
    border-width: 0.5px;
  } */
}

/* Landscape phone optimizations */
@media screen and (max-height: 500px) and (orientation: landscape) {
  /* Reduce modal padding in landscape */
  .modal-body {
    padding: 1rem;
  }

  /* Smaller headers in landscape */
  h1, .h1 { font-size: 1.5rem; }
  h2, .h2 { font-size: 1.3rem; }
  h3, .h3 { font-size: 1.1rem; }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus improvements for keyboard navigation */
.btn:focus,
.form-control:focus,
.form-select:focus {
  box-shadow: 0 0 0 0.2rem rgba(17, 97, 171, 0.25);
  border-color: #1161AB;
}

/* Better touch feedback */
@media (hover: none) {
  .btn:hover {
    transform: none;
  }
  
  .btn:active {
    transform: scale(0.98);
  }
}

/* Mobile Navigation & Touch Target Enhancements */
@media screen and (max-width: 768px) {
  /* Touch Target Standards - WCAG 2.1 AAA Compliance */
  /* button,
  .btn,
  [role="button"],
  a:not(.nav-link),
  input[type="submit"],
  input[type="button"],
  input[type="reset"],
  .clickable {
    min-height: 44px !important;
    min-width: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  } */

  /* Enhanced Form Controls */


  /* Enhanced Focus States for Accessibility */
  /* input:focus,
  textarea:focus,
  select:focus,
  button:focus,
  .btn:focus {
    outline: none !important;
    border-color: #1161AB !important;
    box-shadow: 0 0 0 3px rgba(17, 97, 171, 0.25) !important;
  } */

  /* Mobile-Optimized Checkboxes and Radio Buttons */
  /* input[type="checkbox"],
  input[type="radio"] {
    min-width: 20px !important;
    min-height: 20px !important;
    margin: 8px !important;
    transform: scale(1.2) !important;
  } */

  /* Enhanced Dropdown Touch Targets */
  .dropdown-toggle {
    min-height: 44px !important;
    padding: 12px 16px !important;
  }

  /* .dropdown-item {
    padding: 12px 20px !important;
    min-height: 44px !important;
    display: flex !important;
    align-items: center !important;
  } */

  /* Mobile-Specific Navigation Improvements */
  .nav-link {
    padding: 12px 20px !important;
    min-height: 44px !important;
    display: flex !important;
    align-items: center !important;
  }

  /* Mobile Content Spacing */
  .container,
  .container-fluid {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  /* Mobile Typography Scaling */
  /* h1, .h1 { font-size: clamp(1.75rem, 5vw, 2.5rem) !important; }
  h2, .h2 { font-size: clamp(1.5rem, 4vw, 2rem) !important; }
  h3, .h3 { font-size: clamp(1.25rem, 3.5vw, 1.75rem) !important; }
  h4, .h4 { font-size: clamp(1.1rem, 3vw, 1.5rem) !important; }
  h5, .h5 { font-size: clamp(1rem, 2.5vw, 1.25rem) !important; }
  h6, .h6 { font-size: clamp(0.9rem, 2vw, 1rem) !important; } */

  /* Mobile Card Enhancements */
  .card {
    border-radius: 12px !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08) !important;
    margin-bottom: 20px !important;
  }

  .card-body {
    padding: 20px !important;
  }

  /* Mobile Modal Improvements */
  /* .modal-dialog {
    margin: 20px !important;
    max-width: calc(100% - 40px) !important;
  } */

  /* .modal-content {
    border-radius: 16px !important;
    border: none !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2) !important;
  } */

  .modal-header {
    padding: 20px 24px !important;
    border-bottom: 1px solid #f0f0f0 !important;
  }

  .modal-body {
    padding: 24px !important;
  }

  .modal-footer {
    padding: 20px 24px !important;
    border-top: 1px solid #f0f0f0 !important;
  }

  /* Enhanced Table Responsiveness */
    .table-responsive {
        border-radius: 5px !important;
        /* box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08) !important; */
        margin-bottom: 20px !important;
        border: 1px solid #ccc;
        /* border-top: 0; */
    }

  /* .table-responsive::after {
    content: "→ Scroll to see more";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: #666;
    pointer-events: none;
    opacity: 0.8;
    background: linear-gradient(90deg, transparent, white 20%);
    padding-left: 20px;
  } */

  /* Mobile Form Spacing */
  .form-group,
  .mb-3,
  .my-3 {
    margin-bottom: 24px !important;
  }

  /* Enhanced Link Touch Targets */
  /* a:not(.btn):not(.nav-link) {
    padding: 8px 4px !important;
    margin: -8px -4px !important;
    min-height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
  } */
}

/* Tablet-Specific Optimizations */
@media screen and (min-width: 769px) and (max-width: 1024px) {
  /* .container {
    padding-left: 24px !important;
    padding-right: 24px !important;
  } */

  /* Tablet touch targets */
  /* button,
  .btn {
    min-height: 40px !important;
    padding: 10px 20px !important;
  } */

}

/* High DPI Display Enhancements */
@media screen and (-webkit-min-device-pixel-ratio: 2), 
       screen and (min-resolution: 192dpi) {
  .border,
  .card,
  .btn,
  .form-control {
    border-width: 0.5px !important;
  }
}


