/**
 * =================================================================
 * 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;
    max-height: 330px;
    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;
}
/** Payment options tab **/
.ezw_payment_card_save_btn_container button.selected-existing-card,
.ezw_save_card_amount {
    display: none;
}
#deductNotice { 
  display: flex; 
  align-items: flex-start; 
  gap: 10px; 
  background: rgba(246, 238, 223, 1); 
  border: 0.5px solid rgba(128, 92, 31, 1); 
  border-radius: 8px; 
  padding: 12px 14px; margin-bottom: 1.5rem;
}
#deductNotice p {
  margin: 0;
  font-size: 13px;
  color: rgba(90, 72, 21, 1);
  line-height: 1.5;
}
#deductNotice { 
  display: flex; 
  align-items: flex-start; 
  gap: 10px; 
  background: rgba(246, 238, 223, 1); 
  border: 0.5px solid rgba(128, 92, 31, 1); 
  border-radius: 8px; 
  padding: 12px 14px; margin-bottom: 1.5rem;
}
#deductNotice p {
  margin: 0;
  font-size: 13px;
  color: rgba(90, 72, 21, 1);
  line-height: 1.5;
}
.ezw_save_card_payment_method_container .payflow-card-area .ff-el-input--content label {
  background: red;
  
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 14px;
	border: 0.5px solid rgba(31, 30, 29, 0.15);
	border-radius: 8px;
	cursor: pointer;
	background: rgba(255, 255, 255, 1);
	transition: border-color 0.15s;
  line-height: normal;
  font-size: 14px;
}
.ezw_save_card_payment_method_container .payflow-card-area .ff-el-input--content label:has(input:checked) {
  background: rgba(214, 228, 246, 1);
  border-color: rgba(70, 130, 213, 1);
}
.ezw_save_card_payment_method_container .payflow-card-area .ff-el-input--content label input {
  margin-right: 6px;
  position: relative;
}
/* .ezw_save_card_payment_method_container .payflow-card-area .ff-el-input--content label input::after {
  content: "\ea84";
  position: absolute;
  width: 10px;
  height: 10px;
  background: red;
  top: 0;
  left: 0;
  z-index: 999999999999;
  display:  block;
} */

.ezw_save_card_payment_method_container .payflow-new-card-fields label{
  font-size: 12px;
  color: rgba(61, 61, 58, 1);
  font-weight: 500;
}


.ezw_save_card_payment_method_container .payflow-new-card-fields input{
  border: 1px solid rgba(31, 30, 29, 0.3);
  height: 36px;
  padding: 8px 12px;
  font-size: 16px;
  background: #fff;
  color: rgba(20, 20, 19, 1);
  border-radius: 6px!important;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.ezw_payment_card_save_btn_container button,
.ezw_payment_card_save_btn_container button:hover,
.ezw_payment_card_save_btn_container button:focus,
.ezw_payment_card_save_btn_container button:active{
	font-size: 16px!important;;
	font-family: "Poppins"!important;;
	font-weight: 400!important;;
	line-height: 148%!important;;
	color: #fff!important;;
	padding: 8px 20px!important;;
	background: #DB9C11!important;;
	border-radius: 4px!important;;
}
.invalid-card-number .ezw_payment_card_save_btn_container button,
.invalid-expiration-date .ezw_payment_card_save_btn_container button,
.invalid-cvv .ezw_payment_card_save_btn_container button
{
	opacity: 0.6;
    pointer-events: none;
}
/** Payment options tab - end **/

.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;
}


#loader-avatar,
#loader-cover {
  position: absolute;
  width: 100%;
  height: 100%;
  display: block;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(255,255,255,0.6);
}
#loader-cover{
    border-radius: 0;
}

#loader-avatar[hidden],
#loader-cover[hidden] {
  display: none;
}

#loader-avatar[hidden]::before,
#loader-avatar[hidden]::after,

#loader-cover[hidden]::before,
#loader-cover[hidden]::after {
  animation: revert;
}

#loader-avatar::before,
#loader-cover::before {
  content: '';
  position: absolute;
  width: 30px;
  height: 30px;
  display: block;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid #fff;
  border-top-color: #fff;
}

#loader-avatar::after,
#loader-cover::after {
  content: '';
  position: absolute;
  width: 30px;
  height: 30px;
  display: block;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid #fff;
  border-top-color: #000;
  animation: ezw-avatar-loader-spin 700ms linear infinite;
}
@keyframes ezw-avatar-loader-spin {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@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;
}