.open-btn {
    background: white;
    color: #252627;
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.open-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.custom-offcanvas {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50vh;
    background: white;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1050;
    border-radius: 30px 30px 0 0;
    box-shadow: 0 -10px 50px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    max-height: 90vh;
    min-height: 200px;
}

.custom-offcanvas.show {
    transform: translateY(0);
}

.offcanvas-handle {
    width: 100%;
    padding: 15px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: ns-resize;
    background: linear-gradient(180deg, #f8f9fa 0%, white 100%);
    border-radius: 30px 30px 0 0;
    flex-shrink: 0;
}

.offcanvas-handle::before {
    content: '';
    width: 50px;
    height: 5px;
    background: #dee2e6;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.offcanvas-handle:hover::before {
    background: #252627;
    width: 70px;
}

.offcanvas-header {
    padding: 20px 30px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.offcanvas-header h3 {
    margin: 0;
    color: #333;
    font-weight: 700;
}

.close-btn {
    background: #f8f9fa;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    float: right;
    position: absolute;
    top: 0;
    transition: all 0.3s ease;
    color: #666;
}

.close-btn:hover {
    background: #252627;
    color: white;
    transform: rotate(90deg);
}

.offcanvas-body {
    padding: 30px;
    overflow-y: auto;
    flex: 1;
}

.offcanvas-body::-webkit-scrollbar {
    width: 8px;
}

.offcanvas-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.offcanvas-body::-webkit-scrollbar-thumb {
    background: #252627;
    border-radius: 10px;
}

.offcanvas-body::-webkit-scrollbar-thumb:hover {
    background: #252627;
}

.content-card {
    background: linear-gradient(90deg, #252627, #3e3c3f);
    color: white;
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.3);
    transition: transform 0.3s ease;
}

.content-card:hover {
    transform: translateY(-5px);
}

.content-card h4 {
    margin-bottom: 15px;
    font-weight: 600;
}

.feature-item {
    background: white;
    color: #333;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(90deg, #252627, #3e3c3f);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1040;
}

.backdrop.show {
    opacity: 1;
    visibility: visible;
}

 .sp-offcanvas-wrapper {
     background: rgba(255, 255, 255, 0.95);
     backdrop-filter: blur(10px);
     border-radius: 24px;
     box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
     max-width: 500px;
     width: 100%;
     max-height: 85vh;
     display: flex;
     flex-direction: column;
     overflow: hidden;
     animation: sp-slide-in 0.4s ease-out;
 }

 @keyframes sp-slide-in {
     from {
         opacity: 0;
         transform: translateY(30px);
     }

     to {
         opacity: 1;
         transform: translateY(0);
     }
 }

 .sp-drag-handle {
     width: 40px;
     height: 4px;
     background: linear-gradient(90deg, #252627, #3e3c3f);
     border-radius: 2px;
     margin: 16px auto 0;
     opacity: 0.6;
 }

 .sp-header-section {
     padding: 12px 24px 16px;
     display: flex;
     justify-content: flex-end;
     border-bottom: 1px solid rgba(102, 126, 234, 0.1);
 }

 .sp-close-button {
     background: linear-gradient(135deg, #252627, #3e3c3f);
     border: none;
     width: 36px;
     height: 36px;
     border-radius: 50%;
     color: white;
     cursor: pointer;
     display: flex;
     align-items: center;
     justify-content: center;
     transition: all 0.3s ease;
     box-shadow: 0 4px 12px rgba(66, 67, 68, 0.3);
 }

 .sp-close-button:hover {
     transform: rotate(90deg) scale(1.1);
     box-shadow: 0 6px 16px rgba(43, 44, 44, 0.4);
 }

 .sp-content-area {
     padding: 24px;
     overflow-y: auto;
     flex: 1;
 }

 .sp-content-area::-webkit-scrollbar {
     width: 8px;
 }

 .sp-content-area::-webkit-scrollbar-track {
     background: rgba(102, 126, 234, 0.05);
     border-radius: 10px;
 }

 .sp-content-area::-webkit-scrollbar-thumb {
     background: linear-gradient(180deg, #252627, #3e3c3f);
     border-radius: 10px;
 }

 .sp-search-wrapper {
     margin-bottom: 24px;
     position: relative;
 }

 .sp-search-input {
     width: 100%;
     padding: 14px 20px 14px 46px;
     border: 2px solid rgba(39, 39, 41, 0.2);
     border-radius: 16px;
     font-size: 15px;
     transition: all 0.3s ease;
     background: white;
     color: #333;
 }

 .sp-search-input:focus {
     outline: none;
     border-color: #252627;
     box-shadow: 0 4px 16px rgba(53, 54, 54, 0.2);
 }

 .sp-search-input::placeholder {
     color: #999;
 }

 .sp-search-icon {
     position: absolute;
     left: 16px;
     top: 50%;
     transform: translateY(-50%);
     color: #252627;
     pointer-events: none;
 }

 .sp-main-title {
     font-size: 24px;
     font-weight: 700;
     background: linear-gradient(135deg, #252627, #3e3c3f);
     -webkit-background-clip: text;
     -webkit-text-fill-color: transparent;
     background-clip: text;
     margin-bottom: 20px;
 }

 .sp-provider-card {
     background: white;
     border-radius: 16px;
     padding: 20px;
     margin-bottom: 16px;
     box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
     transition: all 0.3s ease;
     border: 2px solid transparent;
     animation: sp-fade-in 0.4s ease-out;
     position: relative;
 }

 @keyframes sp-fade-in {
     from {
         opacity: 0;
         transform: translateY(10px);
     }

     to {
         opacity: 1;
         transform: translateY(0);
     }
 }

 .sp-provider-card:hover {
     transform: translateY(-4px);
     box-shadow: 0 8px 24px rgba(43, 43, 44, 0.2);
     border-color: rgba(42, 42, 44, 0.3);
 }

 .sp-provider-card.sp-collapsed .sp-services-container {
     max-height: 180px;
     overflow: hidden;
     position: relative;
 }

 .sp-provider-card.sp-collapsed .sp-services-container::after {
     content: '';
     position: absolute;
     bottom: 0;
     left: 0;
     right: 0;
     height: 60px;
     background: linear-gradient(to bottom, transparent, white);
     pointer-events: none;
 }

 .sp-provider-card.sp-expanded .sp-services-container {
     max-height: none;
 }

 .sp-provider-name {
     color: #252627;
     font-size: 18px;
     font-weight: 700;
     margin-bottom: 12px;
     display: flex;
     align-items: center;
     gap: 8px;
 }

 .sp-provider-name::before {
     font-size: 20px;
 }

 .sp-category-label {
     color: #555;
     font-size: 14px;
     font-weight: 600;
     margin-top: 12px;
     margin-bottom: 8px;
 }

 .sp-category-name {
     color: #022c5c;
     display: inline-flex;
     align-items: center;
     gap: 6px;
 }

 .sp-category-name::before {
     content: '';
     font-size: 14px;
 }

 .sp-subcategory-list {
     list-style: none;
     padding-left: 24px;
     margin: 0;
 }

 .sp-subcategory-item {
     color: #fcfcfc;
     background: linear-gradient(90deg, #022c5c, #044c83);
     font-size: 14px;
     padding: 6px 6px 6px 12px;
     border-radius: 12px;
     cursor: pointer;
     position: relative;
     transition: all 0.2s ease;
     margin-bottom: 5px;
 }

 .sp-subcategory-item::before {
     content: '•';
     color: #252627;
     font-weight: bold;
     position: absolute;
     left: -16px;
 }

 .sp-subcategory-item:hover {
     color: #252627;
     transform: translateX(4px);
 }

 .sp-toggle-btn {
     /* background: linear-gradient(135deg, #252627, #3e3c3f); */
     /* color: white; */
     border: none;
     padding: 8px 16px;
     border-radius: 20px;
     font-size: 13px;
     font-weight: 600;
     cursor: pointer;
     margin-top: 12px;
     transition: all 0.3s ease;
     display: inline-flex;
     align-items: center;
     gap: 6px;
     box-shadow: 0 2px 8px rgba(50, 50, 51, 0.3);
 }

 .sp-toggle-btn:hover {
     transform: translateY(-2px);
     box-shadow: 0 4px 12px rgba(35, 35, 36, 0.4);
 }

 .sp-toggle-btn i {
     transition: transform 0.3s ease;
 }

 .sp-provider-card.sp-expanded .sp-toggle-btn i {
     transform: rotate(180deg);
 }

 .sp-no-results {
     text-align: center;
     padding: 40px 20px;
     color: #999;
     font-size: 16px;
 }

 .sp-no-results i {
     font-size: 48px;
     margin-bottom: 16px;
     opacity: 0.5;
 }

 @media (max-width: 576px) {
     .sp-offcanvas-wrapper {
         max-height: 90vh;
         border-radius: 20px;
     }

     .sp-content-area {
         padding: 16px;
     }

     .sp-main-title {
         font-size: 20px;
     }

     .sp-provider-name {
         font-size: 16px;
     }
 }

 /* new input  */
 .elegant-search-wrapper {
     position: relative;
     margin-bottom: 1rem;
 }

 .elegant-search-input {
     width: 100%;
     padding: 16px 24px 16px 52px;
     border: 2px solid transparent;
     border-radius: 50px;
     background: linear-gradient(145deg, #b9bbbd, #cdd0d3);
     box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08),
         inset 0 1px 3px rgba(27, 27, 27, 0.8);
     font-size: 15px;
     color: #00050e;
     transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
     outline: none;
 }

 .elegant-search-input::placeholder {
     color: #2c2e30;
     font-weight: 400;
 }

 .elegant-search-input:focus {
     background: white;
     border-color: #022c5c;
     box-shadow: 0 8px 30px rgba(102, 126, 234, 0.15),
         0 0 0 4px rgba(102, 126, 234, 0.1),
         inset 0 1px 3px rgba(255, 255, 255, 0.8);
     transform: translateY(-2px);
 }

 .elegant-search-input:hover:not(:focus) {
     box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1),
         inset 0 1px 3px rgba(54, 54, 54, 0.8);
 }

 .elegant-search-icon {
     position: absolute;
     left: 20px;
     top: 50%;
     transform: translateY(-50%);
     width: 20px;
     height: 20px;
     pointer-events: none;
     transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
     z-index: 1;
 }

 .elegant-search-wrapper:focus-within .elegant-search-icon {
     transform: translateY(-50%) scale(1.1) rotate(90deg);
 }

 .elegant-search-icon svg {
     width: 100%;
     height: 100%;
     stroke: #a0aec0;
     fill: none;
     stroke-width: 2.5;
     stroke-linecap: round;
     stroke-linejoin: round;
     transition: stroke 0.4s ease;
 }

 .elegant-search-wrapper:focus-within .elegant-search-icon svg {
     stroke: #022c5c;
 }