.photo-wrapper {
    position: relative;
    display: inline-block;
    width: 120px;
    overflow: hidden;
    border-radius: 20px;
    height: 140px;
}

.photo-wrapper img {
    display: block !important;
    width: 300px !important;
    height: 150px !important;
    object-fit: cover;
    object-position: center;
}

.checkbox-overlay input {
    display: none;
}

.checkbox-overlay span {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
    background: white;
    border: 2px solid #333;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s, border 0.3s;
}

.checkbox-overlay input:checked+span {
    background: #3399ff;
    border-color: #FFFFFF;
}

.checkbox-overlay span::after {
    content: "";
    position: absolute;
    display: none;
    left: 7px;
    top: 3px;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-overlay input:checked+span::after {
    display: block;
}

#ig_load_more {
    background: #B52394;
}

.load_more_wrapper {
    display: flex !important;
    justify-content: center;
}

#insta-form {
    margin-left: 20px;
}

.outer_wrapper {
    width: 100%;
    clear: both;
}

.outer_wrapper label {
    float: left;
    /* padding: 40px; */
    /* margin-left: 10px; */
    border-radius: 10px;
    /* background-color: #B52394; */
    color: white;
    text-align: center;
}

.inner-item input {
    position: absolute;
    margin-left: 75px;
    margin-top: 20px;
}

.inner-item input[type="radio"]:checked+label {
    background: #9251CA;
    border-color: green;
    color: white;
}

#NotificationAlert {
    visibility: hidden;
    max-width: 250px;
    margin-left: -125px;
    text-align: center;
    border-radius: 2px;
    padding: 16px;
    position: fixed;
    z-index: 9999;
    left: 50%;
    top: 80px;
    font-size: 17px;
    border-radius: 5px;
}

.bg-red {
    background-color: #F44336;
    color: white;
}

.bg-green {
    background-color: #5cb85c;
    color: white;
}

#NotificationAlert.show {
    visibility: visible;
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}


.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /* black with 50% opacity */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    display: none;
}

/* Spinner circle */
.loader {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #8856d0;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
    z-index: 99999;
}

/* Spinner animation */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@-webkit-keyframes fadein {
    from {
        top: 0;
        opacity: 0;
    }

    to {
        top: 80px;
        opacity: 1;
    }
}

@keyframes fadein {
    from {
        top: 0;
        opacity: 0;
    }

    to {
        top: 80px;
        opacity: 1;
    }
}

@-webkit-keyframes fadeout {
    from {
        top: 80px;
        opacity: 1;
    }

    to {
        top: 0;
        opacity: 0;
    }
}

@keyframes fadeout {
    from {
        top: 80px;
        opacity: 1;
    }

    to {
        top: 0;
        opacity: 0;
    }
}
.pages-list-wrapper { 
    /* width: 60%; */
    float: left;
}


.pages-list {
    display: block;
    padding-left: 0px!important; 
    max-height: 500px;
    overflow: auto;
}
.user_info{     
    margin-bottom: 10px;
}
#list-title {
    margin-bottom: 0;
}
#tiktok_checkout {
    width: 100%;
    text-align: center;
}
.pages-list-item {
    display: inline-block;
    vertical-align: top;
    margin-top: 10px;
    width: 120px;
    margin-left: 10px;
    font-size: 10px;
}


.raw-response {
    width: 100%;
    height: 600px;
}

.nav-container {
    margin-top: 20px;
    font-size: 20px;
    display: inline-block;
    width: 100%;
}

.nav-next {
    float: right;
}

.profile-container {
    display: inline-block;
    width: 100%;
    margin-top: 10px;
}

.profile-image-container {
    display: inline-flex;
}

.profile-image-container img {
    border-radius: 50%!important;
    margin-right: 20px;
}
.profile-image-container a {
    margin-top: 20px;
}

.child-media {
    width: 70px;
}

textarea {
    width: 100%;
    height: 500px;
}

a.post-link {
    word-wrap: break-word;
}

li.pages-list-item::before {
    content: "" !important;
}

a#ig_checkout{
    width: 100%;
    text-align: center;
}

span#insta_counts {
    width: 200px;
}
span#insta_price {
    width: 200px;
}
.counts {
    margin-top: 10px;
    margin-bottom: 10px;
}

.insta_checkout_btn {
    margin-top: 10px;
}
.pages-list-main {
    margin-top: 70px;
    border-top: 1px solid;
    padding-top: 20px;
}
span#tiktok_counts, span#tiktok_price {
    font-size: 30px;
    color: #974EC7; 
}
video.pages-media {
    width: 100%;
}
.pages-media { 
    border-radius: 20px;
}
.pages-media:hover {
    border: 1px solid red;
}

.select2-container .select2-selection--single {
    height: 50px !important; /* height of the input box */
}

.select2-container {
    width: 400px !important; /* or 100% */
}
span.select2-selection__arrow {
    top: 10px !important;
}

p.opt_name {
    font-weight: bold;
    margin-bottom: 0px;
}
p.opt_user {
    font-size: 11px;
    color: gray;
    margin-bottom: 0px;
}
.opt_user:hover {
    color: white !important;
}
.select2-container--default .select2-results__option--highlighted[aria-selected], .select2-container--default .select2-results__option--highlighted[data-selected] {
    color: #fff !important;
}
.opt_img {
    width: 12%;
    float: left;
}
.opt_info {
    width: 89%;
}
.select2-container--default .select2-selection--single .select2-selection__rendered .opt_info .opt_user:hover{color:gray;}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: normal!important;
}
.profile-image-container img {
    width: 100px !important;
}