
/* Search Input */
.cs-input-search {
    flex: 1;    
    border-radius: 8px;
    background: #fff;
    transition: 0.2s ease;
    border: 2px solid #101828;
    font-family: 'Plus Jakarta Sans';
    font-weight: 400;
    font-size: 20px;
}
.tool-guide-filter {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}
.cs-input-search{padding: 20px 24px;width: 100%;}
.cs-input-search:focus {
    border-color: #4a6cf7;
    box-shadow: 0 0 0 3px rgba(74, 108, 247, 0.15);
}
button.cs-btn-outline, .cs-input-search{border: 2px solid #101828; background: #fff;border-radius: 10px;}
.cs-btn-outline {
    font-weight: 600;
    font-size: 20px;
    font-family: 'Plus Jakarta Sans';
    padding: 14px 35px;
    color: #0D41E1;
    background: #fff;
    display: flex;
    border: 2px solid #101828;
    border-radius: 10px;
    align-items: center;
    justify-content: center;
}
.cs-filter-bottom {
    display: flex;
    gap: 20px;
     /*display: none;*/
}
.cs-filter-wrapper {
    position: relative; 
}
.cs-filter-top {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}
.view-all-btn .cs-btn {
    height: 100%;
}


/* Loader overlay */
.cs-loader {
    position: absolute;
    inset: 0;
    display: none; /* hidden by default */
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.7);
    z-index: 20;
}
.cs-loader.is-active {
    display: flex;
}

/* Spinner */
.cs-loader-spinner {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 3px solid #ddd;
    border-top-color: #000; /* or your brand color */
    animation: cs-spin 0.6s linear infinite;
}
@keyframes cs-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Optional: loading state on Load More button */
#cs-load-more.is-loading {
    opacity: 0.6;
    pointer-events: none;
}





/*drop down css*/
.dropdown.cs-custom-dropdown {
    position: relative;
    flex: 1;
}

.cs-custom-dropdown {
  position: relative;
  width: 230px;
  max-width: 100%;
  font-family: inherit;
}

/* Button */
.dropdown .dropdown-btn {
    width: 100%;
    padding: 15px 20px;
    background: #ffffff;
    border-radius: 10px;
    cursor: pointer;
    text-align: left;
    font-size: 20px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    color: #808080;
    border: 2px solid #101828;
    height: 100%;
}

/* Arrow */
.dropdown-btn .arrow img {
    transition: transform 0.3s ease;
    display: block;
}
.dropdown-btn.active .arrow img{
  transform: rotate(180deg);
}

/* =========================
   Dropdown Panel
========================= */

.dropdown-menu {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  width: 100%;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
  z-index: 999;
  overflow: hidden;
}

/* Visible State */
.dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Items */
.dropdown-menu a {
    display: block;
    padding: 12px 22px;
    font-size: 16px;
    color: #475467;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
    font-weight: 500;
    line-height: 1.3;
    text-transform: capitalize;
}

.dropdown-menu > a:hover {
    background: #f15fad;
    color: #fff;
}
.dropdown-menu .reset-row a:hover {
    color: #F15FAD;
}

/* =========================
   Reset Row
========================= */

.reset-row {
    border-top: 1px solid #E6E6E6;
}

.reset-row .reset {
    color: #0D41E1;
    font-weight: 500;
    text-align: right;
}

/* =========================
   Mobile Safety
========================= */


.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}




@media (max-width: 1200px) {
.cs-input-search { padding: 15px 24px; font-size: 18px;}
.dropdown .dropdown-btn, .cs-btn-outline{font-size: 18px;}


}

@media (max-width: 960px) {
.dropdown-menu a{font-size: 14px;}
.dropdown .dropdown-btn, .cs-btn-outline {font-size: 16px; }
.dropdown-menu { top: calc(100% + 2px); right: 0; left: auto;min-width: 160px;}
.tools-image img { height: 140px;}

}

@media (max-width: 767px) {
.cs-input-search { padding: 10px 15px; font-size: 14px; }
.dropdown .dropdown-btn {padding: 10px 10px; font-size: 14px; gap: 5px; }
.dropdown-menu a {display: block; padding: 10px 18px; font-size: 14px;}
span.dropdown-label {overflow: hidden; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; }
.dropdown.cs-custom-dropdown { width: 120px;}

.view-all-btn { display: none;}
.tool-guide-filter { gap: 10px;}

}