/****
 *
 * Change Theme Color(Black to Green)
 * To change (Black to Green),
 * Removed "dark-mode" from the body tag,
 * and add below Css
 * 
 * */
/**************Change Theme Color(Black to Green)**********Start******/
.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
  background: repeating-linear-gradient(181deg, #d3ef27, #173d52 100px);
  border-radius: 5px;
  color: #173d52 !important;
}

.themer_btn {
  background: repeating-linear-gradient(181deg, #d3ef27, #173d52 100px);
  border-radius: 5px;   
  padding: 5px;
  color: #173d52 !important;
}

.card-primary.card-outline {
  border-top: 3px solid #7dce3e !important;
}
.theme_accor_btn {
  background: repeating-linear-gradient(181deg, #173d52, transparent 100px);
  padding: 2px 25px;
  border-radius: 5px;
  color: #d3ef27;
}
.navbar-dark {
  background-color: #173d52;
  border-color: #ced;
}
[class*="sidebar-dark-"] {
  background-color: #173d52;
}
[class*="sidebar-dark"] .user-panel {
  border-bottom: 1px solid #ced;
}
[class*="sidebar-dark-"] .sidebar a {
  color: #fff;
}
.sidebar-dark-primary .nav-sidebar > .nav-item > .nav-link.active,
.sidebar-light-primary .nav-sidebar > .nav-item > .nav-link.active {
  background: #d2ef20;
  color: #173d52;
}

.main-sidebar {
  height: 100%;
}

.card-body .table {
  width: 100% !important;
}

/**************Change Theme Color(Black to Green)***********End*****/

.adminlogin_form .form-valid-error {
  color: red;
  width: 100%;
}

/***********Profile image Section*****************/
.avatar-upload {
  position: relative;
  max-width: 205px;
  margin: 20px auto;
}
.admin_edit_profile_image .avatar-edit {
  position: absolute;
  right: 20px;
  z-index: 1;
  top: 10px;
}
.admin_edit_profile_image input {
  display: none;
}
.admin_edit_profile_image label {
  display: inline-block;
  width: 34px;
  height: 34px;
  margin-bottom: 0;
  border-radius: 100%;
  background: #ffffff;
  border: 1px solid transparent;
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  font-weight: normal;
  transition: all 0.2s ease-in-out;
}
.admin_edit_profile_image label:hover {
  background: #f1f1f1;
  border-color: #d6d6d6;
}

.admin_edit_profile_image label:after {
  content: "\f040";
  font-family: "FontAwesome";
  color: #757575;
  position: absolute;
  top: 5px;
  left: 0;
  right: 0;
  text-align: center;
  margin: auto;
}
.admin_edit_profile_image .avatar-preview {
  width: 192px;
  height: 192px;
  position: relative;
  border-radius: 100%;
  border: 6px solid #f8f8f8;
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.1);
}
.admin_edit_profile_image .avatar-preview > div {
  width: 100%;
  height: 100%;
  border-radius: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
/***********Profile image Section*****************/

/*****************Category Image upload****************Start**************/
.containers {
  height: 190px;
  position: relative;
  max-width: 320px;
  margin: auto;
}

.containers .imageWrapper {
  border: 3px solid #888;
  width: 50%;
  padding-bottom: 50%;
  border-radius: 50%;
  overflow: hidden;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.containers .imageWrapper img {
  height: 105%;
  width: initial;
  max-height: 100%;
  max-width: initial;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.file-upload {
  position: relative;
  overflow: hidden;
  margin: 10px;
}

.file-upload {
  position: relative;
  overflow: hidden;
  margin: 10px;
  width: 100%;
  max-width: 130px;
  text-align: center;
  color: #fff;
  font-size: 16px;
  background: transparent;
  border: 2px solid #888;
  padding: 8px 8px;
  display: inline;
  -ms-transition: all 0.2s ease;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
  /* &:hover{
      background:#999;
      -webkit-box-shadow: 0px 0px 10px 0px rgba(255,255,255,0.75);
      -moz-box-shadow: 0px 0px 10px 0px rgba(255,255,255,0.75);
      box-shadow: 0px 0px 10px 0px rgba(255,255,255,0.75);
    } */
}

.file-upload input.cat-file-input {
  position: absolute;
  top: 0;
  right: 0;
  margin: 0;
  padding: 0;
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  filter: alpha(opacity=0);
  height: 100%;
}
.upload_caticon_outer {
  text-align: center;
}

/*****************Category Image upload*****************End*************/

#add_new_blog_form .form-group.blog_img,
#blog_editform .form-group.blog_img {
  text-align: center;
}
span#content-summernote-error {
  width: 100%;
  margin-top: 0.25rem;
  font-size: 80%;
  color: #dc3545;
}
#add_new_blog_form .note-editor.note-frame.card {
  margin-bottom: auto;
}

.main-sidebar.sidebar-dark-primary .sidebar {
  margin-top: 0 !important;
}

.animation__wobble {
  -webkit-animation: inherit;
}

#add_new_advertiser_form .iti__country-container,
#add_new_consumer_form .iti__country-container {
  height: 38px;
}

.iti{
  display: block !important;
}

.setcard {
  width: 100%;
  padding: 10px 30px;
}
/* .business_detail .detail_product {height: 280px;} */

.business_detail .detail_product img {
  object-fit: cover;
  border-radius: 10px;
  object-position: top;
}
.business_detail .single_list_one,
.business_detail .single_list_two {
  background: #e8ebec;
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 15px;
}
.business_detail .frame_outer {
  margin-top: 30px;
}
.business_detail .social_icons .icon_box {
  background: #fff;
  width: 30px;
  height: 30px;
  margin-right: 6px;
  color: #000;
}
.business_detail .title_head {
  font-weight: 600;
  font-size: 24px;
}
.business_detail .single_list_two h6 {
  color: #173d52;
  font-weight: 500;
}
.business_detail .modal-dialog {
  max-width: 650px;
  min-width: unset !important;
}
.business_detail.show {
  padding-right: 0 !important;
}
.modal_box {
  margin-left: -90px;
  min-width: 650px;
  min-height: 650px;
}
.cr-boundary {
  max-width: 615px !important;
  width: 100% !important;
  min-height: 500px;
  /* margin-right: -9px !important; */
}
table tr th {
  white-space: nowrap;
}
/*media query start*/

.selectAccordion.accordion,            
.selectAccordion .accordion-item:first-of-type .accordion-button,
.selectAccordion .accordion-item:last-of-type .accordion-button,
.selectAccordion .accordion-item:last-of-type,
.selectAccordion .accordion-item:first-of-type,
.selectAccordion .accordion-item {
  border-radius: 0px;
  border: 0;
}
.selectAccordion .accordion-button {
  font-size: 14px;
  font-weight: 500;
  color: #9ba3a9;
  box-shadow: none;
  border-radius: 6px !important;
  padding: 8px 14px;
  border: 1px solid #ced4da !important;
}
.selectAccordion .accordion-button:not(.collapsed) {
  background-color: transparent;
}
.selectAccordion .accordion-body {
  padding: 0;
  margin-top: 10px;
  border-radius: 10px;
  display: flex;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}
.selectAccordion .accordion-body .left {
  padding: 20px;
  border-right: 1px solid #e4e4e4;
}
.selectAccordion .accordion-body .right {
  padding: 20px 20px 20px 40px;
}
.selectAccordion .card,
.selectAccordion .card-header {
  border: none;
  box-shadow: none;
}
.selectAccordion .card-header .accordion-button {
  text-align: start;
  position: relative;
  padding: 10px 14px;
}

.selectAccordion .card-header .accordion-button::after {
  content: "";
  background-image: none;
  width: 10px;
  height: 10px;
  border-right: 2px solid #333;
  border-bottom: 2px solid #333;
  transform: rotate(45deg);
  position: absolute;
  right: 1.25rem;
  top: 50%;
  margin-top: -6px;
  transition: transform 0.3s ease;
}
.selectAccordion .card-header .accordion-button:not(.collapsed)::after {
  transform: rotate(-135deg);
  top: 60%;
}

.scroll_div {
  max-height: 500px;
  overflow: hidden;
  overflow-y: auto;
}
.scroll_div::-webkit-scrollbar {
  width: 7px;
}
.scroll_div::-webkit-scrollbar-track {
  background: #eaeaea;
  border-radius: 10px;
}
.scroll_div::-webkit-scrollbar-thumb {
  background: #173d52;
  border-radius: 10px;
}
.selectAccordion .form-check {
  margin-bottom: 6px;
}
.selectAccordion .form-check-input {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  border-color: #313131;
  box-shadow: none;
}
.selectAccordion .form-check-input:checked {
  border-color: #d2ef20;
  background-color: #d2ef20;
}
.selectAccordion .form-check-input:checked[type="checkbox"] {
  background-size: auto;
  background-image: url("/front-assets/images/checkIcon.svg");
}
.selectAccordion .form-check-label {
  font-size: 16px;
  color: #313131;
  padding-left: 6px;
}
.selectAccordion .nav-tabs {
  border: none;
  flex-direction: column;
  gap: 4px;
}
.selectAccordion .nav-tabs .nav-link {
  font-size: 16px;
  color: #000;
  border-radius: 6px;
  border: none;
  margin: 0;
  white-space: nowrap;
  background-color: transparent;
  font-weight: 500;
  padding: 4px 12px;
}

.selectAccordion .nav-tabs .nav-link.active {
  background-color: #d2ef20;
}


.agencyImg {
width: 100% !important;      
  max-width: 230px !important;   
  max-height: 230px !important;           
  aspect-ratio: 1 / 1 !important;
  margin: 0 auto !important;
  border-radius: 6px;
  border: 2px dashed #ced4da;
  background-color: #fbfbfb;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}


.agencyImg label {
  cursor: pointer;
  margin-bottom: 0px !important;
  width: 100%;
  height: 100%;
  position: relative;
  display: block;
}

/* UPLOAD UI BEHIND IMAGE */
.agencyImg label::after {
  content: "Upload brand image";
  position: absolute;
  inset: 0;
  background:
    url('/front-assets/images/image-upload.svg') center 40% no-repeat,
    #fbfbfb;
  background-size: 44px;
  display: flex;
  align-items: center;
  padding-top: 40px;
  justify-content: center;
  padding-bottom: 12px;
  font-size: 14px;
  font-weight: 500;
  color: #173d52;
  pointer-events: none;
  transition: opacity .25s ease;
}

/* IMAGE LAYER */
.agencyImg img {    
  /* max-width: 230px !important;   
  max-height: 230px !important;            */
  aspect-ratio: 1 / 1 !important;
  margin: 0 auto !important;
  object-fit: cover;
  position: relative;
  z-index: 2;
  background: transparent;
}

/* .agencyImg p {
  font-size: 14px;
  font-weight: 500;
  color: #173d52;
} */

.agencyImg input {
  display: none;
}
/* .selectAccordion .nav-tabs .nav-item:not(:last-child) {
    margin-bottom: 4px;
} */

.croppie-container .cr-viewport{
    width: 90% !important;
  height: 90% !important;
}

.cr-resizer{
  width: 90% !important;
  height: 90% !important;
}

#cropImagePs .modal-body {
  width: 100%;
  height: 60vh;
  overflow: hidden;
  overflow-y: auto;
}

/* Main Header Button - "What does your business have to offer?" */
.custom-cat-main-btn {
    width: 100%;
    text-align: left;
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 500;
    color: #9ba3a9;
    background-color: #ffffff;
    border: 1px solid #ced4da !important;
    border-radius: 6px !important;
    box-shadow: none;
    transition: all 0.3s ease;
}

.custom-cat-main-btn:hover {
    background-color: #f8f9fa;
    color: #6c757d;
    border-color: #adb5bd;
}

.custom-cat-main-btn:not(.collapsed) {
    color: #495057;
    font-weight: 600;
}

/* Group Buttons - Category headers (Popular, Personal, Essentials, etc.) */
.custom-cat-group-btn {
    width: 100%;
    text-align: left;
    padding: 1.1rem 1.5rem;
    font-size: 1.05rem;
    font-weight: 500;
    background-color: #ffffff !important;
    color: #212529 !important;
    border: none;
    border-bottom: 1px solid #e9ecef !important; /* Separation border */
    border-radius: 0;
    box-shadow: none !important;
    transition: all 0.3s ease;
}

/* Remove bottom border from the very last group */
.custom-cat-groups-accordion > .custom-cat-group-item:last-child .custom-cat-group-btn {
    border-bottom: none !important;
}

/* Active state: When group is OPEN (expanded) */
.custom-cat-group-btn:not(.collapsed) {
    color: #173d52 !important;
    background-color: #d2ef20 !important;
    font-weight: 600 !important;
    border-bottom-color: #c0d920 !important; /* Slightly darker border for contrast */
}

/* Hover for closed groups */
.custom-cat-group-btn.collapsed:hover {
    background-color: #f5f5f5 !important;
    color: #173d52 !important;
}

/* Checkbox label styling */
.custom-cat-checkbox:checked + .custom-cat-label {
    color: #173d52;
    font-weight: 600;
}

.custom-cat-label {
    cursor: pointer;
    user-select: none;
    font-size: 0.95rem;
    color: #333;
    margin-left: 0.5rem;
}

/* Optional: Subtle bottom separator fallback (if needed) */
.custom-cat-group-item {
    border-bottom: 1px solid #e9ecef;
}

.custom-cat-group-item:last-child {
    border-bottom: none;
}


@media only screen and (min-width: 768px) and (max-width: 1024px) {
  img.animation__wobble {
    width: 70px;
  }
  h1.page_titleHeads {
    font-size: 30px;
  }
}


@media only screen and (min-width: 768px) and (max-width: 991px) {

  .right{
    margin-top: 30px;
  }

    .selectAccordion .nav-tabs {
        flex-direction: row;
        width: 100%;
        flex-wrap: nowrap;
        overflow: hidden;
        overflow-x: auto;
    }
}

@media only screen and (min-width: 320px) and (max-width: 767px) {

      #cropImagePs .modal-body {
        height: 50vh; }

        .cr-boundary{
width: 350px !important;
height: 350px !important;
min-height: inherit !important;
        }
  
  .Adminpage_spacing {
    padding: 0 12px !important;
    margin-left: 0;
    margin-right: 0;
  }
  img.animation__wobble {
    width: 60px;
  }
  h1.page_titleHeads {
    font-size: 28px;
  }
  .setcard {
    padding: 10px 0;
  }
  .subtitle_adminPage {
    font-size: 18px !important;
  }
  .modal_box {
    margin-left: 0px;
    min-width: 360px;
  }

}

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

          .cr-boundary{
width: 250px !important;
height: 250px !important;
min-height: inherit !important;
        }

              #cropImagePs .modal-body {
        height: 40vh; }
  
}
