 /* Container for each row */
.bsl-link-row {
    background: #fafafa;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px;
    margin-bottom: 15px;
    position: relative;
}


/* Drag handle */
.bsl-drag-handle {
    cursor: grab;
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 18px;
    color: #888;
}

/* Full-width dropdown & text field */
.bsl-field-fullwidth {
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 10px;
    padding: 8px 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Controls row (toggle + remove) */
.bsl-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Remove button */
.bsl-remove-row {
    background: none;
    border: none;
    color: #a00;
    cursor: pointer;
}
/*  */
/* 1) 4-column grid, no max-width */
/* 4-column grid, full width */
.bsl-social-cards {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* gap: 16px; */
  }
  
  /* Card container */
  .bsl-social-card {
/* background: rgba(255, 255, 255, 0.99); */
    /* border: 1px solid #ccc; */
    /* border-radius: 8px; */
    padding: 16px;
    text-align: center;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: center;
    width: 100%;

  }


  
 
  
    /* Social icon fills width with 16.725% padding */
  .bsl-social-card img.icon {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    max-width: 350px;
        padding: 16.725%;

  }
  /* Site name smaller */
  .bsl-social-card a.name {
    display: block;
    font-size: 14px;
    font-weight: bold;
    /* color: #0073aa; */
        color: var(--yzfy-scheme-color);

    text-decoration: none;
    margin: 8px 0;
  }
  
  /* QR icon placeholder */
  .bsl-social-card img.qr {
    width: 32px;
    height: 32px;
    margin: 8px 0;
    content: url('https://sosats-3rd.s3.us-east-2.amazonaws.com/icon-never-cache/scancode.svg');
  }
  
  /* URL link at bottom */
  .bsl-social-card .card-url {
    font-size: 0.75rem;
    word-break: break-all;
    color: #333;
    margin-top: auto;
    margin-bottom: 0;
  }

  ul.bsl-social-cards {
    margin-bottom: 50px;
}

  .bsl-thumb {
    max-width: 48px;
    max-height: 48px;
    margin-top: 8px;
    display: block;
  }
  .qr-wrapper {
    width: 45px;
    margin: auto;
}
a.qr-icon img{

    width: 25px;
    margin: auto;
}
.link-url {
    color: #9e9e9e;
    font-size: 12px;
    /* line-height: 15px; */
    /* margin-bottom: 7px; */
    flex: 1;
    display: flex
;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    word-break: break-word;
    hyphens: auto;
    line-height: 13px;
    /* text-transform: capitalize; */
    margin-bottom: 5px;
    margin-top: 0px;
    /* margin-left: 16.725%; */
    /* margin-right: 16.725%; */
    margin-left: 3px;
    margin-right: 3px;
    height: 45px;
    /* white-space: pre-wrap; */
    /* overflow: hidden; */
    overflow-x: hidden;
}

.link-name {
     color: #9e9e9e;
    font-size: 12px;
    /* line-height: 15px; */
    /* margin-bottom: 7px; */
    flex: 1;
    display: flex
;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    word-break: break-word;
    hyphens: auto;
    line-height: 13px;
    /* text-transform: capitalize; */
    margin-bottom: 5px;
    margin-top: 0px;
    /* margin-left: 16.725%; */
    /* margin-right: 16.725%; */
    margin-left: 3px;
    margin-right: 3px;
    height: 45px;
    /* white-space: pre-wrap; */
    /* overflow: hidden; */
    overflow-x: hidden;
}

.youzify 
.sortable-placeholder {
    height: 50px; /* Adjust to match the height of your list items */
    background: #f0f0f0;
    border: 2px dashed #ccc;
    margin: 5px 0;
    visibility: visible !important;
}
div#bsl-links-wrapper {
    max-width: 500px;
    margin: auto;
}

  /* Toggle Switch Container */
  .toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
    vertical-align: middle;
    margin-right: 8px;
}

/* Hide default HTML checkbox */
.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 34px;
}

/* Slider handle */
.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: #fff;
    transition: 0.4s;
    border-radius: 50%;
}

/* When checked, add blue background */
.toggle-switch input:checked + .slider {
    background-color: #2196F3;
}

/* Move the slider handle on checked */
.toggle-switch input:checked + .slider:before {
    transform: translateX(26px);
}

/* Toggle text styling */
.toggle-text {
    font-size: 14px;
    color: #333;
    vertical-align: middle;
    margin-left: 65px;
}

 
.bsl-link-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 5px;
    margin-bottom: 10px;
    align-items: center;
    position: relative;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fafafa;
}

.bsl-link-row .bsl-remove-row {
    position: absolute;
    top: 10px;
    right: 5px;
    background: none;
    border: 1px solid #d63638!important;
    color: #d63638!important;
    cursor: pointer;
    font-size: 14px;
    /* font-weight: bold; */
    /* padding: 0; */
    /* line-height: 1; */
    width: 50px;
}

.bsl-link-row .bsl-remove-row:hover {
    color: #fff!important;
        background:  #d63638!important;

}

.bsl-link-row .options {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.bsl-link-row select,
.bsl-link-row input[type="text"],
.bsl-link-row .upload-wrap input {
    width: 100%;
    padding: 5px;
    font-size: 14px;
}

.bsl-link-row .upload-wrap {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.bsl-link-row .bsl-thumb {
    width: 32px;
    height: 32px;
    object-fit: cover;
    margin-left: 5px;
}

.bsl-link-row .toggle-switch {
    display: flex;
    align-items: center;
    gap: 5px;
}

.bsl-link-row .toggle-switch .slider {
    width: 40px;
    height: 20px;
    background-color: #ccc;
    border-radius: 10px;
    position: relative;
    cursor: pointer;
    transition: background-color 0.3s;
}

.bsl-link-row .toggle-switch input[type="checkbox"]:checked + .slider {
    background-color: #4caf50;
}

.bsl-link-row .toggle-switch .slider::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    background-color: white;
    border-radius: 50%;
    top: 1px;
    left: 1px;
    transition: transform 0.3s;
}

.bsl-link-row .toggle-switch input[type="checkbox"]:checked + .slider::before {
    transform: translateX(20px);
}

.bsl-link-row .toggle-switch .toggle-text {
    font-size: 12px;
    color: #555;
}

.bsl-link-row .button-link {
    color: #d63638;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 12px;
    text-decoration: underline;
    padding: 2px 5px;
}

.bsl-link-row .button-link:hover {
    color: #a00;
}

 
    .youzify-horizontal-layout .youzify-page-main-content, .youzify-vertical-layout .youzify-content
 {
        padding: 0!important;
    }
.front-end-heading-card {
        margin-top: 15px;

    margin-bottom: 15px;

}
/*  */
div#youzify-bp {
    min-height: 100vh;
}
.youzify #bp-browse-button {

    background-color: unset!important;

}
.bsl-buttons-wrapper {
    text-align: center;
}

.bsl-thumb{margin: 4px!important;}
img.bsl-default-icon {
    /* margin: 25px; */
    margin-bottom: 25px!important;
    margin-top: 25px!important;
}
.youzify-main-column.grid-column {
    margin-top: 5px;
}
 /*  */
/*  

                 .bsl-link-row {
                    display: flex;
                    align-items: center;
                    gap: 10px;
                    margin-bottom: 10px;
                }

                .bsl-link-row .dashicons-menu {
                    cursor: grab;
                }

                .bsl-link-row select,
                .bsl-link-row input[type="text"],
                .bsl-link-row .upload-wrap input {
                    flex: 1;
                    padding: 5px;
                    font-size: 14px;
                }

                .bsl-link-row .upload-wrap {
                    display: flex;
                    flex-direction: column;
                    gap: 5px;
                }

                .bsl-link-row .bsl-thumb {
                    width: 32px;
                    height: 32px;
                    object-fit: cover;
                    margin-left: 10px;
                }

                .bsl-link-row .toggle-switch {
                    display: flex;
                    align-items: center;
                    gap: 5px;
                }

                .bsl-link-row .toggle-switch .slider {
                    width: 40px;
                    height: 20px;
                    background-color: #ccc;
                    border-radius: 10px;
                    position: relative;
                    cursor: pointer;
                    transition: background-color 0.3s;
                }

                .bsl-link-row .toggle-switch input[type="checkbox"]:checked + .slider {
                    background-color: #4caf50;
                }

                .bsl-link-row .toggle-switch .slider::before {
                    content: '';
                    position: absolute;
                    width: 18px;
                    height: 18px;
                    background-color: white;
                    border-radius: 50%;
                    top: 1px;
                    left: 1px;
                    transition: transform 0.3s;
                }

                .bsl-link-row .toggle-switch input[type="checkbox"]:checked + .slider::before {
                    transform: translateX(20px);
                }

                .bsl-link-row .toggle-switch .toggle-text {
                    font-size: 12px;
                    color: #555;
                }

                .bsl-link-row .button-link {
                    color: #d63638;
                    background: none;
                    border: none;
                    cursor: pointer;
                    font-size: 14px;
                    text-decoration: underline;
                }

                .bsl-link-row .button-link:hover {
                    color: #a00;
                }
       */









