.profile-form-legend > app-widget-host {
    display: flex;
    align-items: center;
    flex-direction:row;
    gap: 16px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: 10px;
    margin-bottom: 24px;
}
.profile-form-legend .profile-form-legend-item > app-widget-host {
    display: flex;
    align-items: center;
    flex-direction:row;
    gap: 6px;
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
    line-height:1;
}
.profile-form-legend .profile-form-legend-item > app-widget-host::before {
    content:"";
    width: 8px;
    height: 8px;
    border-radius: 50%
50%
;
    flex-shrink: 0;
}
.profile-form-legend .profile-form-legend-item.locked-verified > app-widget-host::before {
    background: var(--text-muted);
    opacity: 0.4;
}
.profile-form-legend .profile-form-legend-item.editable > app-widget-host::before {
   background: var(--yellow);
}
form .field-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}
.custom-profile-form {
    width:100%;
}
.custom-profile-form .form-section {
    display:flex;
    flex-direction:row;
    flex-wrap:wrap;
    gap:10px;
}
.custom-profile-form .form-section .field-label{
    display:none
}
.custom-profile-form .form-section > div{
    width:calc(50% - 5px);
}
.mobile .custom-profile-form .form-section > div {
    width:100%;
}
#root  .custom-profile-form form label:not(.field-checkbox-label){
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px !important;
    color: var(--c-black);
    max-width: 215px;
    width: 100%;
    display: flex;
    align-items: center;
    border-radius: var(--r-border-radius-small);
    font-weight: bold;
    padding-bottom:4px;
}
#root  .custom-profile-form form .field-locked label:not(.field-checkbox-label)::before {
    width:13px;
    height:13px;
    content:"";
    background-size:13px;
    background-repeat:no-repeat;
    order:3
}
#root  .custom-profile-form .field-wrap {
    display:flex;
    flex-direction:row;
    position:relative;
}
#root  .custom-profile-form .field-wrap .form-select-wrap {
    width:100%;
}
#root  .custom-profile-form input:not([type="checkbox"]) {
    max-width: 100%;
    background-color: var(--c-background-d);
    border-radius: 8px;
    width: 100%;
    min-height: 40px;
    border: 1px solid var(--c-emphasis-b);
    border-radius: 30px;
    background-color: var(--s-green-10);
    box-shadow: unset;
    padding: 0px 8px;
    max-height: 40px;
}
#root  .custom-profile-form .form-section > div:not(.field-label) {
        /* margin-bottom: 20px; */
        position: relative;
}
#root  .custom-profile-form .field-locked input {
   
}
#root  .custom-profile-form select {
    max-width: 100%;
    background-color: var(--c-background-d);
    border-radius: 8px;
    width: 100%;
    min-height: 40px;
    border: 1px solid var(--c-emphasis-b);
    border-radius: 30px;
    background-color: var(--s-green-10);
    box-shadow: unset;
    padding: 0px 8px;
    max-height: 40px;
}
#root  .custom-profile-form select:disabled {
    /* padding: 14px 16px 14px 16px; */
    background-image:unset;
}
#root  .custom-profile-form .field-caption {
    
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 5px;
    padding-left: 2px;
}
#root  .custom-profile-form .field-error {
    font-size: 11px;
    color: var(--orange-warn);
    margin-top: 5px;
    padding-left: 2px;
}
#root  .custom-profile-form .field-caption a {
    color:var(--yellow);
    text-decoration:underline;
}
#root  .field-dateOfBirth .field-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
}
#root  span.required {
    color:var(--yellow);
    order:3
}
#root   .form-select-wrap {
    position: relative;
}
#root  .form-section >  div:not(.field-locked) .form-select-wrap::after {
    content:"";
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    color: var(--text-muted);
    background-size:16px;
    background-repeat:no-repeat;
    background-position:center;

}
#root  span.locked {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
    font-size: 10px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    pointer-events: none;
    z-index:1
}
#root  span.locked::before {
    content:"";
    width:11px;
    height:11px;
    background-size:11px;
    background-repeat:no-repeat;
}
#root  .custom-profile-form .field-telephone select {
    width:unset;
    /* padding: 14px 12px; */
    border-radius: 30px 0 0 30px;
    /* border: 1.5px dashed var(--border); */
    border-right: none;
    /* background: var(--bg-locked); */
    /* color: var(--text-locked); */
    font-family: 'Myriad Pro', sans-serif;
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content:flex-end;
    text-align:right;
    gap: 8px;
    background-image:url("../assets//themes/betomall/images/icons/flags/sierra-leone.svg");
    background-size:24px auto;
    background-repeat:no-repeat;
    background-position:16px center
}
#root  .custom-profile-form .field-telephone input {
  border-radius: 0 30px 30px 0;
}
#root  .custom-profile-form input[type="checkbox"] {
   border: 1px solid #a6a6a6;
    background-color: #fff;
    width: 20px;
    height: 20px;
    text-align: center;
    border-radius: 3px;
}
#root  .custom-profile-form input[type="checkbox"]:checked {
    background-size:14px;
    background-repeat:no-repeat;
    background-position:center;
    background-color: var(--green);
}
#root  .custom-profile-form .field-checkbox .field-wrap{
    display: flex;
    align-items: center;
    gap: 12px;
    
}
#root  .custom-profile-form .field-checkbox .field-wrap label {
       color: var(--c-primary);
    font-size: 17px!important;
    margin-left: 15px;
}
#root  .custom-profile-form  hr {
    height: 1px;
    background: var(--border);
    margin: 24px 0;
    border:0px;
}
#root .form-section#marketing-sub .field-label {
    display:none
}
#root .form-section#marketing-sub hr {
    display:none;
}
.custom-profile-form .submit-document {
    display:flex;
}
.custom-profile-form button[type="submit"],
.custom-profile-form #reset_details_form{
    background-color: var(--c-green);
    color: var(--c-white);
    text-transform: uppercase;
    font-size: 16px;
    height: 40px;
    width: 200px;
    border-radius: var(--r-border-radius-big);
    margin-left:auto;
}
.custom-profile-form .success {
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:20px;
    min-height:50vh
}
.custom-profile-form .success #reset_details_form {
    margin-left:0px;
}