.category-btn {
    border: 1px solid #dee2e6;
    background: white;
    padding: 7px 16px;
    border-radius: 8px;
    text-align: left;
    transition: all 0.2s;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    margin-bottom: 8px;
    border-radius: 9px;
    border: 1px solid #DFEAF2;
    background: #FAFAFA;
    color: #343C6A;
    font-size: 15px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.category-btn:hover {
    background-color: #f8f9fa;
    border-color: #005382;
}

.category-btn.selected {
    border-color: #005382 !important;
    border: 1px solid !important;
}

.save-cat-btn-disabled {
    border-radius: 9px;
    background:  #D3D3D3 !important;
    border-color: #D3D3D3 !important;
    cursor: not-allowed !important;
}

.category-icon {
    font-size: 18px;
    width: 20px;
    text-align: center;
}

.modal-content {
    border-radius: 12px;
}

.modal-header {
    border-bottom: 1px solid #dee2e6;
    padding: 10px 15px!important;
}

.modal-body {
    padding: 24px;
}

.modal-footer {
    border-top: none;
    padding: 0 24px 24px;
    justify-content: space-between;
}

.btn-close {
    font-size: 12px;
}

.icon-electricity {
    color: #ff9800;
}

.icon-mobile {
    color: #9c27b0;
}

.icon-tv {
    color: #4caf50;
}

.icon-internet {
    color: #4caf50;
}

.icon-security {
    color: #f44336;
}

.icon-gas {
    color: #2196f3;
}

.icon-sewer {
    color: #ff9800;
}

.icon-heating {
    color: #f44336;
}

.icon-water {
    color: #2196f3;
}

.icon-phone {
    color: #9c27b0;
}

.icon-recycling {
    color: #4caf50;
}

.icon-hvac {
    color: #2196f3;
}

.icon-yard {
    color: #4caf50;
}

.icon-smart {
    color: #ff9800;
}

.icon-insurance {
    color: #2196f3;
}

.icon-cleaning {
    color: #f44336;
}

.icon-pool {
    color: #2196f3;
}

.icon-pet {
    color: #9c27b0;
}

.icon-pest {
    color: #9c27b0;
}

.icon-maintenance {
    color: #f44336;
}

.icon-remodeling {
    color: #4caf50;
}

.icon-solar {
    color: #ff9800;
}

.icon-subscriptions {
    color: #4caf50;
}

.icon-other {
    color: #6c757d;
}


#categoryModal .modal-title {
    color: #343C6A;
    font-size: 22px;
    font-style: normal;
    line-height: normal;
}

.provider-flow-form-sec {
    border-radius: 16px;
    border: 1px solid #DEDEDE;
    background: #FFF;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.15);
}

.provider-flow-form-sec .onboard-addHomeServieForm {
    box-shadow: none;
    border: none;
}

.custom-btn-save {
    border-radius: 9px !important;
    background: #00395A;
    color: #FFF;
    text-align: center;
    font-size: 16px !important;
    font-weight: 500;
}

.text-eye-ele {
    color: #005382;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    text-decoration: underline;
}

.star-mark-label {
    color: #DE0004;
}

/* skeleton loader add service */

@keyframes shimmerEffect {
    0% {
        background-position: -1000px 0;
    }

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

.service-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 1000px 100%;
    animation: shimmerEffect 2s infinite;
    border-radius: 4px;
}

.service-skeleton-text {
    height: 16px;
    margin-bottom: 8px;
}

.service-skeleton-input {
    height: 38px;
    width: 100%;
}

.service-skeleton-select {
    height: 38px;
    width: 100%;
}

.service-skeleton-button {
    height: 38px;
    width: 120px;
}

.service-skeleton-infobox {
    height: 60px;
    width: 100%;
}

.service-form-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.service-header-section {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.service-skeleton-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.service-skeleton-header-text {
    flex: 1;
    height: 20px;
}

.service-skeleton-link {
    width: 150px;
    height: 20px;
}

.service-loader-container {
    display: none;
}

.service-loader-container.show-loader {
    display: block;
}

.input-error {
    border: 1.5px solid #dc3545 !important;
    border-radius: 4px;
}

.multi-select-box-sec.input-error {
    border: 1.5px solid #dc3545 !important;
    border-radius: 4px;
}

#filePreviewContainer {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.file-preview-item {
    position: relative;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 5px 30px 5px 10px;
    display: inline-flex;
    align-items: center;
    background-color: #f9f9f9;
    font-size: 14px;
    max-width: 200px;
    word-break: break-all;
}

.file-preview-item span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.file-preview-item button {
    position: absolute;
    top: 50%;
    right: 5px;
    transform: translateY(-50%);
    background: red;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    cursor: pointer;
    font-weight: bold;
    line-height: 18px;
}

.file-preview-item button:hover {
    background: darkred;
}

.m-title{
    color:  #343C6A;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
 }

.m-title{
    color:  #343C6A;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
 }

.upload-area {
    border: 1px solid #cbd5e0;
    border-radius: 8px;
    padding: 60px 20px;
    text-align: center;
    background-color: #F5FBFE;
    cursor: pointer;
    transition: all 0.3s ease;
}

.upload-area:hover {
    border-color: #0d6efd;
    background-color: #e7f1ff;
}

.upload-area.dragover {
    border-color: #0d6efd;
    background-color: #e7f1ff;
}

.upload-area.hidden {
    display: none;
}

.upload-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    opacity: 0.5;
}

.upload-icon svg {
    width: 100%;
    height: 100%;
    fill: #94a3b8;
}

.upload-text {
    color: #64748b;
    font-size: 14px;
}

.browse-link {
    color: #0d6efd;
    cursor: pointer;
    text-decoration: underline;
}

.browse-link:hover {
    color: #0a58ca;
}

#fileInput {
    display: none;
}

.file-display {
    display: none;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    margin-top: 20px;
}

.file-display.show {
    display: block;
}

/* .progress-bar-container {
    width: 100%;
    height: 8px;
    background-color: #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
} */

/* .progress-bar-fill {
    height: 100%;
    background-color: #cbd5e0;
    width: 0%;
    transition: width 0.3s ease;
    border-radius: 10px;
} */

.file-info {
    display: flex;
    align-items: center;
    padding: 15px;
    background-color: white;
    /* border: 1px solid #e2e8f0; */
    /* border-radius: 6px; */
    margin-bottom: 15px;
}

.file-icon {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    flex-shrink: 0;
}

.file-name {
    flex-grow: 1;
    font-size: 14px;
    color: #1e293b;
    word-break: break-all;
}

.delete-btn-oth {
    color: white;
    border: none;
    padding: 2px 20px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    border-radius: 4px;
    background: #78A22D;
}

.delete-btn-oth:hover {
    background-color: #59860A;
}

.delete-btn-oth:focus{
    background-color: #497200;
}

.modal-description {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 20px;
}

.btn-save-continue {
    background-color: #d1d5db;
    color: #9ca3af;
    border: none;
    padding: 10px 24px;
    border-radius: 9px;
    font-size: 14px;
    cursor: not-allowed;
}

.btn-save-continue.enabled {
    background-color: #00395A;
    color: white;
    cursor: pointer;
}

.btn-save-continue.enabled:hover {
    color: #fff !important;
    background-color: #005382 !important;
    border-color: #005382 !important;
}

.btn-save-continue.enabled:focus {
    color: #fff !important;
    background-color: #002438 !important;
    border-color: #002438 !important;
}


.custom-btn {
    background-color: white;
    /* border: 1px solid #59719A; */
    color: #59719A;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.custom-btn:hover {
    background-color: #f8f9fa;
}

.btn-icon {
    width: 20px;
    height: 20px;
}

.btn-icon-vm {
    width: 12px;
    height: 12px;
}
.btn-icon-f {
    width: 18px;
    height: 18px;
}


.add-p{
    font-weight: 600;
    color:#232323;
    font-size:16px;
}

.upload-area {
    border:1px solid #CDCDCD;
    border-radius: 8px;
    padding: 60px 20px;
    text-align: center;
    background-color: #f8f9fa;
    cursor: pointer;
    transition: all 0.3s ease;
}

.upload-area:hover {
    border-color: #0d6efd;
    background-color: #e7f1ff;
}

.upload-area.dragover {
    border-color: #0d6efd;
    background-color: #e7f1ff;
}

.upload-area.hidden {
    display: none;
}

.upload-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    opacity: 0.5;
}

.upload-icon svg {
    width: 100%;
    height: 100%;
    fill: #94a3b8;
}

.upload-text {
    color: #64748b;
    font-size: 14px;
}

.browse-link {
    color: #0d6efd;
    cursor: pointer;
    text-decoration: underline;
}

.browse-link:hover {
    color: #0a58ca;
}

#fileInput {
    display: none;
}

.file-display {
    display: none;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    margin-top: 20px;
}

.file-display.show {
    display: block;
}

.progress-bar-container {
    border-radius:0px;
    height:22px;
    margin:2px 0px;
    background: var(--form-light-blue, #F5FBFE);
    border: 1px solid var(--UX-gray, #CDCDCD);
}

.progress-bar-fill {
    height: 82%;
    background-color: #cbd5e0;
    width: 0%;
    transition: width 0.3s ease;
    border-radius: 10px;
    border-top-left-radius:0px;
    border-bottom-left-radius:0px;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    margin:2px 0px;
}

/* .file-info {
    display: flex;
    align-items: center;
    padding: 15px;
    background-color: white;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    margin-bottom: 15px;
} */

.file-icon {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    flex-shrink: 0;
}

.file-name {
    flex-grow: 1;
    font-size: 14px;
    color: #1e293b;
    word-break: break-all;
}

.delete-btn-oth {
    background-color: #78A22D;
    color: white;
    border: none;
    padding: px 20px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

.delete-btn:hover {
    background-color: #59860A;
}

.delete-btn:focus {
    background-color: #497200;
}

.modal-description {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 20px;
}

.btn-save-continue {
    background-color: #d1d5db;
    color: #9ca3af;
    border: none;
    padding: 10px 24px;
    border-radius: 9px;
    font-size: 14px;
    cursor: not-allowed;
}

.btn-save-continue.enabled {
    background-color: #00395A;
    color: white;
    cursor: pointer;
}

.btn-save-continue.enabled:hover {
    color: #fff !important;
    background-color: #005382 !important;
    border-color: #005382 !important;
}

.btn-save-continue.enabled:focus {
    color: #fff !important;
    background-color: #002438 !important;
    border-color: #002438 !important;
}

/* My Documents Modal Styles */
.document-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    margin-bottom: 10px;
    background-color: white;
}

.document-item.selected {
    border-color: #00395A;
    background-color: #e7f1ff;
}

.doc-checkbox {
    width: 20px;
    height: 20px;
    margin-right: 15px;
    cursor: pointer;
}

.doc-icon {
    width: 24px;
    height: 24px;
    margin-right: 12px;
    fill: #59719A;
}

.doc-info {
    flex-grow: 1;
}

.doc-name {
    font-size: 14px;
    color: #1e293b;
    margin-bottom: 2px;
}

.doc-date {
    font-size: 12px;
    color: #64748b;
}

.doc-actions {
    display: flex;
    gap: 10px;
}

.doc-action-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.doc-action-btn svg {
    width: 20px;
    height: 20px;
}

.doc-action-btn.view svg {
    fill: #00395A;
}

.doc-action-btn.delete svg {
    fill: #dc3545;
}

.badge-count {
    background-color: #dc3545;
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
    margin-left: 5px;
}

.modal-header-custom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.documents-list-container {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Document Header */
.document-header {
    display: grid;
    grid-template-columns: 1fr 150px 80px 80px;
    gap: 16px;
    padding: 16px 24px;
    background-color: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
    font-weight: 500;
    color: #6b7280;
    font-size: 14px;
    align-items: center;
}

.doc-header-name {
    padding-left: 36px;
    /* Space for icon alignment */
}

.doc-header-date {
    text-align: left;
}

.doc-header-view {
    text-align: center;
}

.doc-header-delete {
    text-align: center;
}

/* Document Item */
.document-item {
    display: grid;
    grid-template-columns: 1fr 150px 80px 80px;
    gap: 16px;
    align-items: center;
    padding: 16px 24px;
    border-bottom: 1px solid #e5e7eb;
    transition: background-color 0.15s ease;
}

.document-item:hover {
    background-color: #f9fafb;
}

.document-item:last-child {
    border-bottom: none;
}

/* Document Icon + Name wrapper */
.doc-info-wrapper {
    display: flex;
    align-items: center;
    min-width: 0;
}

/* Document Icon */
.doc-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    fill: #9ca3af;
    margin-right: 12px;
}

/* Document Info */
.doc-info {
    flex-grow: 1;
    min-width: 0;
}

.doc-name {
    font-size: 14px;
    color: #374151;
    font-weight: 400;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.doc-date {
    font-size: 14px;
    color: #374151;
    font-weight: 400;
    grid-column: 2;
}

/* Document Actions */
.doc-actions {
    display: contents;
}

.doc-action-btn.view {
    grid-column: 3;
    justify-self: center;
}

.doc-action-btn.delete {
    grid-column: 4;
    justify-self: center;
}

.doc-action-btn {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background-color 0.15s ease;
    width: 36px;
    height: 36px;
}

.doc-action-btn:hover {
    background-color: #f3f4f6;
}

.doc-action-btn img {
    width: 20px;
    height: 20px;
    opacity: 0.7;
}

.doc-action-btn:hover img {
    opacity: 1;
}

#saveBtn .spinner-border {
    width: 1rem;
    height: 1rem;
}

#companyDataSection {
    display: none;
    position: relative;
}

.company-dropdown-panel {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    max-height: 400px;
    display: flex;
    flex-direction: column;
    margin-top: 5px;
}

.company-dropdown-header {
    padding: 12px 15px;
    border-bottom: 1px solid #e0e0e0;
    background: #f8f9fa;
    font-weight: 600;
    border-radius: 4px 4px 0 0;
}

.company-dropdown-body {
    overflow-y: auto;
    max-height: 300px;
    flex: 1;
}

.company-dropdown-footer {
    padding: 10px 15px;
    border-top: 1px solid #e0e0e0;
    background: #f8f9fa;
    text-align: right;
    border-radius: 0 0 4px 4px;
}

.company-item {
    padding: 12px 15px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
}

.company-item:last-child {
    border-bottom: none;
}
.btn-vm{
    border-radius: 9px;
    background:#78A22D;
    box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05);
    display: flex;
    /* width: 210px;
    height: 44px; */
    padding: 8px 14px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    color: #FFF;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    border:none;
    text-decoration: none;
    width:200px;
}
.btn-vm:hover{
    color: #FFF;
    background-color: #59860A !important;
    border: #59860A !important;

}

.btn-vm:focus{
    color: #FFF;
    background-color: #497200 !important;
    border: #497200 !important;

}
.btn-vm.disabled, .btn-vm:disabled {
    pointer-events: none;
    opacity: .65;
    border-radius: 9px;
    background:  #D3D3D3 !important;
}
#vmMainSec {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1111;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent backdrop */
    justify-content: center;
    align-items: center;
}

#vmMainSec.active {
    display: flex;
}

.vm-modal-content {
    position: relative;
    background: #fff;
    width: 80%;
    max-width: 1200px;
    height: 80%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    /* overflow: hidden; */
    overflow: auto;
}

#vmSec {
    height: 100%;
    width: 100%;
    border: none;
    /* flex:1; */
}

.close-btn-vm {
    position: absolute;
    right: 40px;
    top: 30px;
    background: #f8f6f6;
    padding: 4px 10px;
    border-radius: 5px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: background 0.3s;
}

.close-btn-vm:hover {
    background: #e0e0e0;
    color: #000;
}
 .vm-alert-manual{
        width:50%;
}
.vm-alert{
    font-size:16px;
    text-align: center;
}
.info-icon{
    height:20px;
    width:20px;
}



/* Responsive adjustments */
@media (max-width: 768px) {
    .vm-modal-content {
        width: 95%;
        height: 90%;
    }
    
    .close-btn-vm {
        right: 10px;
        top: 10px;
        padding: 6px 12px;
        font-size: 14px;
    }
     .vm-alert-manual{
        width:100%;
    }
    .vm-alert{
    font-size:11px;
    
   }
    .info-icon{
        height:11px;
        width:11px;
    }
}
.company-item:hover {
    background-color: #f8f9fa;
}

.company-item.selected {
    background-color: #e3f2fd;
}

.company-item input[type="radio"] {
    margin-right: 12px;
    margin-top: 1px;
    flex-shrink: 0;
}

.company-details {
    flex: 1;
}

.company-name {
    font-weight: 600;
    color: #333;
}

.company-info {
    font-size: 13px;
    color: #666;
    margin-bottom: 2px;
}

.company-info a {
    color: #007bff;
    text-decoration: none;
}

.company-info a:hover {
    text-decoration: underline;
}

.input-field-ac {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.categ-inp{
    border-radius:9px;
}

.error-text {
    font-size: 12px;
    display: block;
    margin-top: 4px;
}

.btn-apply {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 6px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.btn-apply:hover {
    background-color: #0056b3;
}
.border-radius-12{
    border-radius: 12px;
}
.btn-cancel {
    background-color: #6c757d;
    color: white;
    border: none;
    padding: 6px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    margin-right: 8px;
}

.btn-cancel:hover {
    color:#005382 !important;
}

.custom-modal-ss-sec {
    position: absolute;
    left: 0;
    top: 0;
    background: #02020236;
    width: 100%;
    height: 100%;
    display: none;
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.3s ease;
    z-index: 11;
}

.custom-modal-ss-sec.show {
    display: flex;
    opacity: 1;
    transform: scale(1);
}

.dropdown-loader {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.dropdown-loader::after {
    content: "";
    width: 18px;
    height: 18px;
    border: 2px solid #ccc;
    border-top-color: #007bff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

#dataLoaderPp {
    display: none;
}

.dashboard-main {
    position: relative;
}

.cmss-inner-box {
    background-color: #fff;
    width: 96%;
    height: auto;
    max-height: 85%;
    overflow-y: auto;
    border-radius: 15px;
    display: flex;
    margin: 20px 20px;
}
.cmss-body-sec{
    padding-bottom: 0px!important;
}
.more-info{
    color: #343C6A;
    font-size: 15px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;    
}
/* @media (max-width: 1400px) {
    .cmss-inner-box {
        padding-bottom: 250px;
    }
} */
/* Responsive adjustments */
@media (max-width: 768px) {

    .document-header,
    .document-item {
        padding: 12px 16px;
    }

    .doc-header-actions {
        gap: 40px;
    }

    .doc-actions {
        gap: 32px;
    }

    .doc-name,
    .doc-date {
        font-size: 13px;
    }
    /* Custom scrollbar wrapper — shown only on mobile */
    .cmss-scroll-wrapper {
        position: relative;
        max-height: calc(100vh - 290px);
        overflow-x: clip;
    }
    /* Scrollable content — push native scrollbar outside wrapper clip area */
    .cmss-scroll-wrapper .cmss-body-sec {
        max-height: calc(100vh - 290px);
        overflow-y: scroll;
        box-shadow: none;
        width: calc(100% + 20px);
        padding-right: 28px !important;
    }
    /* Always-visible track strip */
    .cmss-custom-track {
        position: absolute;
        right: 0;
        top: 0;
        bottom: 0;
        width: 7px;
        background: #EFEFEF;
        border-radius: 7.5px;
    }
    /* Thumb — positioned by JS */
    .cmss-custom-thumb {
        position: absolute;
        width: 7px;
        /* height: 40px !important; */
        flex-shrink: 0;
        border-radius: 7.5px;
        background: #CDCDCD;
        top: 0;
        cursor: pointer;
    }
    #categoryPopupSec .cmss-scroll-wrapper .cmss-body-sec .col-md-4 {
        width: 100%;
    }

    /* Custom scrollbar for add-service table (#tble-addSvc) */
    .plaid-scroll-wrap {
        position: relative;
        overflow-x: clip;
    }
    .plaid-scroll-wrap #tble-addSvc {
        width: calc(100% + 20px);
        padding-right: 20px;
    }
    .plaid-scroll-track {
        position: absolute;
        right: 0;
        top: 0;
        bottom: 0;
        width: 7px;
        background: #EFEFEF;
        border-radius: 7.5px;
    }
    .plaid-scroll-thumb {
        position: absolute;
        width: 7px;
        height: 40px;
        flex-shrink: 0;
        border-radius: 7.5px;
        background: #CDCDCD;
        top: 0;
        cursor: pointer;
    }

    .add-p{
        font-size:11px;
        font-weight:700;
        margin-bottom:0px !important;
    }
    .add-p-2{
        font-size:14px;
    }
    .btn-icon-f {
        width: 17px !important;
        height: 17px !important;
    }
    .connect-pro{
        font-size:14px;
    }

    .custom-modal-ss-sec {
        position: fixed;
        top: 112px;
        /* dvh = dynamic viewport height: adjusts for iOS address bar show/hide */
        height: calc(100dvh - 112px);
        z-index: 1050;
        justify-content: center;
        align-items: flex-start;
        padding-top: 20px;
    }

    .custom-modal-ss-sec.show {
        display: flex;
    }

    .cmss-inner-box {
        width: 90% !important;
        height: auto !important;
        /* dvh fallback chain: vh for old iOS, dvh for iOS 15.4+ */
        max-height: calc(100vh - 175px) !important;
        max-height: calc(100dvh - 175px) !important;
        margin: 0 auto !important;
        padding-bottom: 15px !important;
        border-radius: 15px;
        overflow-y: hidden !important;
    }

    .cmss-scroll-wrapper {
        max-height: calc(100vh - 360px) !important;
        max-height: calc(100dvh - 360px) !important;
    }

    .cmss-scroll-wrapper .cmss-body-sec {
        max-height: calc(100vh - 360px) !important;
        max-height: calc(100dvh - 360px) !important;
    }

    /* Flatpickr popup calendar — constrain to viewport on mobile */
    .flatpickr-calendar:not(.inline) {
        max-width: calc(100vw - 32px) !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }
    .flatpickr-calendar:not(.inline) .flatpickr-rContainer,
    .flatpickr-calendar:not(.inline) .flatpickr-innerContainer,
    .flatpickr-calendar:not(.inline) .flatpickr-days,
    .flatpickr-calendar:not(.inline) .dayContainer {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .flatpickr-calendar:not(.inline) .flatpickr-day {
        max-width: calc(100% / 7) !important;
        flex-basis: calc(100% / 7) !important;
    }
}


.btn-provider-login {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;        /* space between icon and text */
    padding: 4px 14px;
    background: #78A22D; /* example */
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    width:200px;
}

.btn-provider-login img.btn-icon {
    width: 12px;
    height: 12px;
}

.btn-provider-login:hover{
    background-color: #59860A !important;
    border: #59860A !important;
}

.btn-provider-login:focus{
    background-color: #497200 !important;
    border: #497200 !important;
}
.disabled-btn-login {
    background: #c9c9c9 !important;
    color: #fff !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
}

.dash-succ-btn:hover{
 background-color: #80c735 !important;
 border: #80c735 !important;
}

.btn-link:hover{
 color:#005382 !important;
}

.btn-link:focus{
 color:#002438 !important;
 box-shadow: none !important;
}

.welcome-cancel-link:hover{
 color:#005382 !important;
}

.welcome-cancel-link:focus{
 color:#002438 !important;
}

/* ─── Custom Address Dropdown ─────────────────────────────────────────────── */
.addr-dd-container {
    position: relative;
}

.addr-dd-trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    font-size: 14px;
    color: #333;
}

.addr-dd-panel {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 9px;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    overflow: hidden;
}

.addr-dd-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    cursor: pointer;
    font-size: 14px;
    border-bottom: 1px solid #f0f0f0;
    /* color: #333; */
}

.addr-dd-item:last-child {
    border-bottom: none;
}

.addr-dd-item:hover {
    background: #f8f9fa;
}

.addr-dd-all-toggle span,
.addr-dd-add span {
    color: #59719A;
    font-size: 14px;
}

.addr-dd-icon {
    width: 18px;
    flex-shrink: 0;
}

.addr-dd-display {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.addr-dd-caret {
    width: 8.672px;
    height: 4.94px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.addr-dd-container.open .addr-dd-caret {
    transform: rotate(180deg);
}

/* .addr-dd-all-list .addr-dd-item {
    padding-left: 0px;
} */

.remaining-address{
    color:#59719A;
    font-size: 14px;
}
/* ─────────────────────────────────────────────────────────────────────────── */
