@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

/* Обнулювання стилів */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif; /* Використання шрифту Inter */
    line-height: 1.6;
}

/* Приховуємо стрілочки для всіх браузерів */
input[type="number"] {
    -webkit-appearance: textfield;
    -moz-appearance: textfield;
    appearance: textfield;
}

/* Приховуємо стрілочки для Chrome, Safari, Edge, Opera */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    padding: 0 50px;
    background: rgba(255, 255, 255, 0.70);
    backdrop-filter: blur(5px);
    z-index: 1000; /* Забезпечує, що шапка буде над іншим контентом */
}

.header-text {
    display: flex;
    justify-content: center; /* Вирівнювання по центру */
    align-items: center;
    color: #171717;
    font-family: Inter;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: -0.96px;
}

.header-text span {
    margin-left: 70px;
    color: rgba(0, 0, 0, 0.40);
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: -0.64px;
} 

.content_demo {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: flex-end; /* Вирівнювання по нижньому краю */
    justify-content: flex-start; /* Вирівнювання по лівому краю */
    padding: 20px; /* Додатковий відступ від країв */
}

.user-info {
    display: -webkit-flex; /* Safari */
    display: flex;
    -webkit-align-items: center; /* Safari */
    align-items: center;
    -webkit-justify-content: flex-end; /* Safari */
    justify-content: flex-end;
    margin-left: auto;
    padding: 10px;
}

.user-info-text {
    color: #000;
    font-family: Inter, -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: -0.56px;
    margin-right: 10px;
    -webkit-font-smoothing: antialiased; /* Safari */
}

.user-info-photo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    -webkit-border-radius: 50%; /* Safari */
    object-fit: cover;
    -webkit-object-fit: cover; /* Safari */
}

.content_demo_text {
    display: flex;
    color: #F4F4F5;
    font-family: Inter;
    font-size: 300px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: -12px;
}
.header a {
    text-decoration: none;
    margin-left: auto;
            /* Вирівнювання праворуч */
}
.button {
    padding: 12px 16px;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
   border: 3px solid #E4E4E4;
    color: #000;
    font-family: Inter;
    font-size: 15px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    cursor: pointer;
    transition: all 0.3s ease;
}

.button:hover {
    background-color: #E4E4E4;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(228, 228, 228, 0.3);
}

.button_2 {
    padding: 12px 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    background: linear-gradient(108deg, #E0B7F3 0%, #B4C3FE 100%);
    color: #ffffff;
    font-family: Inter;
    font-size: 15px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 180px;
    cursor: pointer;
}

.button_2:hover {
    background: linear-gradient(108deg, #E0B7F3 0%, #E0B7F3 100%);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(224, 183, 243, 0.3);
}

.content {
    width: 100%;
    height: 100vh;
    padding: 60px 50px;
    display: flex;
}

.content_img_login {
    width: 70%;
    height: 100%;
    padding: 50px 50px;
    background-image: url(files/welcome_image.jpg) ;
    background-size: cover;
    border-radius: 30px;
    padding: 50px;
    display: flex;
    align-items: flex-end;

}

.content_img_login h1 {
    display: flex;
    color: #FFF;
    font-family: Inter;
    font-size: 96px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: -3.84px;
}
.content_img_profile_create {
    width: 50%;
    height: 100%;
    padding: 50px 50px;
    background-image: url(files/client_profile_alina.jpg);
    background-position: center;
    background-size: cover;
    border-radius: 30px;
    padding: 50px;
    display: flex;
    align-items: flex-end;
}
.content_img_profile_create h1 {
    color: #FFF;
    font-family: Inter;
    font-size: 48px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: -1.92px;
}
.content_img_profile_create h1 span {
    color: rgba(255, 255, 255, 0.60);
    backdrop-filter: blur(5px);
}
.content_form {
    width: 30%;
    height: 100%;
    padding: 50px;
    display: flex;
    align-items: center;
}
.content_form_profile_create {
    width: 50%;
    height: 100%;
    padding: 50px;
    display: flex;
}

.content_form_in {
    width: 100%;
}
.content_form_in_profile_create {
    width: 100%;
}
.content_form_in_profile_create h1 {
    color: #000;
    font-family: Inter;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: -0.96px;
}

.content_form_in h1 {
    color: #171717;
    font-family: Inter;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: -0.96px;
    margin-bottom: 30px;
}
.content_form_in p {
    color: #8F92A1;
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: -0.4px;
    margin-bottom: 50px;
}

label {
    color: #8F92A1;   
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 1 !important;
    letter-spacing: -0.4px;
}
input {
    width: 100%;
    height: 40px;
    margin-bottom: 20px;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid rgba(143, 146, 161, 0.20);
    padding-bottom: 13px;
    padding-top: 13px;
    transition: background-color 0.3s ease;
    color: var(--Black-B100, #171717);
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: -0.2px;
    background-color: rgba(255, 255, 255, 0);
}

select {
    width: 100%;
    margin-bottom: 20px;
    border-radius: 12px;
    border: 1px solid rgba(143, 146, 161, 0.20);
    padding: 12px 40px 12px 16px;
    transition: all 0.3s ease;
    color: #171717;
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: -0.2px;
    background: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 6L8 10L12 6' stroke='%238F92A1' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat;
    background-position: right 16px center;
    background-color: white;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

select:focus {
    outline: none;
    border-color: #E0B7F3;
    box-shadow: 0 0 0 4px rgba(224, 183, 243, 0.1);
}

select:hover {
    border-color: rgba(143, 146, 161, 0.4);
}

select option {
    color: #171717;
    background: white;
    padding: 12px;
}

select option:first-child {
    color: rgba(23, 23, 23, 0.4);
}

/* Стилі для Firefox */
select {
    -moz-padding-start: 12px;
}

/* Стилі для IE */
select::-ms-expand {
    display: none;
}

/* Стилі для Safari */
@media not all and (min-resolution:.001dpcm) { 
    @supports (-webkit-appearance:none) {
        select {
            padding-right: 40px;
        }
    }
}

input:focus {
    outline: none;
    border: none;
    border-bottom: 1px solid #171717;
    transition: background-color 0.3s ease;
}
input::placeholder {
    opacity: 0.4;
}

button {
    width: 100%;
    height: 60px;
    margin-top: 20px;
    border: none;
    border-radius: 35px;
    background: linear-gradient(108deg, #E0B7F3 0%, #B4C3FE 100%), #0052CC;
    color: #FFF;
    text-align: center;
    font-family: Inter;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
    letter-spacing: -0.2px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background: linear-gradient(108deg, #E0B7F3 0%, #E0B7F3 100%), #0052CC;
    transition: background-color 0.3s ease;
}

.tabs {
    display: flex;
    justify-content: left;
    margin-bottom: 50px;
}

.tabs button {
    flex-grow: 0;
    display: inline-block;
    text-align: center;
    margin-right: 50px;
    border: none;
    background: none;
    cursor: pointer;
    color: #8F92A1;
    font-family: Inter;
    font-size: 16px;
    font-weight: 600;
    line-height: normal;
    letter-spacing: -0.6px;
    transition: color 0.3s ease;
    position: relative;
    padding: 0;
    border-radius: 0;

    /* Додаємо для адаптивної ширини */
    width: auto;
    /* Кнопка адаптується під довжину тексту */
    white-space: nowrap;
    /* Запобігає переносу тексту */
}

.tabs button.active {
    color: #000;
}

.tabs button.active::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 2px;
    background-color: #000;
}

.tabs button:hover {
    color: #000;
}

.tab-content {
    display: flex;
    width: 100%;
    opacity: 0;
    height: 0;
    overflow: hidden;
    transition: opacity 0.5s ease, height 1s ease;
}

.tab-content.active {
    opacity: 1;
    height: auto;
}

.tab-content_column {
    width: 50%;
    padding-right: 30px;
}

.buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    gap: 16px;
}

.buttons button {
    padding: 10px 20px;
    border: none;
    border-radius: 12px;
    background-color: #b4c3fe;
    color: #fff;
    font-family: Inter;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.buttons button:hover {
    background-color: #e0b7f3;
}

.tabs-consultation {
    display: flex;
    justify-content: left;
    margin-bottom: 20px;
}
.tabs-consultation button {
    flex-grow: 0;
        display: inline-block;
        text-align: center;
        margin-right: 50px;
        border: none;
        background: none;
        cursor: pointer;
        color: #171717;
            font-family: Inter;
            font-size: 20px;
            font-style: normal;
            font-weight: 600;
            line-height: 100%;
            /* 20px */
            letter-spacing: -0.8px;
        transition: color 0.3s ease;
        position: relative;
        padding: 0;
        border-radius: 0;
    
        /* Додаємо для адаптивної ширини */
        width: auto;
        /* Кнопка адаптується під довжину тексту */
        white-space: nowrap;
        /* Запобігає переносу тексту */
}

.tabs-consultation button.active {
    color: #000;
}

.tabs-consultation button.active::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 2px;
    background-color: #000;
}

.tabs-consultation button:hover {
    color: #000;
}


.tab-content-future-consultation {
    
    width: 100%;
    opacity: 0;
    height: 0;
    overflow: hidden;
    transition: opacity 0.5s ease, height 1s ease;
}

.tab-content-future-consultation.active {
    opacity: 1;
    height: auto;
}
.content-consultation {
    width: 100%;
    padding: 60px 50px;
}

.consultation-header {
    width: 100%;
    display: flex;
    margin-bottom: 50px;
}

.consultation-header h1 {
    color: #171717;
        font-family: Inter;
        font-size: 48px;
        font-style: normal;
        font-weight: 600;
        line-height: normal;
        letter-spacing: -1.92px;
}
.consultation-header p {
    margin-left: 10px;
    color: #171717;
        font-family: Inter;
        font-size: 20px;
        font-style: normal;
        font-weight: 600;
        line-height: normal;
        letter-spacing: -0.8px;
}
.consultation-header p span {
    color: rgba(0, 0, 0, 0.40);
}

.consultation-content {
    width: 100%;
        display: flex;
        align-items: flex-start;
        gap: 20px;
}
.consultation-content-item {
    width: 380px;
    height: 100%;
    flex-shrink: 0;

}

.consultation-content-item-input {
        border-radius: 12px;
            background: rgba(143, 146, 161, 0.05);
            padding: 25px 20px;
            margin-bottom: 20px;
}



.consultation-content-item-data {
    flex: 1;
        /* займає весь доступний простір, що залишився */
        min-width: 0;
}






.input-with-symbol {
    position: relative;
    display: flex;
    align-items: center;
}

.currency-symbol {
    position: absolute;
    left: 0px;
    top: 7px;
    color: #171717;
    font-family: Inter;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: -0.2px;
}

.input-with-symbol input {
    padding-left: 13px;
    color: #171717;
    font-family: Inter;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: -0.2px;
}

.title-button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* margin-bottom: 15px; */
}

.title-button p {
    color: #8F92A1;
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
        font-weight: 600;
        line-height: 20px;
        letter-spacing: -0.4px;
}

.button-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.button-content-item-add {
    padding: 8px 14px;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    border: 3px solid #E4E4E4;
    color: #000;
    font-family: Inter;
    font-size: 12px !important;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.button-content-item-add:hover {
    background-color: #E4E4E4;
    border: 3px solid #E4E4E4;
    color: #000;
    transition: background-color 0.3s ease;
}

.button-content-item-close {
    width: 36px;
    height: 36px;
    border-radius: 100%;
    padding: 8px;
    background: url(files/close.svg) no-repeat center center rgba(222, 53, 11, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    transition: opacity 0.8s ease;
}

.button-content-item-close:hover {
    background: url(files/close.svg) no-repeat center center rgba(222, 53, 11, 0.2);
    transition: background-color 0.3s ease;
}


.block-item-add {
    /* margin-top: 20px; */
    /* margin-bottom: 20px; */
    margin-left: -20px;
    width: 380px;
    padding: 0px 20px 0px 20px;
    background: rgba(143, 146, 161, 0.05);
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: all 0.6s ease;
}



.input-group-asset-item-2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.input-group-asset-item-2 input {
    width: 160px !important;
}

.input-group-asset-item-2 input-with-prefix {
    width: 160px !important;
}

.in-icon {
    width: 32px;
    height: 32px;
    border-radius: 100%;
    background: url(files/up_active.svg) no-repeat center center rgba(0, 135, 90, 0.05);
    transition: background-color 0.3s ease;
    cursor: pointer;
}
.in-icon:hover {
    background: url(files/close.svg) no-repeat center center rgba(222, 53, 11, 0.2);
    transition: background-color 0.3s ease;
}



.in-icon-code {
    width: 32px;
    height: 32px;
    border-radius: 100%;
    border: 1px solid #8F92A1;
    transition: background-color 0.3s ease;
    cursor: pointer;
    transition: all 0.3s ease;
}

.in-icon-code:hover {
    background: url(files/active.svg) no-repeat center center rgba(0, 135, 90, 0.02);
    transition: background-color 0.3s ease;
    border: none;
    transition: all 0.3s ease;
}

.in-icon-code-active {
    background: url(files/active.svg) no-repeat center center rgba(0, 135, 90, 0.05);
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

.in-icon-code-active:hover {
    border: none;
    background: url(files/close.svg) no-repeat center center rgba(222, 53, 11, 0.2);
    transition: background-color 0.3s ease;
}



.in-icon-goals-code {
    width: 32px;
    height: 32px;
    border-radius: 100%;
    border: 1px solid #8F92A1;
    transition: background-color 0.3s ease;
    cursor: pointer;
    transition: all 0.3s ease;
}

.in-icon-goals-code:hover {
    background: url(files/active.svg) no-repeat center center rgba(0, 135, 90, 0.05);
    transition: background-color 0.3s ease;
    border: none;
    transition: all 0.3s ease;
}

.in-icon-goals-active {
    background: url(files/active.svg) no-repeat center center rgba(0, 135, 90, 0.05);
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

.in-icon-goals-active:hover {
    border: none;
    background: url(files/close.svg) no-repeat center center rgba(222, 53, 11, 0.2);
    transition: background-color 0.3s ease;
}







.block-item-status-item {
    display: flex;
    align-items: center;
    justify-content: left;
    
    margin-bottom: 10px;
    transition: all 0.5s ease;

}
.in-status-item {
    margin-left: 10px;
    width: 260px;
}
.in-status-item h3 {
    color: #171717;
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: -0.2px;
}
.in-status-item p {
    color: #8F92A1;
    font-family: Inter;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 16px;
    letter-spacing: -0.2px;
}

.in-icon-pasive {
    width: 32px;
    height: 32px;
    border-radius: 100%;
    background: url(files/down_pasive.svg) no-repeat center center rgba(222, 53, 11, 0.05);
    transition: background-color 0.3s ease;
    cursor: pointer;
;
}

.in-icon-pasive:hover {
    background: url(files/close.svg) no-repeat center center rgba(222, 53, 11, 0.2);
    transition: background-color 0.3s ease;
}



.block-item-status-item.removing {
    opacity: 0;
    transform: translateX(-20px);
}

.title-button input {
    width: 88px !important;
    text-align: center;
    margin-bottom: 10px;
}
.spouse-field {
    transition: opacity 0.8s ease;
}


.children-fields,
.additional-child,
.button-add-child {
    transition: opacity 0.8s ease;
}

.button-remove-child {
    width: 100%;
    padding: 8px 14px;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    border: 3px solid #E4E4E4;
    color: #000;
    font-family: Inter;
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fff;
    margin-top: 10px;
}

.button-remove-child:hover {
    background: #E4E4E4;
    transition: background-color 0.3s ease;
}


.children-fields .input-group:first-child {
    flex: 0 0 70% !important;
    width: 70%;
}

.children-fields .input-group:last-child {
    flex: 0 0 30% !important;
    width: 30%;
}

.additional-child {
    width: 100%;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(143, 146, 161, 0.10);
    opacity: 1;
    transition: opacity 0.3s ease;
}

.additional-child .children-fields {
    display: flex !important;
    flex-direction: row !important;
    gap: 20px;
    margin-bottom: 10px;
}

.additional-child .input-group:first-child {
    flex: 0 0 70% !important;
    width: 70%;
}

.additional-child .input-group:last-child {
    flex: 0 0 30% !important;
    width: 30%;
}

.input-group {
    flex: 1 1 auto;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    color: #8F92A1;
    font-family: Inter;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.4px;
}

.input-group input {
    width: 100%;
    height: 40px;
    margin-bottom: 0;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid rgba(143, 146, 161, 0.20);
    padding: 8px 0;
    color: #171717;
    font-family: Inter;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: -0.2px;
    background-color: transparent;
    transition: all 0.3s ease;
}

.input-group input:focus {
    outline: none;
    border-bottom: 1px solid #171717;
}

.input-group input::placeholder {
    color: rgba(23, 23, 23, 0.4);
}

.radio-group {
    display: flex;
    align-items: center;
    gap: 32px;
    margin: 20px 0;
}

.radio-group input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    border: 2px solid rgba(143, 146, 161, 0.2);
    border-radius: 50%;
    margin: 0;
    padding: 0;
    cursor: pointer;
    position: relative;
    background-color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.radio-group input[type="radio"]:checked {
    border-color: #E0B7F3;
    background-color: #fff;
}

.radio-group input[type="radio"]:checked::after {
    content: '';
    width: 12px;
    height: 12px;
    background: #E0B7F3;
    border-radius: 50%;
    position: absolute;
    animation: radioCheck 0.2s ease-in-out;
}

.radio-group input[type="radio"]:hover {
    border-color: rgba(224, 183, 243, 0.5);
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    color: #171717;
    font-family: Inter;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: -0.2px;
}

@keyframes radioCheck {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

button.button-add-child {
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
}

button.button-add-child{
    margin-top: 15px;
    padding: 10px 20px;
    border: none;
    background: #fff;
    color: #000;
    font-family: Inter;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    padding: 8px 14px;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    border: 3px solid #E4E4E4;
    margin-top: 15px;
}
button.button-add-child:hover {
    background: #E4E4E4;
    transition: background-color 0.3s ease;
}

button.button_save {
    display: flex;
    margin-top: 0;
    width: 150px;
    height: 49px;
    padding: 12px 16px;
    justify-content: center;    
    align-items: center;
    border-radius: 12px;
    background: linear-gradient(108deg, #E0B7F3 0%, #B4C3FE 100%);
    color: #ffffff;
    font-family: Inter;
    font-size: 15px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    cursor: pointer;
    transition: all 0.3s ease;
}

.button_save:hover {
    background: linear-gradient(108deg, #E0B7F3 0%, #E0B7F3 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(224, 183, 243, 0.3);
}

.consultation-content-item-header {
    width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    /* відстань між елементами */
    margin-bottom: 40px;
    margin-top: 20px;
}

.consultation-content-item-data-text {
    width: 380px;
    flex-shrink: 0;
    /* запобігає стисканню елемента */
}

.consultation-content-item-data-widjet {
    flex: 1;
    /* займає весь доступний простір, що залишився */
    min-width: 0;
    /* дозволяє елементу стискатися, якщо потрібно */
    margin: 50px 0;
}

.consultation-content-item-data-text p {
color: rgba(0, 0, 0, 0.50);
    font-family: Inter;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: -0.72px;
}
.consultation-content-item-data-text p span {
    color: #171717;
    
}



/* styles.css */
.widjet-item-line {
    position: relative;
    width: 100%;
    height: 12px;
    border-radius: 30px;
    background: rgba(143, 146, 161, 0.05);
   
}

.widjet-item-birthday {
    position: absolute;
    width: 22px;
    height: 22px;
    background: #fff;
    border: 4px solid #8F92A1;
    border-radius: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
}

.age-label {
    position: absolute;
    color: #171717;
        font-family: Inter;
        font-size: 12px;
        font-style: normal;
        font-weight: 600;
        line-height: 20px;
      
        letter-spacing: -0.2px;
    text-align: center;
    transition: all 0.3s ease;
    transform: translateX(-50%);
    top: 30px;
}

.balance-label {
    position: absolute;
    font-size: 12px;
    color: #171717;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    transform: translateX(-50%);
    top: -40px;
    border-radius: 4px;
        background: rgba(143, 146, 161, 0.10);
    padding: 2px 6px;
}

.widjet-item-date {
    display: flex;
    justify-content: space-between;
    color: #8F92A1;
            font-family: Inter;
                font-size: 12px;
                font-style: normal;
                font-weight: 600;
                line-height: 20px;
            
                letter-spacing: -0.2px;
    font-weight: 600;
    font-size: 14px;
    margin-top: 16px;
}

.widjet-item-birthday:hover {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 0 10px rgba(143, 146, 161, 0.3);
}


.chart-item {
    width: 100%;
    height: 650px;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(143, 146, 161, 0.10);
}
.chart-item {
    width: 100%;
    height: 660px;
    background: #fff;
    border-radius: 8px;
}

#splineChart {
    max-width: 100%;
    margin: 0 auto;
}
input[type="checkbox"] {
    width: 16px;
    height: 16px;
}

.button-content-active {
    background: #D4E9E2;
    border: 3px solid #D4E9E2 !important;
}
.button-content-active:hover {
    border: 3px solid #E4E4E4 !important;
}

.data-result-summary {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
    margin-bottom: 20px;
    grid-auto-flow: dense;
}

.savings-line {
    position: absolute;
    width: 2px;
    height: 100%;
    background: transparent;
    border-left: 1px dashed #8F92A1;
    top: 0;
    transform: translateX(-50%);
    z-index: 1;
}

.balance10-line,
.balance20-line {
    position: absolute;
    width: 2px;
    height: 100%;
    background: transparent;
    border-left: 1px dashed #8F92A1;
    top: 0;
    transform: translateX(-50%);
    z-index: 1;
}

.balance10-label,
.balance20-label {
    position: absolute;
    top: -20px;
    /* Відстань над лінією */
    transform: translateX(-50%);
    background-color: #fff;
    padding: 2px 5px;
    border-radius: 3px;
    font-size: 12px;
    color: #333;
    z-index: 2;
}

.age10-label,
.age20-label {
    position: absolute;
        color: #171717;
        font-family: Inter;
        font-size: 12px;
        font-style: normal;
        font-weight: 600;
        line-height: 20px;
        letter-spacing: -0.2px;
        text-align: center;
        transition: all 0.3s ease;
        transform: translateX(-50%);
        top: 30px;
        opacity: 0;
}

.prediction10-label,
.prediction20-label {
    position: absolute;
        font-size: 12px;
        color: #17171770;
        font-weight: 600;
        text-align: center;
        transition: all 0.3s ease;
        transform: translateX(-50%);
        top: -40px;
        border-radius: 4px;
        background: rgba(143, 146, 161, 0.10);
        padding: 2px 6px;
        opacity: 0;
}


.savings-label {
    position: absolute;
        color: #171717;
        font-family: Inter;
        font-size: 12px;
        font-style: normal;
        font-weight: 600;
        line-height: 20px;
    
        letter-spacing: -0.2px;
        text-align: center;
        transition: all 0.3s ease;
        transform: translateX(-50%);
        top: 30px;
        opacity: 0.6;
}

/* Великий елемент */
.data-result-summary-item.big-item {
    /* Займає 2x2 клітинки */
    grid-column: span 2;
    grid-row: span 2;
    height: 280px;
    width: 100%;
}
.data-result-summary-item.middle-item {
    /* Займає 2x2 клітинки */
    grid-column: span 1;
    grid-row: span 2;
    height: 280px;
    width: 100%;
}

.data-result-summary-item {
    position: relative;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    min-height: 130px;
    border: 1px solid rgba(143, 146, 161, 0.10);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.data-result-summary-item-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.info-tooltip {
    position: relative;
    display: inline-block;
}

.info-icon {
    cursor: pointer;
    width: 16px;
    height: 16px;
    transition: opacity 0.3s ease;
}

.info-icon:hover {
    opacity: 0.7;
}

.tooltip {
    position: absolute;
    visibility: hidden;
    opacity: 0;
    width: 280px;
    background: #FFFFFF;
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
    pointer-events: none;
    border: 1px solid rgba(143, 146, 161, 0.1);
}

.tooltip.show {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.tooltip::before {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background: #FFFFFF;
    border: 1px solid rgba(143, 146, 161, 0.1);
    transform: rotate(45deg);
}

.tooltip.position-right {
    left: calc(100% + 15px);
    top: 50%;
    transform: translateY(-50%);
}

.tooltip.position-right::before {
    left: -7px;
    top: 50%;
    margin-top: -6px;
    border-right: none;
    border-top: none;
}

.tooltip.position-left {
    right: calc(100% + 15px);
    top: 50%;
    transform: translateY(-50%);
}

.tooltip.position-left::before {
    right: -7px;
    top: 50%;
    margin-top: -6px;
    border-left: none;
    border-bottom: none;
}

.tooltip.position-top {
    bottom: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%);
}

.tooltip.position-top::before {
    bottom: -7px;
    left: 50%;
    margin-left: -6px;
    border-top: none;
    border-left: none;
}

.tooltip.position-bottom {
    top: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%);
}

.tooltip.position-bottom::before {
    top: -7px;
    left: 50%;
    margin-left: -6px;
    border-bottom: none;
    border-right: none;
}

.tooltip-title {
    color: #171717;
    font-family: Inter;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: -0.4px;
}

.tooltip-description {
    color: rgba(23, 23, 23, 0.6);
    font-family: Inter;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 500;
}

.data-result-summary-item-header p {
    color:  #8F92A1;
        font-family: Inter;
        font-size: 14px;
        font-style: normal;
        font-weight: 600;
        line-height: 14px;
        /* 100% */
        letter-spacing: -0.4px;
}

.data-result-summary-item-header img {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.data-result-summary-item>p:last-child {
    color: #171717;
        font-family: Inter;
        font-size: 24px;
        font-style: normal;
        font-weight: 600;
        line-height: 100%;
        /* 24px */
        letter-spacing: -0.2px;
}

.consultation-content-item h3 {
    color: #171717;
    font-family: Inter;
    font-size: 16px !important;
    font-style: normal;
    font-weight: 600;
   
}

.passive-income-label {
    color: #8F92A1;
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 14px;
    letter-spacing: -0.4px;
    margin-bottom: 10px;
}

.road-sum-passive {
    margin-bottom: 20px;
}
.road-sum-passive p {
        color: #171717;
            font-family: Inter;
            font-size: 14px;
            font-style: normal;
            font-weight: 600;
            line-height: 14px;
            letter-spacing: -0.4px;
            margin-bottom: 8px;
}

.input-group-goals-all {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.input-group-goals-item {
    width: 100%;
}

.input-group-goals-item-2 {
    display: flex;
    gap: 16px;
}

.input-group-goals-item-2 .input-with-symbol,
.input-group-goals-item-2 input[type="number"] {
    flex: 1;
}

/* Стилі для відображення доданих цілей */


.goal-item-info {
    display: flex;
    flex-direction: column;
    margin-left: 13px;
}

.goal-item-name {
    color: #171717;
    font-family: Inter;
    font-size: 16px !important;
    font-style: normal;
    font-weight: 600;
}

.goal-item-details {
color: #8F92A1;
    font-family: Inter;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 16px;
    letter-spacing: -0.2px;
}

.goals-add-form {
    /* margin-top: 30px; */
    opacity: 0;
    transition: all 0.3s ease-in-out;

}

.goal-item {
    display: flex;
    align-items: center;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease-in-out;
    margin-bottom: 16px;
}

.code-goals-item-item {
        display: flex;
            align-items: center;
        margin-bottom: 10px;
}






.button-content-goals {
    display: flex;
    justify-content: space-between;
    align-items: center;
}



.button-content-item-goals-add {
    padding: 8px 14px;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    border: 3px solid #E4E4E4;
    color: #000;
    font-family: Inter;
    font-size: 12px !important;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.button-content-item-goals-add:hover {
    background-color: #E4E4E4;
    border: 3px solid #E4E4E4;
    color: #000;
    transition: background-color 0.3s ease;
}

.button-content-item-goals-close {
    width: 36px;
    height: 36px;
    border-radius: 100%;
    padding: 8px;
    background: url(files/close.svg) no-repeat center center rgba(222, 53, 11, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    transition: opacity 0.3s ease;
}

.button-content-item-goals-close:hover {
    background: url(files/close.svg) no-repeat center center rgba(222, 53, 11, 0.2);
    transition: background-color 0.3s ease;
}

.block-item-goals-add {
    margin-top: 20px;
    margin-bottom: 20px;
    margin-left: -20px;
    width: 380px;
    padding: 10px 20px 10px 20px;
    background: rgba(143, 146, 161, 0.05);
}

.input-group-goals-item-2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.in-icon-goals {
    width: 32px;
    height: 32px;
    border-radius: 100%;
    background: url(files/up_active.svg) no-repeat center center rgba(0, 135, 90, 0.05);
    transition: background-color 0.3s ease;
    cursor: pointer;
    ;
}

.in-icon-goals:hover {
    background: url(files/close.svg) no-repeat center center rgba(222, 53, 11, 0.2);
    transition: background-color 0.3s ease;
}


.data-result-indicator {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.data-result-indicator-x25 {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.data-result-indicator-S_R {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.data-result-indicator-Wealth_Ratio {
        width: 100%;
            display: flex;
            align-items: center;
            justify-content: space-between;
}

.data-result-indicator-item {
    width: 4px;
    background: rgba(143, 146, 161, 0.20);
    height: 16px;
    border-radius: 5px;
}

.data-result-indicator-item-x25 {
    width: 4px;
    background: rgba(143, 146, 161, 0.20);
    height: 16px;
    border-radius: 5px;
}
.data-result-indicator-item-S_R {
    width: 4px;
    background: rgba(143, 146, 161, 0.20);
    height: 16px;
    border-radius: 5px;
}
.data-result-indicator-item-Wealth_Ratio {
        width: 4px;
            background: rgba(143, 146, 161, 0.20);
            height: 16px;
            border-radius: 5px;
}




.bar-chart-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}



.bar-chart-container {
    padding: 0;
}

.bar-chart {
    width: 100%;
}

.bar-item {
    display: flex;
    flex-direction: column;
}

.bar {
    height: 40px;
    background: #F9FAFA;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.bar span {
    font-size: 12px;
    font-weight: 600;
}

.bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: var(--width, 0%);
    transition: width 0.5s ease;
}
.bar-forecast  {
    margin-bottom: 10px;
}
.bar-forecast::after {
    background-color: #00875A;
}

.bar-total::after {
    background-color: #FF6D1F;
}

.bar-label {
    font-size: 12px;
    font-weight: 600;
    color: #8F92A1;
    margin-bottom: 3px;
    letter-spacing: -0.4px;
    opacity: 0.6;
}

.bar-value {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    color: #333;
    font-weight: 500;
    font-size: 14px;
}

.button-content-goals-item-3 {
    display: flex;
    gap: 4px;
    justify-content: space-between;
    margin-bottom: 20px;
}

.button-content-goals-item-3-item {
    
    padding: 4px 6px;
    justify-content: center;
    align-items: center;
    border-radius: 6px;
    border: 3px solid #E4E4E4;
    color: #8F92A1;
    font-family: Inter;
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    cursor: pointer;
    text-align: center;
}


.code-item-status {
    margin-bottom: 20px;
}

.code-item-status-item {
    display: flex;
    align-items: center;
    justify-content: left;
    margin-bottom: 10px;
    transition: all 0.5s ease;

}


.code-item-status p {
    color: #8F92A1;
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
}

.code-goals-item p {
    color: #8F92A1;
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
}

.content-line {
    width: 100%;
    height: 1px;
    background: #E4E4E4;
    margin-bottom: 20px;
    margin-top: 20px;
    opacity: 0.5;
}

#available_investment {
    text-decoration-line: underline;
        text-decoration-style: solid;
        text-decoration-skip-ink: auto;
        text-decoration-thickness: auto;
        text-underline-offset: auto;
        cursor: pointer;
}





.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.preloader.fade-out {
    opacity: 0;
}

.preloader-content {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.preloader-logo {
    color: black;
    font-size: 40px;
    font-family: Inter;
    font-weight: 600;
    opacity: 0;
    animation: fadeIn 3s ease forwards;
    position: relative;
    z-index: 2;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.preloader-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border: 60px solid #E0B7F3;
    border-radius: 50%;
    animation: circleAnimation 2s ease forwards;
    z-index: 1;
    transform: translate(-50%, -50%);
}

@keyframes circleAnimation {
    0% {
        width: 0;
        height: 0;
        opacity: 0.8;
        transform: translate(-50%, -50%);
    }
    100% {
        width: 300vh;
        height: 300vh;
        opacity: 0;
        transform: translate(-50%, -50%);
    }
}

.welcome_future_text {
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    color: #171717;
    font-family: Inter;
    font-size: 30px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: -0.96px;
    text-align: center;
    opacity: 0.4;
}

.welcome_future_text p {
    color: #171717;
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: -0.4px;
    text-align: center;
    margin-top: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.create_profile_button {
    position: absolute;
    bottom: 30vh;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.create_profile_button a {
    padding: 16px 32px;
    background: linear-gradient(108deg, #E0B7F3 0%, #B4C3FE 100%);
    border-radius: 45px;
    color: #FFF;
    font-family: Inter;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.create_profile_button a:hover {
    background: linear-gradient(108deg, #E0B7F3 0%, #E0B7F3 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(224, 183, 243, 0.3);
}

@keyframes buttonFadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, 20px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

/* Стилізація input[type="date"] для кросбраузерності */
input[type="date"] {
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    color: #171717;
    font-family: Inter;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: -0.2px;
    padding-right: 30px;
    background: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 2H4C2.89543 2 2 2.89543 2 4V12C2 13.1046 2.89543 14 4 14H12C13.1046 14 14 13.1046 14 12V4C14 2.89543 13.1046 2 12 2Z' stroke='%238F92A1' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M2 6H14' stroke='%238F92A1' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M6 2V4' stroke='%238F92A1' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M10 2V4' stroke='%238F92A1' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right center;
    cursor: pointer;
}

/* Стилізація для WebKit браузерів (Chrome, Safari) */
input[type="date"]::-webkit-calendar-picker-indicator {
    opacity: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    cursor: pointer;
}

input[type="date"]::-webkit-datetime-edit {
    padding: 0;
}

input[type="date"]::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
}

input[type="date"]::-webkit-datetime-edit-text {
    color: #171717;
    padding: 0 2px;
}

input[type="date"]::-webkit-datetime-edit-month-field,
input[type="date"]::-webkit-datetime-edit-day-field,
input[type="date"]::-webkit-datetime-edit-year-field {
    color: #171717;
}

input[type="date"]::-webkit-inner-spin-button {
    display: none;
}

input[type="date"]::-webkit-clear-button {
    display: none;
}

/* Стилізація для Firefox */
input[type="date"]::-moz-calendar-picker-indicator {
    opacity: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    cursor: pointer;
}

/* Стилізація кастомного датапікера */
.custom-datepicker {
    display: none;
    position: absolute;
    width: 350px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 16px;
    margin-top: 8px;
    z-index: 1000;
}

.custom-datepicker.active {
    display: block;
}

.datepicker-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.datepicker-selectors {
    display: flex;
    gap: 12px;
    flex: 1;
}

.select-wrapper {
    position: relative;
    flex: 1;
}

.select-wrapper select {
    width: 100%;
    height: 40px;
    padding: 0 30px 0 12px;
    border-radius: 8px;
    border: 1px solid rgba(143, 146, 161, 0.2);
    background: white;
    color: #171717;
    font-family: Inter;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.select-arrow {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.select-arrow::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #171717;
}

.datepicker-nav {
    display: flex;
    gap: 8px;
    margin-left: 12px;
    font-family: Inter;
}

.datepicker-nav button {
    font-family: Inter;
    width: 40px;
    height: 40px;
    background: white;
    border: 1px solid rgba(143, 146, 161, 0.2);
    border-radius: 8px;
    cursor: pointer;
    color: #171717;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    margin: 0;
    padding: 0;
}

.datepicker-nav button:hover {
    background: rgba(143, 146, 161, 0.1);
    border-color: rgba(143, 146, 161, 0.3);
}

.datepicker-nav button:active {
    transform: scale(0.95);
    background: rgba(143, 146, 161, 0.15);
}

.current-month {
    color: #171717;
    font-family: Inter;
    font-size: 14px;
    font-weight: 600;
}

.weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    margin-bottom: 8px;
}

.weekdays span {
    color: #8F92A1;
    font-family: Inter;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    padding: 4px;
}

.days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.days button {
    background: none;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    cursor: pointer;
    color: #171717;
    font-family: Inter;
    font-size: 14px;
    font-weight: 500;
    margin: 0;
    padding: 0;
    transition: all 0.3s ease;
}

.days button:hover {
    background: rgba(143, 146, 161, 0.1);
}

.days button.selected {
    background: linear-gradient(108deg, #E0B7F3 0%, #B4C3FE 100%);
    color: white;
    font-weight: 600;
}

.days button.today {
    border: 2px solid #E0B7F3;
}

.days button:disabled {
    color: #8F92A1;
    cursor: not-allowed;
    opacity: 0.5;
}

.select-wrapper select:focus {
    outline: none;
    border-color: #E0B7F3;
}

/* Приховуємо стандартну стрілку в IE */
.select-wrapper select::-ms-expand {
    display: none;
}

/* Стилі для hover стану */
.select-wrapper:hover select {
    border-color: rgba(143, 146, 161, 0.4);
}

/* Активний стан */
.select-wrapper select:active {
    background-color: rgba(143, 146, 161, 0.05);
}


.input-group {
    flex: 1;
    min-width: 200px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    color: #8F92A1;
    font-family: Inter;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.4px;
}

.input-group input {
    width: 100%;
    height: 40px;
    margin-bottom: 0;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid rgba(143, 146, 161, 0.20);
    padding: 8px 0;
    color: #171717;
    font-family: Inter;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: -0.2px;
    background-color: transparent;
    transition: all 0.3s ease;
}

.input-group input:focus {
    outline: none;
    border-bottom: 1px solid #171717;
}

.input-group input::placeholder {
    color: rgba(23, 23, 23, 0.4);
}

.children-container {
    width: 100%;
}



.children-fields.visible {
    display: flex;
    opacity: 1;
}

.button-add-child {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.button-add-child.visible {
    display: block;
    opacity: 1;
}

.input-group label {
    color: #8F92A1;
    opacity: 0.6;
}

.profile-content {
    margin-top: 50px;
}

.profile-info-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.info-section {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid rgba(143, 146, 161, 0.10);
    transition: all 0.3s ease;
}

/* Перші три секції займають по одній колонці */
.info-section:nth-child(-n+3) {
    grid-column: span 1;
}

/* Контейнери для 4-ї та 5-ї колонок */
.info-section:nth-child(4),
.info-section:nth-child(5) {
    grid-column: span 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 0;
    background: transparent;
    border: none;
}

/* Внутрішні блоки в 4-й та 5-й колонках */
.info-section:nth-child(4) .info-block,
.info-section:nth-child(5) .info-block {
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(143, 146, 161, 0.10);
    border-radius: 12px;
    padding: 25px;
    flex: 1;
}

.info-section h3 {
    color: #8F92A1;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: -0.4px;
}

.info-field {
    margin-bottom: 15px;
}

.info-field label {
   color: rgba(0, 0, 0, 0.30);
}

.empty-field p {
    color: rgba(23, 23, 23, 0.4);
    font-style: italic;
    font-size: 14px;
}

.roadmap-section {
    margin-top: 50px;
    padding-bottom: 50px;
    position: relative;
}

.roadmap-section h2 {
    font-size: 36px;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.40);
    margin-bottom: 20px;
    letter-spacing: -1.2px;
    line-height: 1.2;
    max-width: 800px;
}

.roadmap-section h2 span {
    background: rgba(0, 0, 0, 1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.roadmap-description-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    margin-bottom: 30px;
}

.roadmap-description {
    color: rgba(0, 0, 0, 0.40);
    font-size: 18px;
    line-height: 1.5;
    font-weight: 600;
    letter-spacing: -0.4px;
    max-width: 400px;
}

.progress-text {
    color: rgba(0, 0, 0, 0.40);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.4px;
    text-align: right;
    position: static;
}

.progress-text span {
    color: rgba(0, 0, 0, 1);
}

.progress-timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 40px;
}

.progress-timeline::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 0;
    right: 0;
    height: 12px;
    background: rgba(143, 146, 161, 0.1);
    z-index: 1;
}

.timeline-item {
    position: relative;
    width: 18%;
    padding-top: 100px;
    transition: all 0.3s ease;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    border: 4px solid #8F92A1;
    z-index: 2;
    transition: all 0.3s ease;
}

.timeline-item.completed::before {
   
    border-color: #ABEA98;
    transform: scale(1.2);
}

.timeline-item.active::before {
    background: #fff;
    border-color: #E0B7F3;
    transform: scale(1.2);
    box-shadow: 0 0 0 4px rgba(224, 183, 243, 0.2);
}

.timeline-content {
    position: relative;
}

.timeline-content h3 {
    color: #171717;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: -0.4px;
}

.timeline-content p {
    color: rgba(0, 0, 0, 0.50);
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 25px;
    font-weight: 600;
    letter-spacing: -0.2px;
}

.status {
    margin-top: 35px;
    color: #ABEA98;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.2px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.status::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #ABEA98;
    border-radius: 50%;
}

.status-pending {
    color: #8F92A1;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.2px;
    opacity: 0.8;
}

.start-button {
    background: linear-gradient(108deg, #E0B7F3 0%, #B4C3FE 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 12px 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: -0.2px;
    width: auto;
    height: auto;
    margin-top: 0;
    position: relative;
    overflow: hidden;
    transform: all 0.3s ease;
}

.start-button:hover {
    background: linear-gradient(108deg, #E0B7F3 0%, #E0B7F3 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(224, 183, 243, 0.3);
}

.start-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(224, 183, 243, 0.2);
}

.timeline-item.completed .timeline-content::before {
    content: '';
    position: absolute;
    top: -70px;
    left: 12px;
    width: calc(100% + 40px);
    height: 12px;
    background: linear-gradient(-90deg, rgba(171, 234, 152, 0.00) 0%, #ABEA98 100%);
    z-index: 1;
}

.consultation-header {
    display: flex;
    gap: 12px;
    margin-bottom: 40px;
}

.consultation-header h1 {
    color: #171717;
    font-size: 48px;
    font-weight: 600;
    letter-spacing: -1.92px;
    margin: 0;
}

.consultation-header p {
    color: rgba(23, 23, 23, 1);
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.8px;
    margin: 0;
    padding-top: 8px;
}

/* Стилі для сторінки списку клієнтів */
.clients-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.clients-header h1 {
    color: #171717;
    font-size: 48px;
    font-weight: 600;
    letter-spacing: -1.92px;
    margin: 0;
}

.clients-list {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
}

.clients-list-header {
    display: grid;
    grid-template-columns: 2fr 3fr 2fr 2fr 1fr;
    gap: 20px;
    padding: 20px;
    background: rgba(143, 146, 161, 0.05);
    border-bottom: 1px solid rgba(143, 146, 161, 0.1);
}

.clients-list-header div {
    color: #8F92A1;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.4px;
}

.client-row {
    display: grid;
    grid-template-columns: 2fr 3fr 2fr 2fr 1fr;
    gap: 20px;
    padding: 20px;
    border-bottom: 1px solid rgba(143, 146, 161, 0.1);
    transition: background-color 0.3s ease;
}

.client-row:hover {
    background-color: rgba(143, 146, 161, 0.02);
}

.client-name {
    color: #171717;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.client-details {
    color: #8F92A1;
    font-size: 14px;
}

.col-financial {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.financial-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.financial-item .label {
    color: #8F92A1;
    font-size: 12px;
    font-weight: 500;
}

.financial-item .value {
    color: #171717;
    font-size: 14px;
    font-weight: 600;
}

.financial-item .value.income {
    color: #00875A;
}

.financial-item .value.expenses {
    color: #DE350B;
}

.col-contacts {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-item {
    color: #171717;
    font-size: 14px;
    font-weight: 500;
}

.communication-method {
    color: #171717;
    font-size: 14px;
    font-weight: 500;
    padding: 4px 8px;
    background: rgba(143, 146, 161, 0.1);
    border-radius: 4px;
    display: inline-block;
}

.col-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.action-button {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: none;
    background: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.action-button:hover {
    background: rgba(143, 146, 161, 0.1);
}

.action-button img {
    width: 16px;
    height: 16px;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.action-button:hover img {
    opacity: 1;
}

/* Стилі для підказок */
.tooltip {
    position: absolute;
    display: none;
    width: 300px;
    background: #FFFFFF;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    border: 1px solid rgba(143, 146, 161, 0.1);
}

.tooltip::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 16px;
    height: 16px;
    background: #FFFFFF;
    border-left: 1px solid rgba(143, 146, 161, 0.1);
    border-top: 1px solid rgba(143, 146, 161, 0.1);
}

.tooltip-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.tooltip-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(143, 146, 161, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.tooltip-title {
    color: #171717;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.4px;
}

.tooltip-description {
    color: rgba(23, 23, 23, 0.6);
    font-size: 14px;
    line-height: 1.4;
    font-weight: 500;
}

.data-result-summary-item-header {
    position: relative;
}

.info-icon {
    cursor: pointer;
    width: 16px;
    height: 16px;
    transition: opacity 0.3s ease;
}

.info-icon:hover {
    opacity: 0.7;
}

.slide-panel-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.slide-panel-overlay.active {
    opacity: 1;
    visibility: visible;
}

.slide-panel {
    position: fixed;
    top: 0;
    right: -30%;
    width: 30%;
    height: 100%;
    background: #FFFFFF;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    padding: 24px;
    transition: all 0.3s ease;
    z-index: 1001;
    overflow-y: auto;
}

.slide-panel.active {
    right: 0;
}

.slide-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(143, 146, 161, 0.1);
}

.slide-panel-title {
    color: #171717;
    font-family: Inter;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.4px;
}

.slide-panel-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: rgba(143, 146, 161, 0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.slide-panel-close:hover {
    background: rgba(143, 146, 161, 0.2);
}

.slide-panel-content {
    color: rgba(23, 23, 23, 0.6);
    font-family: Inter;
    font-size: 14px;
    line-height: 1.6;
    font-weight: 500;
}


.alert {
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    animation: slideDown 0.3s ease-out;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.alert-error {
    background-color: rgba(222, 53, 11, 0.1);
    color: #DE350B;
    border: 1px solid rgba(222, 53, 11, 0.2);
}

.alert-success {
    background-color: rgba(0, 135, 90, 0.1);
    color: #00875A;
    border: 1px solid rgba(0, 135, 90, 0.2);
}

.alert-content {
    flex-grow: 1;
    padding-right: 15px;
    font-size: 14px;
    line-height: 1.5;
}

.alert-close {
    background: none;
    border: none;
    color: inherit;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.alert-close:hover {
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.05);
}

.alert.hiding {
    animation: slideUp 0.3s ease-out forwards;
}

@keyframes slideDown {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(-20px);
        opacity: 0;
    }
}

.code-table {
    border-radius: 8px;
}

.investment-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-family: Inter;
}

.investment-table th {
    background: rgba(143, 146, 161, 0.05);
    padding: 12px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
    color: #8F92A1;
    border-bottom: 1px solid rgba(143, 146, 161, 0.1);
}

.investment-table td {
    padding: 8px;
    font-size: 14px;
    color: #171717;
    border-bottom: 1px solid rgba(143, 146, 161, 0.1);
}

.investment-table tbody tr:hover {
    background-color: rgba(143, 146, 161, 0.02);
}

.investment-table td:first-child {
    font-weight: 600;
}

.btn-primary-save-result {
    width: 20%;
    padding: 12px 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 40px;
    background: linear-gradient(108deg, #E0B7F3 0%, #B4C3FE 100%);
    color: #ffffff;
    font-family: Inter;
    font-size: 15px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 180px;
    border: none;
    margin: 20px 0;
}

.btn-primary-save-result:hover {
    background: linear-gradient(108deg, #E0B7F3 0%, #E0B7F3 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(224, 183, 243, 0.3);
}

.btn-primary-save-result:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(224, 183, 243, 0.2);
}
