/**
 * =================================================================
 * Css file of profile page and edit profile page
 * Author: Webermelon
 * Dev: Nurul Komor
 * =================================================================
 */
:root {
    --text-color: #5B5B5B;
    --primary-color: #ff8a00;
    --primary-hover-color: #da7706;
    --primary-light-color: #ffdcb4;
    --primary-text-color: #fff;
    --skyblue: #1DA1F2;
    --pink: #F00073;
    --bg-linkedin: #2867B2;
    --bg-youtube: #FF0000;
}

/* Import Poppins font from Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

/* Apply Poppins font to all elements */
* {
    font-family: "Poppins";
}

.admin-title {
    font-size: 20px;
    font-weight: 600;
    border-left: 4px solid var(--primary-color);
    padding: 3px 12px;
    margin-bottom: 25px;
}

.text-slate-400 {
    color: #5B5B5B;
}

.font-bold {
    font-weight: 600;
}

.font-semibold {
    font-weight: 500;
}

.font-medium {
    font-weight: 400;
}

.bg-yellow {
    background-color: var(--primary-color);
}

p {
    color: #636e72;
}

/* label style  */
label {
    position: relative;
    padding-right: 12px;
}

label.required::after {
    position: absolute;
    content: "*";
    right: 0;
    top: 0;
    color: red;
}

/* input style  */
.form-control:focus {
    border-color: var(--primary-color) !important;
    outline: 0;
    box-shadow: 0 0 0 0.2rem #ffbd6fa8;
}

.form-group {
    position: relative;
}

/* Custom checkbox  */
.custom-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.custom-checkbox input {
    appearance: none;
    -webkit-appearance: none;
    display: flex;
    align-content: center;
    justify-content: center;
    font-size: 2rem;
    padding: 0.1rem;
    border: 2px solid #bebebe;
    border-radius: 6px;

    width: 1.3rem;
    height: 1.3rem;
}

.custom-checkbox input::before {
    content: "✔";
    font-size: 17px;
    height: 100%;
    width: 100%;
    position: relative;
    bottom: 5px;
    transform: scale(0);
    color: #fff;
}

.custom-checkbox input[type="checkbox"]:checked::before {
    transform: scale(1);
}

.custom-checkbox input[type="checkbox"]:checked {
    background-color: #1877F2;
    border: 2px solid #1877F2;
}


/* button styles  */
.btn {
    border-radius: 8px;
    padding: 8px 17px;
}

.btn-yellow {
    background-color: var(--primary-color);
    font-weight: 600;
}

.btn-primary {
    background-color: var(--primary-color) !important;
    color: #fff !important;
    border: 2px solid var(--primary-color) !important;
    outline: none;

}


.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--primary-color) !important;
    color: #fff !important;
    border: 2px solid var(--primary-color);
}

.btn-primary:focus {
    box-shadow: var(--primary-color) 0px 2px 8px 0px !important;
}

.btn-primary-light {
    background-color: var(--primary-light-color);
    font-weight: 600;
    color: #777777;
}

.btn-outline {
    color: var(--primary-color) !important;
    background-color: #fff !important;
    border: 2px solid var(--primary-color);
    outline: none;
}

.btn-outline:hover,
.btn-outline:focus {
    background-color: var(--primary-color) !important;
    color: #fff !important;
    border: 2px solid var(--primary-color);
}

.btn-outline:focus {
    box-shadow: var(--primary-color) 0px 2px 8px 0px;
}

/* Banner style starts  */
.banner-top {
    position: relative;
    border-radius: 5px;
    background-color: #fff;
}

.banner {
    max-height: 330px;
    border: 1px solid;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
}

.banner img {
    width: 100%;
    vertical-align: middle;
    min-height: 200px;
    object-fit: cover;
}

.banner .change-cvr-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    border: 1px solid #F0F2F566;
    display: flex;
    align-items: center;
    padding: 5px 10px;
    color: #fff;
    gap: 8px;
    border-radius: 5px;
    background: #3E3E3EB2;
    cursor: pointer;
    font-size: 14px;
}

.banner .change-cvr-btn .icon {
    font-size: 20px;
    padding-top: 3px;
}

.edit-btn {
    width: fit-content;
    padding: 5px 10px;
    color: #302f2f;
    gap: 8px;
    font-weight: 500;
    border-radius: 5px;
    margin-right: 20px;
    margin-top: 0px;
    background: #F0F2F5;
    cursor: pointer;
}

.edit-btn .icon {
    font-size: 18px;
    padding-top: 3px;
}

.edit-btn a {
    color: #302f2f;
}

.profile-pic-container {
    height: 110px;
    width: 110px;
    border-radius: 50%;
    outline: 2px solid var(--primary-color);
    outline-offset: 3px;
    position: relative;
}

.profile-pic-container .change-pic-btn {
    position: absolute;
    bottom: 0;
    right: 0;
    font-size: 18px;
    padding: 5px;
    background-color: var(--primary-color);
    display: grid;
    place-content: center;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    z-index: 2;
}

.the-badge {
    width: 80%;
        height: auto;
}
.badge-parent{
    width: 130px;
}
.profile-pic-container img {
    height: 110px;
    width: 110px;
    object-fit: cover;
    border-radius: 50%;
}

.name-cate-container {
    width: fit-content;
    margin-left: 10px;
}

.bp-container {
    height: 110px;
    width: 110px;
    border-radius: 50%;
    outline: 2px solid var(--primary-color);
    outline-offset: 3px;
    position: relative;
}

.bp-container .change-pic-btn {
    position: absolute;

    bottom: 0px;
    right: 0px;
    font-size: 16px;
    padding: 5px;
    background-color: var(--primary-color);
    display: grid;
    place-content: center;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    z-index: 2;
}

.textarea-min-height {
    min-height: 200px !important;
}

.bp-container img {
    height: 110px;
    width: 110px;
    object-fit: cover;
    border-radius: 50%;
}

.btn-business {
    background-color: var(--primary-color);
    padding: 5px 10px 5px 10px;
    color: var(--primary-text-color);
    border-radius: 5px;
    cursor: pointer;
}

.btn-business:hover {
    background-color: var(--primary-hover-color) !important;
    padding: 5px 10px 5px 10px;
    color: var(--primary-text-color) !important;
}

.add-business-btn {
    width: 100%;
    height: auto;
    background-color: #e2e2e2;
    padding: 10px;
    border: none;
    outline: none;
    font-weight: 500;
    transition: background-color 0.3s ease-in-out;

}


.add-business-btn:focus,
.add-business-btn:active {
    background-color: #e2e2e2;
    /* Maintain the original background color on focus */
    box-shadow: none;
    /* Remove any box shadow on focus */
    outline: none;
    /* Ensure no outline on focus */
}

.add-business-btn:hover {
    background-color: #dadada;
    /* Maintain the original background color on focus */
    box-shadow: none;
    /* Remove any box shadow on focus */
    outline: none;
    /* Ensure no outline on focus */
}


.banner-top .social-media-icons .icon {
    font-size: 14px;
    padding: 5px;
    border-radius: 5px;
    border: 1px solid;
    display: inline-flex;
    place-content: center;
    color: #fff;
}

#new-business-form {

    display: none;
    /* Initially hide the forms */
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

#update-business-form {
    display: block;
    /* Initially hide the forms */
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

#new-business-form.show,
#update-business-form.show {
    display: block;
    opacity: 1;
}

.embed-container iframe {
    height: 200px;

}

/* Banner style ends  */

/* -------------------------------------------------------------------------- */
/*                                Edit Profile                                */
/* -------------------------------------------------------------------------- */

/* tab  */

.update-profile-tab-controller {
    border-bottom: 1px solid #c7c7c7;
    display: flex;
    list-style: none;
    gap: 28px;
}

.update-profile-tab-controller li {
    padding: 12px 0;
    cursor: pointer;
    position: relative;
}

.update-profile-tab-controller li::before {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: transparent;
    content: "";
    border-radius: 5px;
    transition: .15s linear;
}

.update-profile-tab-controller li.active::before {
    background-color: var(--primary-color);
}

.update-profile-tab .tab-content {
    display: none;
    padding: 5px;
}

.update-profile-tab .tab-content.active {
    display: block;
}


/* button tab controller start*/

.profile-button-tab-controller {
    border-bottom: 1px solid #c7c7c7;
    display: flex;
    list-style: none;
    gap: 28px;
}

.profile-button-tab-controller li {
    padding: 12px 0;
    cursor: pointer;
    position: relative;
}

.profile-button-tab-controller li::before {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: transparent;
    content: "";
    border-radius: 5px;
    transition: .15s linear;
}

.profile-button-tab-controller li.active::before {
    background-color: var(--primary-color);
}

.profile-button-tab .tab-content {
    display: none;
    padding: 5px;
}

.profile-button-tab .tab-content.active {
    display: block;
}

/* button tab controller end*/


.update-social-media .icon {
    display: grid;
    place-content: center;
    height: 35px;
    width: 35px;
    font-size: 19px;
    border-radius: 50%;
    aspect-ratio: 1;
}

.update-social-media input {
    margin: 2px 0;
}

.select-category-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
}

.alert {
    margin-top: 20px;
    position: relative;
    margin-bottom: 20px;
    /* Adjust as needed */
}

.progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #7fc293;
    transform-origin: left;
    transform: scaleX(1);
    transition: transform 3s linear;
}

.td-inp {

    position: relative;
}

.td-inp .updated-input {
    border-color: rgb(80, 134, 80);
}

.td-inp i {
    display: none;
    position: absolute;
    top: 50%;
    right: 10px;
    /* Adjust as needed to position the icon */
    transform: translateY(-50%);
    color: rgb(80, 134, 80);
    /* Adjust icon color as needed */
}

.td-inp.num-field i {
    right: 15px;
}

/* Style for the toggle button */
#toggleMainPassword,
#toggleConPassword {
    position: absolute;
    right: 25px;
    top: 70%;
    transform: translateY(-50%);
    border: none;
    color: #575555;
    cursor: pointer;
    font-size: 1rem;
}

/* Style for the toggle button */
#toggleMainPassword:active,
#toggleConPassword:active {
    position: absolute;
    right: 25px;
    top: 70%;
    transform: translateY(-50%);
    border: none;
    color: #575555;
    cursor: pointer;
    font-size: 1rem;
}



/* HTML: <div class="loader"></div> */
.loader-avatar {
    height: 4px;
    width: 130px;
    --c: no-repeat linear-gradient(var(--primary-color) 0 0);
    background: var(--c), var(--c), var(--primary-light-color);
    background-size: 60% 100%;
    animation: l16 3s infinite;
}

@keyframes l16 {
    0% {
        background-position: -150% 0, -150% 0
    }

    66% {
        background-position: 250% 0, -150% 0
    }

    100% {
        background-position: 250% 0, 250% 0
    }
}

/* HTML: <div class="loader"></div> */
.loader-cover {

    height: 4px;
    width: 100%;
    --c: no-repeat linear-gradient(var(--primary-color) 0 0);
    background: var(--c), var(--c), var(--primary-light-color);
    background-size: 60% 100%;
    animation: l16 3s infinite;
}

@keyframes l16 {
    0% {
        background-position: -150% 0, -150% 0
    }

    66% {
        background-position: 250% 0, -150% 0
    }

    100% {
        background-position: 250% 0, 250% 0
    }
}

@media only screen and (max-width: 1000px) {
    .update-profile-tab-controller {
        font-size: 12px;
        gap: 14px;

    }

    .update-profile-tab {
        padding-left: 5px !important;
    }
}


@media (min-width: 1000px) {
    .banner .change-cvr-btn {
        opacity: 0;
    }

    .banner:hover .change-cvr-btn {
        opacity: 1;
        transition: all 0.2s ease-in-out;
    }
}

.update-social-media input.followers::placeholder {
    font-size: 12px !important;
    color: oklch(70.7% 0.022 261.325);
}
/**
 * overwrite css rules for driver js styles
 **/
.driver-popover-close-btn:hover, .driver-popover-close-btn:focus {
    background: revert;
}
.no-pro-type {
    opacity: 0.6;
    pointer-events: none;
}