/**
 * HAVEN Onboarding - Custom CSS for BuddyForms Multi-step Wizard
 * 
 * This CSS overrides BuddyForms default styling to create a custom multi-step experience
 */

@font-face {
    font-family: 'IBM Plex Mono';
    src: url('../fonts/IBMPlexMono-Regular.eot');
    src: url('../fonts/IBMPlexMono-Regular.eot?#iefix') format('embedded-opentype'),
        url('../fonts/IBMPlexMono-Regular.woff2') format('woff2'),
        url('../fonts/IBMPlexMono-Regular.woff') format('woff'),
        url('../fonts/IBMPlexMono-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IBM Plex Mono';
    src: url('../fonts/IBMPlexMono-Bold.eot');
    src: url('../fonts/IBMPlexMono-Bold.eot?#iefix') format('embedded-opentype'),
        url('../fonts/IBMPlexMono-Bold.woff2') format('woff2'),
        url('../fonts/IBMPlexMono-Bold.woff') format('woff'),
        url('../fonts/IBMPlexMono-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IBM Plex Mono';
    src: url('../fonts/IBMPlexMono-SemiBold.eot');
    src: url('../fonts/IBMPlexMono-SemiBold.eot?#iefix') format('embedded-opentype'),
        url('../fonts/IBMPlexMono-SemiBold.woff2') format('woff2'),
        url('../fonts/IBMPlexMono-SemiBold.woff') format('woff'),
        url('../fonts/IBMPlexMono-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IBM Plex Mono';
    src: url('../fonts/IBMPlexMono-Medium.eot');
    src: url('../fonts/IBMPlexMono-Medium.eot?#iefix') format('embedded-opentype'),
        url('../fonts/IBMPlexMono-Medium.woff2') format('woff2'),
        url('../fonts/IBMPlexMono-Medium.woff') format('woff'),
        url('../fonts/IBMPlexMono-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IBM Plex Sans';
    src: url('../fonts/IBMPlexSans-Regular.eot');
    src: url('../fonts/IBMPlexSans-Regular.eot?#iefix') format('embedded-opentype'),
        url('../fonts/IBMPlexSans-Regular.woff2') format('woff2'),
        url('../fonts/IBMPlexSans-Regular.woff') format('woff'),
        url('../fonts/IBMPlexSans-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IBM Plex Sans';
    src: url('../fonts/IBMPlexSans-Medium.eot');
    src: url('../fonts/IBMPlexSans-Medium.eot?#iefix') format('embedded-opentype'),
        url('../fonts/IBMPlexSans-Medium.woff2') format('woff2'),
        url('../fonts/IBMPlexSans-Medium.woff') format('woff'),
        url('../fonts/IBMPlexSans-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IBM Plex Sans';
    src: url('../fonts/IBMPlexSans-SemiBold.eot');
    src: url('../fonts/IBMPlexSans-SemiBold.eot?#iefix') format('embedded-opentype'),
        url('../fonts/IBMPlexSans-SemiBold.woff2') format('woff2'),
        url('../fonts/IBMPlexSans-SemiBold.woff') format('woff'),
        url('../fonts/IBMPlexSans-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'PP Right Grotesk';
    src: url('../fonts/PPRightGrotesk-Bold.eot');
    src: url('../fonts/PPRightGrotesk-Bold.eot?#iefix') format('embedded-opentype'),
        url('../fonts/PPRightGrotesk-Bold.woff2') format('woff2'),
        url('../fonts/PPRightGrotesk-Bold.woff') format('woff'),
        url('../fonts/PPRightGrotesk-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

/*-- Variables CSS --*/
:root {
    --font-primary: 'IBM Plex Mono';
    --font-secondary: 'IBM Plex Sans';
    --font-Grotesk: 'PP Right Grotesk';
}

body.bb-readylaunch-template {
    background-color: #000 !important;
    background-image: url(https://www.haven-0.com/wp-content/uploads/2025/08/Home-1.png);
    background-size: inherit;
    background-repeat: repeat;
}

a:focus,
a:focus-visible,
ul:focus-visible,
ul:focus-within {
    outline: none !important;
    border: none;
}
ul:focus-within {
   border: none!important;
}
/* ===== CONTAINER & LAYOUT ===== */
body.wp-theme-buddyboss-theme.sticky-header .site-content {
    padding-top: 90px;
}
body.admin-bar .site-header {
    top: 32px;
}

.wrap.haven-onboarding-wrap {
    padding: 0 !important;
}

.page-template-page-onboarding-php::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url(https://www.haven-0.com/wp-content/uploads/2025/08/Onboarding-1-1-1.png);
    pointer-events: none;
    z-index: 0;
    background-size: cover;
    background-repeat: no-repeat;
}

.haven-step-group .col-step-3 .acf-bl:before,
.haven-step-group .col-step-3 .acf-bl:after {
    content: none !important;
    display: none !important;
}

.site-header .site-header-container .site-title>a {
    color: var(--bb-headings-color);
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff !important;
}

.page-template-page-onboarding-php header#masthead {
    background-color: transparent !important;
    border-bottom: 1px solid rgba(0, 46, 81, 0.5);
        padding: 0;
}

.page-template-page-onboarding-php header#masthead.has-scrolled {
    background-image: url(https://www.haven-0.com/wp-content/uploads/2025/08/Home-1.png);
}

.page-template-page-onboarding-php header#masthead .site-header-container {
    padding: 14px 24px;
    height: auto;
    max-width: 100%;
}
@media (min-width: 800px) {
.page-template-page-onboarding-php header#masthead .site-header-container{
        height: 56px;
}
}

.page-template-page-onboarding-php header#masthead .site-branding,
.site-header .bb-mobile-header-wrapper .bb-mobile-header {
    height: auto;
}

.page-template-page-onboarding-php header#masthead .site-title img {
    padding: 0;
    width: 100%;
    max-width: 98px;
    min-height: auto;
    max-height: none !important;
}

.haven-onboarding-container {
    max-width: 680px !important;
    margin: 40px auto;
    position: relative;
    overflow: hidden;
}

.haven-step-header h2.haven-step-title {
    font-family: PP Right Grotesk;
    font-weight: 700;
    font-size: 44px;
    line-height: 100%;
    text-align: center;
    text-transform: uppercase;
    color: #F8F8FF;
    margin-bottom: 20px;
    position: relative;
}

.haven-step-header h2.haven-step-title:before {
    content: '';
    background-image: url(/wp-content/themes/buddyboss-theme-child/assets/image/haven-fire.png);
    margin-right: 15px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    position: relative;
    width: 37px;
    height: 45px;
    display: inline-flex;
    top: 6px;
}

.haven-step-header p.haven-step-subtitle {
    font-weight: 500;
    font-size: 17px;
    line-height: 140%;
    text-align: center;
    color: #F8F8FF;
    margin: 0;
        font-family: 'IBM Plex Mono';
}

.haven-step-header p.haven-step-subtitle span {
    color: #9EF66A;
}

.haven-step-header {
    position: relative;
    display: inline-block;
    padding: 40px 0 48px;
    color: #fff;
    text-align: center;
    border-radius: 4px;
    margin-bottom: 16px;
    background-image: url(https://www.haven-0.com/wp-content/uploads/2025/08/Mask-group-7.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
}

.haven-step-header::before,
.haven-step-header::after,
.haven-step-header>span::before,
.haven-step-header>span::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    border: 1px solid #9EF66A;
}

.haven-step-header::before {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
}

.haven-step-header::after {
    top: 0;
    right: 0;
    border-left: none;
    border-bottom: none;
}

.haven-step-header>span::before {
    bottom: 0;
    left: 0;
    border-right: none;
    border-top: none;
}

.haven-step-header>span::after {
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
}
.haven-step-group .bf-start-row{
position: relative;
}
.haven-step-group .wp_Ce_test{
    margin: 0;
    background-image: url(/wp-content/themes/buddyboss-theme-child/assets/image/onborading.png);
    background-repeat: repeat;
    background-size: inherit;
    background-position: center;
}

.haven-step-group .wp_Ce_test .bf_field_group {
    margin: 0;
}

.haven-step-group .wp_Ce_test label.haven-field-label,
.why-section .section-title {
    padding: 15px 16px 14px;
    margin-bottom: 0;
    border-bottom: 1px solid #002E51;
    font-weight: 500;
    color: #F8F8FF;
    display: block;
    font-size: 17px;
    text-shadow: none;
    font-family: var(--font-primary);
    line-height: 24px;
}
.why-section .section-title strong{
    font-weight: 500;
}
.haven-step-group .wp_Ce_test .bf-input {
    padding: 16px;
}

.haven-step-group .wp_Ce_test .bf-input .checkbox:first-child,
.why-section ul.section-list li:first-child {
    margin-top: 0;
}

.haven-step-group .wp_Ce_test .bf-input .checkbox {
    margin-top: 8px;
}

.haven-step-group .wp_Ce_test .bf-input .checkbox label.settings-input {
    border: 0;
    background-color: transparent;
    padding: 0;
    gap: 16px;
}

.haven-step-group .wp_Ce_test .bf-input .checkbox label span {
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 13px;
    line-height: 18px;
    color: #F8F8FF;
}

.haven-step-nav .haven-custom-button,
.dashboard-btn a {
    width: 100%;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 15px;
    line-height: 21px;
    background-color: transparent;
    border: 1px solid #296410;
    border-radius: 4px;
    padding: 16px;
    color: #9EF66A;
        background-image: url(/wp-content/themes/buddyboss-theme-child/assets/image/onbording-btn.png);
    background-repeat: repeat;
    background-size: inherit;
    background-position: center;
}

.haven-step-nav .haven-custom-button:hover,
.dashboard-btn a:hover {
    background-color: #9EF66A;
    background-image: none;
    color: #002e51;
}
.dashboard-btn a{
        display: block;
    width: auto;
    text-align: center;
}

.bf-start-row .why-section {
    border: 1px solid #002E51;
    border-radius: 4px;
    margin: 16px 0;
    position: relative;
        background-image: url(/wp-content/themes/buddyboss-theme-child/assets/image/onborading.png);
    background-repeat: repeat;
    background-size: inherit;
    background-position: center;
}

.why-section ul.section-list {
    margin: 0;
    padding: 16px;
}

.why-section ul.section-list li {
    position: relative;
    list-style: none;
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 13px;
    line-height: 18px;
    color: #F8F8FF;
    margin-top: 8px;
}

.why-section ul.section-list li:before {
    content: '';
    padding: 6px;
    margin-right: 16px;
    background-image: url(/wp-content/themes/buddyboss-theme-child/assets/image/right-chevron.svg);
    background-repeat: no-repeat;
    background-size: 40%;
    background-position: center center;
}

.the_buddyforms_form .form_wrapper #buddyforms_form_onboarding {
    display: none;
}

.bf-start-row .skill-selector-header {
    font-family: IBM Plex Mono;
    font-weight: 500;
    font-size: 17px;
    line-height: 140%;
    text-align: center;
    color: #F8F8FF;
    margin-bottom: 32px;
}

.wp_attributs.bf-start-row {
    border: 0;
    position: relative;
    padding: 8px;
}

.wp_attributs.bf-start-row .bf_field_group {
    max-width: 376px;
    margin: auto;
}

.wp_attributs.bf-start-row .bf_field_group label.haven-field-label {
    color: #F8F8FF;
    font-family: IBM Plex Mono;
    font-weight: 500;
    font-size: 17px;
    line-height: 140%;
    margin-bottom: 8px;
    display: block;
}

.wp_attributs.bf-start-row .bf_field_group .bf-input {
    gap: 4px;
}

.wp_attributs.bf-start-row .bf_field_group .bf-input .radio label {
    width: 34px;
    height: 34px;
    opacity: 1;
    gap: 12px;
    border-radius: 4px;
    border-width: 1px;
    padding: 5px 11px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #F8F8FF;
    font-family: 'IBM Plex Mono';
    font-weight: 700;
    font-size: 17px;
    background-color: #002e5136;
    margin: 0;
    background-image: url(https://www.haven-0.com/wp-content/uploads/2025/08/Frame-588.png);
}

.wp_attributs.bf-start-row .bf_field_group .bf-input .radio label:hover {
    color: #9EF66A;
    border-color: #296410;
}
.haven-step-group.haven-step-1 .wp_attributs:first-child::before,
.haven-step-group.haven-step-1 .wp_attributs:first-child::after{
display: none !important;
}

.wp_attributs.bf-start-row:last-child {
    margin-bottom: 32px;
}

.wp_attributs::before,
.wp_attributs::after,
.wp_attributs .bf_field_group::before,
.wp_attributs .bf_field_group::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    border: 1px solid #002E51;
}

.wp_attributs::before {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
}

.wp_attributs::after {
    top: 0;
    right: 0;
    border-left: none;
    border-bottom: none;
}

.wp_attributs .bf_field_group::before {
    bottom: 0;
    left: 0;
    border-right: none;
    border-top: none;
}

.wp_attributs .bf_field_group::after {
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
}

/* ===== STEPS 2 SCREEN ===== */
.haven-step-group.haven-step-2 .haven-step-3-wrapper {
    border: 1px solid #002E51;
    border-radius: 4px;
    /*background-color: rgb(11 30 47 / 41%);*/
    margin-bottom: 32px;
        background-image: url(/wp-content/themes/buddyboss-theme-child/assets/image/onborading.png);
    background-repeat: repeat;
    background-size: inherit;
    background-position: center;
}
.haven-step-group .bf_field.bf_field_group {
margin: 0;
}

.haven-step-group .bf_field.bf_field_group > label.acf-label {
    padding: 16px;
    margin-bottom: 0;
    font-weight: 500;
    color: #F8F8FF;
    display: block;
    font-size: 17px;
    text-shadow: none;
    font-family: var(--font-primary);
    line-height: 24px;
    text-transform: uppercase;
    position: relative;
    border-bottom: 1px solid #002E51;
}

.haven-step-group .bf_field.bf_field_group ul.acf-checkbox-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 0;
    border: 0;
}

.haven-step-group .bf_field_group ul.acf-checkbox-list li {
    border: 1px solid #002E51;
    padding: 0;
    border-radius: 4px;
    vertical-align: middle;
    display: flex;
    cursor: pointer;
    background-image: url(/wp-content/themes/buddyboss-theme-child/assets/image/onbording-box.png);
    background-repeat: repeat;
    background-size: inherit;
    background-position: center;
}

.haven-step-group .bf_field_group ul.acf-checkbox-list li:hover,
.haven-step-group.haven-step-3 .bf_field_group .bf-input .checkbox label:hover {
border: 1px solid #296410;
    background-color: transparent;
    background-image: url(/wp-content/themes/buddyboss-theme-child/assets/image/onbording-btn.png);
    background-size: cover;
    background-repeat: no-repeat;
}

.haven-step-group .bf_field_group ul.acf-checkbox-list li label.haven-checkbox-wrapper {
    font-family: IBM Plex Mono;
    font-weight: 500;
    font-size: 13px;
    line-height: 140%;
    color: #F8F8FF;
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0;
    cursor: pointer;
    padding: 16px;
}

.haven-step-group .bf_field_group ul.acf-checkbox-list li input[type="checkbox"],
.haven-step-group.haven-step-3 .bf_field_group .bf-input .checkbox label input[type="checkbox"] {
    appearance: none;
    border: 1px solid #002E51;
    background-color: #0000004d;
    width: 16px;
    height: 16px;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    transition: all 0.3s ease;
    margin: 0;
}

.haven-step-group .bf_field_group ul.acf-checkbox-list li input[type="checkbox"]:checked,
.haven-step-group.haven-step-3 .bf_field_group .bf-input .checkbox label input[type="checkbox"]:checked {
    background: #001729;
    border: 1px solid #9EF66A;
}

.haven-step-group .bf_field_group ul.acf-checkbox-list li input[type="checkbox"]:checked::after,
.haven-step-group.haven-step-3 .bf_field_group .bf-input .checkbox label input[type="checkbox"]:checked::after {
    content: '';
    font-family: 'FontAwesome';
    position: absolute;
    top: 50% !important;
    left: 50%;
    transform: translate(-50%, -50%);
    background-image: url(/wp-content/themes/buddyboss-theme-child/assets/image/right-arrow.svg);
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    background-size: 50%;
    background-position: center center;
}

.haven-step-group.haven-step-2 {
    position: relative;
    padding-bottom: 37px;
}

.haven-step-group.haven-step-2:before,
.haven-step-group.haven-step-2:after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    border: 1px solid #002E51;
}

.haven-step-group.haven-step-2:before {
    bottom: 0;
    left: 0;
    border-right: none;
    border-top: none;
}

.haven-step-group.haven-step-2:after {
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
}

/* ===== Screen 3 ===== */
.haven-step-group.haven-step-3 .haven-step-4-wrapper {
    border: 1px solid #002E51;
    border-radius: 4px;
    background-color: rgb(11 30 47 / 41%);
    margin-bottom: 32px;
}

.haven-step-group.haven-step-3 .haven-step-4-wrapper h2 {
    margin: 0;
    padding: 16px;
    margin-bottom: 0;
    border-bottom: 1px solid #002E51;
    font-weight: 500;
    color: #F8F8FF;
    display: block;
    font-size: 17px;
    text-shadow: none;
    font-family: var(--font-primary);
    line-height: 24px;
    text-transform: uppercase;
}

.haven-step-group.haven-step-3 .haven-step-4-wrapper h2:before {
    content: '';
    background-image: url(/wp-content/themes/buddyboss-theme-child/assets/image/LOGISTICAL.png);
    margin-right: 10px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    position: relative;
    width: 20px;
    height: 20px;
    display: inline-flex;
    top: 4px;
}

.haven-step-group.haven-step-3 .haven-step-4-wrapper .bf_field_group {
    margin: 0;
    padding: 16px;
}

.haven-step-group.haven-step-3 .haven-step-4-wrapper .label-desc-wrapper,
.haven-step-group .haven-step-3-wrapper .bf_field.bf_field_group .label-desc-wrapper {
    border-left: 1px solid #9EF66A;
    padding-left: 16px;
    margin-bottom: 16px;
}

.haven-step-group.haven-step-3 .bf_field_group label.haven-field-label,
.haven-step-group .haven-step-3-wrapper .bf_field.bf_field_group .label-desc-wrapper label {
    font-family: IBM Plex Mono;
    font-weight: 600;
    font-size: 15px;
    line-height: 140%;
    color: #F8F8FF;
    position: relative;
}
.haven-step-group .haven-step-3-wrapper .bf_field.bf_field_group .label-desc-wrapper{
    line-height: normal;
}
.haven-step-group.haven-step-3 .bf-start-row:nth-child(2) .bf_field_group label.haven-field-label:before,
.haven-step-group.haven-step-3 .bf-start-row:nth-child(3) .bf_field_group label.haven-field-label:before,
.haven-step-group.haven-step-3 .bf-start-row:nth-child(4) .bf_field_group label.haven-field-label:before{
    content: '';
    background-image: url(/wp-content/themes/buddyboss-theme-child/assets/image/LOGISTICAL.png);
    margin-right: 10px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    position: relative;
    width: 20px;
    height: 20px;
    display: inline-flex;
    top: 4px;
}
.haven-step-group.haven-step-3 .bf-start-row:nth-child(3) .bf_field_group label.haven-field-label:before{
        background-image: url(/wp-content/themes/buddyboss-theme-child/assets/image/autonomie.png);
}
.haven-step-group.haven-step-3 .bf-start-row:nth-child(4) .bf_field_group label.haven-field-label:before{
        background-image: url(/wp-content/themes/buddyboss-theme-child/assets/image/droplet.png);
}
.haven-step-group.haven-step-3 .haven-step-4-wrapper .label-desc-wrapper p.help-inline,
.haven-step-group .haven-step-3-wrapper .bf_field.bf_field_group p.help-inline{
    margin: 0;
    font-family: IBM Plex Mono;
    font-weight: 400;
    font-size: 13px;
    line-height: 140%;
    color: #72767A;
}
.haven-step-group .haven-step-3-wrapper .bf_field.bf_field_group.acf-field-checkbox{
    padding: 16px;
}

.haven-step-group.haven-step-3 .haven-step-4-wrapper .bf_field_group .bf-input {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.haven-step-group.haven-step-3 .bf_field_group .bf-input .checkbox label {
    border: 1px solid #002E51;
    padding: 16px;
    border-radius: 4px;
    background-color: rgb(11 30 47 / 53%);
    vertical-align: middle;
    align-items: center;
}

.haven-step-group.haven-step-3 .haven-step-4-wrapper .bf_field_group .bf-input .checkbox label span {
    font-family: IBM Plex Mono;
    font-weight: 500;
    font-size: 13px;
    line-height: 140%;
    color: #F8F8FF;
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0;
}


/* ===== PROGRESS BAR ===== */

.haven-progress-steps::before {
    content: '';
    position: absolute;
    top: 50%;
        transform: translateY(-50%);
    left: 0;
    right: 0;
    height: 4px;
    background: #002E51;
    z-index: 0;
}

.haven-progress-steps .step {
    position: relative;
    z-index: 99;
    text-align: center;
    width: 26px;
    height: 26px;
    border-radius: 4px;
    border: 1px solid #002E51;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    line-height: 140%;
    font-weight: 500;
    color: #F8F8FF;
}

.haven-progress-steps li:before {
    content: '';
    background-color: #090b0c;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 4px;
    z-index: 10;
}

.haven-progress-steps li:after {
    content: '';
    background-color: #090b0c;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 4px;
    z-index: 10;
    background-image: url(https://www.haven-0.com/wp-content/uploads/2025/08/Frame-588.png);
}

.haven-progress-steps .step.active {
    border: 2px solid #7CFC00;
    background: #000;
    color: #7CFC00;
}

.haven-progress-steps .step.completed {
    color: #9EF66A;
    border: 1px solid #9EF66A;
}


/* ===== PROGRESS BAR ===== */

.haven-progress-container {
    width: 100%;
    border-radius: 2px;
    margin: 0 0 32px;
    position: relative;
    z-index: 1;
    /*height: 36px;*/
}

.haven-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #4fd1c7 0%, #38b2ac 100%);
    border-radius: 2px;
    transition: width 0.3s ease;
    position: relative;
}

.haven-progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.haven-step-1 .haven-step-nav .haven-custom-button,
.haven-step-2 .haven-step-nav .haven-custom-button {
    margin-top: 16px;
}
.haven-category-icon img {
    max-width: 24px;
    height: 24px;
}
footer.footer-bottom.bb-footer.style-1 {
    display: none !important;
}
/* ===== loading ===== */
#initial-haven-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 53, 85, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
        flex-direction: column;
    z-index: 9999;
    background-image: url(https://www.haven-0.com/wp-content/uploads/2025/08/Onboarding-1-1-1.png);
}

#initial-haven-loading-overlay .spinner-text{
        font-size: 17px;
    font-family: 'IBM Plex Mono';
    color: #F8F8FF;
    margin-top: 14px;
}

.lds-spinner,
.lds-spinner div,
.lds-spinner div:after {
    box-sizing: border-box;
}

.lds-spinner {
    color: #7ff94f;
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

.lds-spinner div {
    transform-origin: 40px 40px;
    animation: lds-spinner 1.2s linear infinite;
}

.lds-spinner div:after {
    content: " ";
    display: block;
    position: absolute;
    top: 3.2px;
    left: 36.8px;
    width: 6.4px;
    height: 17.6px;
    border-radius: 20%;
    background: currentColor;
}

.lds-spinner div:nth-child(1) {
    transform: rotate(0deg);
    animation-delay: -1.1s;
}

.lds-spinner div:nth-child(2) {
    transform: rotate(30deg);
    animation-delay: -1s;
}

.lds-spinner div:nth-child(3) {
    transform: rotate(60deg);
    animation-delay: -0.9s;
}

.lds-spinner div:nth-child(4) {
    transform: rotate(90deg);
    animation-delay: -0.8s;
}

.lds-spinner div:nth-child(5) {
    transform: rotate(120deg);
    animation-delay: -0.7s;
}

.lds-spinner div:nth-child(6) {
    transform: rotate(150deg);
    animation-delay: -0.6s;
}

.lds-spinner div:nth-child(7) {
    transform: rotate(180deg);
    animation-delay: -0.5s;
}

.lds-spinner div:nth-child(8) {
    transform: rotate(210deg);
    animation-delay: -0.4s;
}

.lds-spinner div:nth-child(9) {
    transform: rotate(240deg);
    animation-delay: -0.3s;
}

.lds-spinner div:nth-child(10) {
    transform: rotate(270deg);
    animation-delay: -0.2s;
}

.lds-spinner div:nth-child(11) {
    transform: rotate(300deg);
    animation-delay: -0.1s;
}

.lds-spinner div:nth-child(12) {
    transform: rotate(330deg);
    animation-delay: 0s;
}

@keyframes lds-spinner {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}


/* ===== STEP VISIBILITY ===== */

/* Hide all step groups by default */
.haven-step-group {
    display: none !important;
}

/* Show only the active step group */
.haven-step-group.active {
    display: block !important;
}

/* Fallback: Show first step group if no JavaScript has run */
.haven-step-group:first-child {
    display: block !important;
}

/* Hide all individual form elements with bf-start-row by default */
.the_buddyforms_form .col-xs-12.bf-start-row {
    display: none !important;
}

/* Show form elements only within active step groups */
.haven-step-group.active .col-xs-12.bf-start-row {
    display: block !important;
}

/* CRITICAL FALLBACK: Show first step elements if no JavaScript has run */
.the_buddyforms_form .col-xs-12.bf-start-row.col-step-1 {
    display: block !important;
}

/* Ensure the form container is visible */
.the_buddyforms_form {
    display: block !important;
    visibility: visible !important;
}

/* Ensure form wrapper is visible */
.form_wrapper {
    display: block !important;
    visibility: visible !important;
}

/* Hide any form elements that don't have step classes */
.the_buddyforms_form .col-xs-12:not([class*="step-"]) {
    display: none !important;
}

/* ===== STEP TITLES ===== */

.haven-step-title {
    font-size: 28px;
    font-weight: 700;
    color: #4fd1c7;
    margin-bottom: 10px;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.haven-step-subtitle {
    font-size: 16px;
    color: #8db3d4;
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

/* ===== BUDDYFORMS FORM STYLING ===== */

.the_buddyforms_form {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    position: relative;
    z-index: 1;
}


.border-box {
    border: 1px solid #002E51;
    border-radius: 4px;
    margin-bottom: 16px;
}

/* ===== CHECKBOX STYLING ===== */

.the_buddyforms_form .checkbox {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: 12px;
}

.the_buddyforms_form .checkbox label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    border: 2px solid #3a5f7a;
    border-radius: 8px;
    cursor: pointer;
    margin-bottom: 0;
}

/*.the_buddyforms_form .checkbox label:hover {
    border-color: #4fd1c7;
    background: rgba(79, 209, 199, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(79, 209, 199, 0.2);
}*/

.the_buddyforms_form .checkbox input[type="checkbox"] {
    appearance: none;
    width: 16px;
    height: 16px;
    border: 1px solid #9EF66A;
    border-radius: 4px;
    background: transparent;
    cursor: pointer;
    position: relative;
    margin-top: 2px;
    flex-shrink: 0;
    transition: all 0.3s ease !important;
}

.the_buddyforms_form .checkbox input[type="checkbox"]:checked {
    background: #001729;
}

.the_buddyforms_form .checkbox input[type="checkbox"]:checked::after {
    content: '';
    font-family: 'FontAwesome';
    position: absolute;
    top: 50% !important;
    left: 50%;
    transform: translate(-50%, -50%);
    background-image: url(/wp-content/themes/buddyboss-theme-child/assets/image/right-arrow.svg);
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    background-size: 50%;
    background-position: center center;
}

/* ===== RADIO BUTTON STYLING ===== */


.the_buddyforms_form .radio input[type="radio"]:checked+label {
    color: #4fd1c7 !important;
    border-color: #4fd1c7 !important;
    background: rgba(79, 209, 199, 0.1) !important;
    box-shadow: 0 0 15px rgba(79, 209, 199, 0.4);
}

.the_buddyforms_form .radio input[type="radio"] {
    display: none !important;
}

/* ===== ACF FIELDS STYLING ===== */

.the_buddyforms_form .acf-label label {
    font-weight: 600 !important;
    color: #4fd1c7 !important;
    margin-bottom: 15px !important;
    display: block !important;
    font-size: 18px !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.the_buddyforms_form .acf-input {
    margin-top: 15px !important;
}


/* ===== NAVIGATION BUTTONS ===== */


/* ===== SUBMIT BUTTON ===== */

.the_buddyforms_form input[type="submit"] {
    background: linear-gradient(135deg, #4fd1c7 0%, #38b2ac 100%) !important;
    color: #0a1520 !important;
    border: none !important;
    padding: 15px 30px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    box-shadow: 0 4px 15px rgba(79, 209, 199, 0.3) !important;
    width: auto !important;
    display: inline-block !important;
    margin-top: 20px !important;
}

.the_buddyforms_form input[type="submit"]:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(79, 209, 199, 0.4) !important;
}

/* Hide BuddyForms default submit button when using our navigation */
.the_buddyforms_form .haven-nav-buttons+input[type="submit"] {
    display: none !important;
}


/* ===== RESPONSIVE DESIGN ===== */

@media (max-width: 768px) {
    .haven-onboarding-container {
margin: 45px 5px;
        max-width: 100% !important;
    }

    .haven-step-title {
        font-size: 24px;
    }

    .haven-step-subtitle {
        font-size: 14px;
    }
}


/* ===== ANIMATIONS ===== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.haven-step.active {
    animation: fadeInUp 0.5s ease-out;
}

/* ===== HELPER CLASSES ===== */

.haven-field-group {
    position: relative;
    z-index: 1;
}

.haven-checkbox-wrapper {
    transition: all 0.3s ease !important;
}

.haven-option-item {
    transition: all 0.3s ease !important;
}

.haven-option-text {
    font-weight: 500 !important;
}

/* ===== VALIDATION ERRORS ===== */


/* ===== LOADING OVERLAY ===== */

.haven-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 21, 32, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(5px);
}

.haven-loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(79, 209, 199, 0.3);
    border-top: 3px solid #4fd1c7;
    border-radius: 50%;
    animation: havenSpin 1s linear infinite;
    margin-bottom: 20px;
}

.haven-loading-overlay p {
    color: #4fd1c7;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

@keyframes havenSpin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* ===== SUCCESS MESSAGE ===== */

.haven-success-message {
    background: linear-gradient(135deg, rgba(79, 209, 199, 0.1) 0%, rgba(56, 178, 172, 0.1) 100%);
    border: 2px solid rgba(79, 209, 199, 0.3);
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    position: relative;
    animation: havenFadeInUp 0.5s ease-out;
    backdrop-filter: blur(10px);
}

.haven-success-message::before {
    content: '✅';
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
}

.haven-success-message p {
    color: #4fd1c7 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    margin: 0 !important;
    padding-left: 40px !important;
    line-height: 1.5 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* ===== ERROR MESSAGE ===== */
.haven-validation-error {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    gap: 5px;
    background: linear-gradient(135deg, rgba(245, 101, 101, 0.1) 0%, rgba(229, 62, 62, 0.1) 100%);
    border: 1px solid rgba(245, 101, 101, 0.3);
    border-radius: 4px;
    padding: 15px 20px;
    margin: 20px 0;
    position: relative;
    animation: errorShake 0.5s ease-in-out;
}

@keyframes errorShake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}

.haven-error-message {
    background: linear-gradient(135deg, rgba(245, 101, 101, 0.1) 0%, rgba(229, 62, 62, 0.1) 100%);
    border: 2px solid rgba(245, 101, 101, 0.3);
    border-radius: 4px;
    padding: 7px 12px;
    position: relative;
    animation: havenFadeInUp 0.5s ease-out;
    backdrop-filter: blur(10px);
    color: #f56565;
    margin: 5px 0 0 0;
    font-weight: 500;
    font-size: 14px;
}

.haven-error-message:first-child {
    margin: 0;
}

.haven-error-message::before {
    font-size: 14px;
    margin-right: 6px;
}

.haven-error-message p {
    color: #f56565 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    margin: 0 !important;
    padding-left: 40px !important;
    line-height: 1.5 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

@keyframes havenFadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body.page-template-page-onboarding-php.page {
    background-color: #090b0c !important;
}

.page-template-page-onboarding .header-search-wrap.header-search-primary,
.page-template-page-onboarding .header-aside,
.page-template-page-onboarding .bb-mobile-header-wrapper .bb-left-panel-icon-wrap {
    display: none !important;
}

.haven-progress-line {
    position: absolute;
    left: 26px;
    top: 50%;
    transform: translateY(-50%);
    height: 4px;
    width: 0;
    background: #9EF66A;
    transition: width .45s ease;
    z-index: 2;
    margin-top: 0;
}

.haven-progress-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.haven-progress-steps .step.completed>span {
    display: inline-flex;
    z-index: 99;
    position: relative;
}

.haven-progress-steps li>span {
    z-index: 99;
    position: relative;
}

.wp_attributs.bf-start-row .bf_field_group .bf-input .radio label.active {
    background-color: #9ef66a14;
    border: 1px solid #296410;
    color: #9EF66A;
}

.haven-progress-steps .step.completed img.emoji {
    width: 8px;
    height: 8px;
    margin: 0;
    filter: invert(100%) sepia(22%) saturate(5028%) hue-rotate(34deg) brightness(138%) contrast(101%);
}



/* ===== SHARE DIALOG ===== */

.haven-share-dialog {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 21, 32, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(5px);
}

.haven-share-content {
    background: linear-gradient(135deg, #0a1520 0%, #1a2a3a 100%);
    border: 2px solid #4fd1c7;
    border-radius: 12px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    color: #ffffff;
    text-align: center;
}

.haven-share-content h3 {
    color: #4fd1c7;
    font-size: 20px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.haven-share-content p {
    color: #8db3d4;
    margin-bottom: 20px;
    line-height: 1.5;
}

.haven-share-content input {
    width: 100%;
    padding: 12px;
    background: rgba(15, 30, 45, 0.8);
    border: 1px solid #3a5f7a;
    border-radius: 6px;
    color: #ffffff;
    font-size: 14px;
    margin-bottom: 20px;
    box-sizing: border-box;
}

.haven-share-content input:focus {
    outline: none;
    border-color: #4fd1c7;
    box-shadow: 0 0 10px rgba(79, 209, 199, 0.3);
}

.haven-copy-btn,
.haven-close-btn {
    background: linear-gradient(135deg, #4fd1c7 0%, #38b2ac 100%);
    color: #0a1520;
    border: none;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.haven-copy-btn:hover,
.haven-close-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(79, 209, 199, 0.3);
}

.haven-close-btn {
    background: linear-gradient(135deg, #f56565 0%, #e53e3e 100%);
}

.haven-close-btn:hover {
    box-shadow: 0 4px 12px rgba(245, 101, 101, 0.3);
}


@media (max-width: 768px) {
    .haven-share-content {
        padding: 20px;
        margin: 20px;
    }

    .haven-share-content h3 {
        font-size: 18px;
    }

    .haven-copy-btn,
    .haven-close-btn {
        display: block;
        width: 100%;
        margin: 10px 0;
    }
}

/* ===== SUBMISSION SUCCESS ===== */

.haven-submission-success {
    background: linear-gradient(135deg, #0a1520 0%, #1a2a3a 100%);
    border-radius: 12px;
    padding: 40px;
    color: #ffffff;
    text-align: center;
    font-family: 'Arial', sans-serif;
}

.haven-success-icon {
    font-size: 60px;
    margin-bottom: 20px;
    animation: havenSuccessPulse 2s infinite;
}

@keyframes havenSuccessPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.haven-submission-success h2 {
    font-size: 28px;
    font-weight: bold;
    color: #4fd1c7;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.haven-submission-success p {
    font-size: 16px;
    color: #8db3d4;
    line-height: 1.6;
    margin-bottom: 20px;
}

.haven-loading-text {
    color: #4fd1c7 !important;
    font-weight: 600;
    margin-top: 15px;
}

.haven-note {
    font-size: 14px !important;
    color: #6b7280 !important;
    font-style: italic;
    margin-top: 30px;
    padding: 15px;
    background: rgba(107, 114, 128, 0.1);
    border-radius: 6px;
    border: 1px solid rgba(107, 114, 128, 0.2);
}

@media (max-width: 768px) {
    .haven-submission-success {
        padding: 30px 20px;
    }

    .haven-submission-success h2 {
        font-size: 24px;
    }

    .haven-success-icon {
        font-size: 50px;
    }
}

/* ===== SURVIVAL PROFILE STYLES ===== */
.haven-survival-profile {
    font-family: IBM Plex mono;
}

.haven-survival-profile .haven-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.haven-survival-profile .haven-logo-icon {
    font-size: 24px;
    margin-right: 10px;
    color: #4fd1c7;
}

.haven-survival-profile .haven-logo-text {
    font-size: 18px;
    font-weight: bold;
    color: #ffffff;
}
.haven-survival-profile .haven-profile-header {
    position: relative;
    margin-bottom: 32px;
}
.haven-onboarding-container h1.haven-profile-title {
    font-family: PP Right Grotesk;
    font-weight: 700;
    font-size: 44px;
    line-height: 100%;
    text-align: center;
    text-transform: uppercase;
    color: #F8F8FF;
    padding: 40px 0 48px;
    margin: 0;
}
.haven-onboarding-container h1.haven-profile-title:before,
.haven-onboarding-container h1.haven-profile-title:after,
.haven-survival-profile .haven-profile-header:before,
.haven-survival-profile .haven-profile-header:after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    border: 1px solid #9EF66A;
}
.haven-onboarding-container h1.haven-profile-title:before {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
}
.haven-onboarding-container h1.haven-profile-title:after {
    top: 0;
    right: 0;
    border-left: none;
    border-bottom: none;
}
.haven-survival-profile .haven-profile-header:before{
        bottom: 0;
    left: 0;
    border-right: none;
    border-top: none;
}
.haven-survival-profile .haven-profile-header:after{
        bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
}
.haven-survival-profile .haven-skills-overview {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    margin-bottom: 32px;
    padding: 32px 0;
    border-top: 1px solid #002E51;
    border-bottom: 1px solid #002E51;
}
.haven-skill-column{
position: relative;
}
@media (min-width: 768px) {
.haven-skill-column:nth-child(2):before,
.haven-skill-column:nth-child(2):after{
    content: '';
    background-color: #002E51;
    left: 0;
    top: 0;
    width: 1px;
    height: 24px;
    position: absolute;
}
.haven-skill-column:nth-child(2):after{
left: auto;
    right: 0;
}
}
.haven-survival-profile .haven-skill-column h3 {
color: #F8F8FF;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: IBM Plex Mono;
    font-weight: 600;
    font-size: 17px;
    line-height: 140%;
    text-align: center;
    margin: 0 0 16px;
}

.haven-survival-profile .haven-skill-value {
    color: #9EF66A;
    font-weight: 500;
    font-size: 15px;
    line-height: 140%;
    text-align: center;
}

.haven-survival-profile .haven-skill-list {
display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    text-align: center;
}

.haven-survival-profile .haven-skill-item {
    color: #F8F8FF;
    font-weight: 500;
    font-size: 13px;
    line-height: 140%;
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid #002E51;
    background-color: #002e5154;
    width: max-content;
    margin: auto;
}

.haven-survival-profile .haven-scores-section {
    margin-bottom: 16px;
}

.haven-survival-profile .haven-scores-section h2 {
    color: #F8F8FF;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    font-size: 17px;
    line-height: 140%;
    text-align: center;
    margin: 0 0 16px;
    font-family: 'IBM Plex Mono';
}

.haven-survival-profile .haven-score-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    justify-content: end !important;
    position: relative;
    background-color: transparent;
}
.haven-survival-profile .haven-score-item:before {
    content: '';
    height: 1px;
    width: 92%;
    bottom: 0;
    position: absolute;
    margin: auto;
    right: 0;
    background-color: #002E51;
}
.haven-survival-profile .haven-score-item:last-child:before{
     height: 0;
}
.haven-score-value.value-redium {
    color: #9EF66A;
}
.haven-score-value.value-yellow{
    color: #E5AE4F;
}
.haven-score-icon img{
   width: 36px;
   height: 36px;
       margin: 0;
}
.haven-survival-profile .haven-score-item span.haven-score-icon {
    width: auto;
}

.haven-score-label {
font-family: 'IBM Plex Sans';
    font-weight: 500;
    font-size: 15px;
    line-height: 140%;
    flex: 1;
    color: #F8F8FF;
}

.haven-score-value {
    font-weight: 600;
    font-size: 17px;
    line-height: 140%;
    text-align: right;
    color: #F8F8FF;
}

.haven-archetype-section {
    margin-bottom: 32px;
    padding: 32px;
    border-radius: 4px;
    border: 1px solid #002E51;
    background-image: url(/wp-content/themes/buddyboss-theme-child/assets/image/onborading.png);
    background-repeat: repeat;
    background-size: inherit;
    background-position: center;
}

.haven-archetype-section h2 {
    color: #F8F8FF;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    font-size: 17px;
    line-height: 140%;
    text-align: center;
        margin: 0 0 8px;
            font-family: 'IBM Plex Mono';
}
.haven-archetype-content .haven-archetype-title {
    color: #9EF66A;
    margin-bottom: 20px;
    letter-spacing: 2px;
    font-family: PP Right Grotesk;
    font-weight: 700;
    font-size: 44px;
    line-height: 100%;
    text-align: center;
    text-transform: uppercase;
}

.haven-archetype-content .haven-archetype-description {
    color: #F8F8FF;
    font-family: IBM Plex Sans;
    font-weight: 400;
    font-size: 15px;
    line-height: 140%;
    margin-bottom: 16px;
}
.haven-archetype-content .haven-archetype-description:last-child {
margin-bottom: 0;
}
.haven-archetype-content .haven-archetype-description strong {
    margin-bottom: 8px;
    display: block;
}
.haven-archetype-content .haven-archetype-description ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.haven-archetype-content .haven-archetype-description ul li {
    padding-bottom: 8px;
    position: relative;
}
.haven-archetype-content .haven-archetype-description ul li:before {
    content: '';
    width: 6px;
    height: 6px;
    background-color: #9ef66a;
    display: inline-flex;
    border-radius: 50px;
    position: relative;
    top: -1px;
    margin-right: 15px;
}

.haven-categories-section {
    margin-bottom: 40px;
}

.haven-categories-section h2 {
color: #F8F8FF;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    font-size: 17px;
    line-height: 140%;
    text-align: center;
    font-family: 'IBM Plex Mono';
}

.haven-categories-grid {
    display: grid;
    gap: 8px;
}

.haven-category-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13.5px 16px;
    border-radius: 4px;
    border: 1px solid #002E51;
    background-image: url(/wp-content/themes/buddyboss-theme-child/assets/image/onborading.png);
    background-repeat: repeat;
    background-size: inherit;
    background-position: center;
}

.haven-category-icon {
    font-size: 16px;
}

.haven-category-name {
    flex: 1;
    color: #F8F8FF;
    font-weight: 500;
    font-size: 15px;
    line-height: 140%;
        text-transform: uppercase;
}

.haven-category-count {
    color: #9EF66A;
    background: rgb(158 246 106 / 9%);
    border: 1px solid #9EF66A;
    width: 24px;
    height: 24px;
    opacity: 1;
    border-radius: 4px;
    font-weight: 500;
    font-size: 13px;
    line-height: 140%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.haven-profile-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.haven-action-button {
    background: linear-gradient(135deg, #4fd1c7 0%, #38b2ac 100%);
    color: #0a1520;
    border: none;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.haven-action-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(79, 209, 199, 0.3);
}

.haven-profile-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 21, 32, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(5px);
}

/* ===== HOME PROFILE CONTAINER ===== */
.haven-home-profile-container {
    margin: 20px 0;
    padding: 20px;
    background: rgba(10, 21, 32, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(79, 209, 199, 0.2);
}

.haven-home-profile-container .haven-survival-profile {
    margin: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .haven-step-header h2.haven-step-title,
    .haven-onboarding-container h1.haven-profile-title,
    .haven-archetype-content .haven-archetype-title {
        font-size: 34px;
    }

    .haven-step-group.haven-step-3 .haven-step-4-wrapper .label-desc-wrapper,
    .haven-step-group .haven-step-3-wrapper .bf_field.bf_field_group .label-desc-wrapper {
        padding-left: 10px;
    }
}

@media (max-width: 991px) {

    .haven-step-group .col-step-3 .bf_field_group ul.acf-checkbox-list li label,
    .haven-step-group.haven-step-3 .bf_field_group .bf-input .checkbox label {
        padding: 12px;
    }

    .haven-step-group .col-step-3 .bf_field_group ul.acf-checkbox-list li label.haven-checkbox-wrapper {
        gap: 10px;
    }

    .haven-step-group.haven-step-3 .haven-step-4-wrapper {
        margin-bottom: 20px;
    }
}

@media (max-width: 799px) {
    .site-header .bb-mobile-header .mobile-logo-wrapper {
        padding: 0;
        justify-content: center;
    }

    .site-header .bb-mobile-header-wrapper .bb-mobile-header {
        padding: 8px 15px;
    }
}
@media screen and (max-width: 782px) {
    body.admin-bar .site-header {
        top: 46px;
    }
}
@media (max-width: 767px) {
    .haven-step-header h2.haven-step-title,
    .haven-onboarding-container h1.haven-profile-title,
    .haven-archetype-content .haven-archetype-title {
        font-size: 28px;
    }

    .haven-step-header p.haven-step-subtitle,
    .bf-start-row .skill-selector-header {
        font-size: 14px;
    }

    .haven-step-header,
    .haven-onboarding-container h1.haven-profile-title {
        padding: 30px 0px;
    }

    .why-section ul.section-list li:before {
        padding: 3px;
        margin-right: 5px;
    }

    .haven-step-group .wp_Ce_test label.haven-field-label,
    .why-section .section-title,
    .haven-step-group .col-step-3 .bf_field.bf_field_group > label.acf-label,
    .haven-step-group.haven-step-3 .haven-step-4-wrapper h2 {
        font-size: 15px;
        padding: 10px;
    }

    .haven-step-nav .haven-custom-button,
    .dashboard-btn a {
        padding: 10px;
    }

    .haven-step-group .wp_Ce_test .bf-input,
    .why-section ul.section-list,
    .haven-step-group .haven-step-3-wrapper .bf_field.bf_field_group.acf-field-checkbox,
    .haven-step-group.haven-step-3 .haven-step-4-wrapper .bf_field_group {
        padding: 10px;
    }

    .haven-step-group .wp_Ce_test .bf-input .checkbox label.settings-input {
        gap: 10px;
    }

    .the_buddyforms_form .checkbox input[type="checkbox"] {
        width: 13px;
        height: 13px;
    }

    .the_buddyforms_form .checkbox input[type="checkbox"]:checked::after {
        font-size: 6px;
        margin-top: 0px;
    }

    .haven-step-header h2.haven-step-title:before {
        width: 26px;
        height: 30px;
        margin-right: 8px;
    }

    .wp_attributs.bf-start-row .bf_field_group label.haven-field-label {
        font-size: 14px;
    }

    .wp_attributs.bf-start-row .bf_field_group .bf-input {
        overflow: auto;
    }

    .wp_attributs.bf-start-row .bf_field_group {
        max-width: 450px;
    }

    .wp_attributs.bf-start-row .bf_field_group .bf-input .radio label {
        font-size: 14px;
    }

    .haven-step-group .col-step-3 .bf_field.bf_field_group ul.acf-checkbox-list,
    .haven-step-group.haven-step-3 .haven-step-4-wrapper .bf_field_group .bf-input {
        grid-template-columns: repeat(1, 1fr);
    }

    .haven-validation-error {
        padding: 10px;
    }

    .haven-error-message {
        font-size: 13px;
        line-height: 20px;
    }

    .haven-error-message::before {
        font-size: 10px;
    }
    .haven-score-value{
            font-size: 14px;
    }
    .haven-skills-overview{
                margin-bottom: 20px;
    padding: 16px 0;
    }
        .haven-skills-overview {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .haven-categories-grid {
        grid-template-columns: 1fr;
    }

    .haven-profile-actions {
        flex-direction: column;
        align-items: center;
    }
    .haven-skill-column h3{
    font-size: 15px;
        margin: 0 0 10px;
    }
    .haven-archetype-section {
    margin-bottom: 26px;
    padding: 15px;
}
.haven-scores-section h2 {
    font-size: 15px;
    margin: 0 0 10px;
}
#initial-haven-loading-overlay .spinner-text {
    font-size: 15px;
}
.haven-step-group.haven-step-3 .bf_field_group label.haven-field-label{
        font-size: 13px;
}
}

@media (max-width: 575px) {
    .haven-step-header,
    .haven-onboarding-container h1.haven-profile-title {
        padding: 20px 0px;
    }

    .haven-step-header h2.haven-step-title,
    .haven-onboarding-container h1.haven-profile-title,
    .haven-archetype-content .haven-archetype-title {
        font-size: 24px;
    }
}

.page-template-page-onboarding-php  .buddyforms-info {
    display: none !important;
}

/* Validation Error Styles */
.haven-validation-error {
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
    animation: slideInDown 0.3s ease-out;
}

.haven-validation-error .haven-error-message {
    color: #dc3545;
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
}

.haven-field-error {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

.haven-field-error-message {
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}
