body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    background-color: white;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    position: absolute;
    top: calc(50% - 320px); /* ÃÅ¸ÃÂ¾ÃÂ»ÃÂ¾ÃÂ²ÃÂ¸ÃÂ½ÃÂ° ÃÂ²Ã‘â€¹Ã‘ÂÃÂ¾Ã‘â€šÃ‘â€¹ ÃÂ¼ÃÂµÃÂ½Ã‘Å½ (706px/2) */
    left: calc(50% - 655px); /* ÃÂ¦ÃÂµÃÂ½Ã‘â€šÃ‘â‚¬ ÃÂ¼ÃÂ¸ÃÂ½Ã‘Æ’Ã‘Â ÃÂ¿ÃÂ¾ÃÂ»ÃÂ¾ÃÂ²ÃÂ¸ÃÂ½ÃÂ° Ã‘Ë†ÃÂ¸Ã‘â‚¬ÃÂ¸ÃÂ½Ã‘â€¹ ÃÂ¼ÃÂµÃÂ½Ã‘Å½ (870px/2) + 30px */
    transform: translateY(-50%);
    z-index: 10;
    margin: 0;
}

.logo img {
    width: 170px;
    height: auto;
}


.menu-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.menu-container {
    width: 870px;
    height: 706px;
    border: 1px solid #5A90E0;
    border-radius: 10px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(90, 144, 224, 0.2);
}

.menu-container.expanded {
    height: 811px;
}


.menu-container.expanded-sz {
    height: 734px;
}

.menu-container.expanded-ip {
    height: 798px;
}

.navigation {
    width: 100%;
    height: 90px;
    position: relative;
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.nav-line {
    position: absolute;
    top: 25px;
    left: 209px;
    width: 452px;
    height: 0;
    border-top: 2px dashed #5A90E0;
    z-index: 1;
}

.nav-button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid #5A90E0;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background-color: white;
    z-index: 2;
}

.nav-button.active {
    background-color: #5A90E0;
    border-color: #5A90E0;
}

.nav-button .icon {
    filter: brightness(0) saturate(100%) invert(70%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(90%) contrast(90%);
}

.nav-button.active .icon {
    filter: brightness(0) invert(1);
}

.button1 {
    position: absolute;
    left: 159px;
}

.button2 {
    position: absolute;
    left: 410px;
}

.button3 {
    position: absolute;
    left: 610px;
}

.icon {
    width: 24px;
    height: 24px;
}

.content {
    width: 100%;
    height: calc(100% - 130px);
    position: relative;
}

.store-data {
    font-family: 'Roboto';
    font-weight: 400;
    font-size: 32px;
    line-height: 100%;
    letter-spacing: 0;
    text-align: center;
    margin-top: 80px;
    width: 100%;
    color: #393939;
}

.input-fields {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 34px;
    position: relative;
}

.input-field {
    width: 764px;
    height: 53px;
    border: 1px solid #5A90E0;
    border-radius: 5px;
    padding: 0 20px;
    margin-bottom: 10px;
    font-weight: 400;
    font-size: 17px;
    line-height: 53px;
    letter-spacing: 0;
    color: #131313;
    outline: none;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

.textarea-field {
    width: 764px;
    min-height: 152px;
    padding: 15px 20px;
    line-height: normal;
    resize: none;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
    font-size: 17px;
    vertical-align: top;
}

.textarea-field::placeholder {
    position: absolute;
    top: 15px;
    left: 20px;
    color: #A0A0A0;
    font-weight: 400;
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
    line-height: normal;
}

.input-field::placeholder {
    color: #A0A0A0;
    font-weight: 400;
    font-size: 16px;
    letter-spacing: 0;
    font-family: 'Roboto', sans-serif;
}


.next-button {
    /* position: absolute; */
    /* right: 53px; */
    /* bottom: -60px; */
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #5A90E0;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
}

.next-button:hover {
    transform: scale(1.1);
}

.prev-button:hover {
    transform: scale(1.1);
}

.prev-button {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.arrow-icon {
    width: 24px;
    height: 24px;
}

.page {
    display: none;
    width: 100%;
    height: 100%;
    position: absolute;
}

.page.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}


.org-type-selector {
    width: 764px;
    height: 53px;
    display: flex;
    margin: 20px auto 30px;
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    border: 1px solid #5A90E0;
}

.org-type-option {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 400;
    font-size: 16px;
    color: #666666;
    position: relative;
    z-index: 1;
}

.org-type-option.active {
    color: white;
}

.org-type-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 247.5px;
    height: 100%;
    background-color: #5A90E0;
    border-radius: 4px;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 0;
}

.org-type-option:nth-child(1) {
    width: 247.5px;
}

.org-type-option:nth-child(2) {
    width: 269px;
}

.org-type-option:nth-child(3) {
    width: 247.5px;
}

.org-fields {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: center;
}

.org-fields.active {
    display: flex;
    animation: fadeIn 0.5s ease;
}


.page2 .input-field {
    margin-bottom: 10px;
}


.page2 .search-field-container {
    position: relative;
    width: 764px;
    margin-bottom: 20px;
}


.page2 .input-field.with-search {
    padding-right: 65px;
    width: 100%;
    margin-bottom: -10px;
    margin-top: 0px;
    align-items: center;
}


.page2 .search-button {
    position: absolute;
    right: 20px;
    top: 62%;
    transform: translateY(-50%);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: rgba(90, 144, 224, 1);
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}


.page2 .glass-icon {
    width: 21px;
    height: 21px;
    filter: brightness(0) invert(1);
}


.page2 .org-fields {
    margin-top: 10px;
}


.menu-container.expanded-sm {
    height: 670px;
}

.page3 .input-fields {
    margin-top: 34px;
}

.page3 .input-field {
    margin-bottom: 10px;
}

.page3 .search-field-container {
    margin-bottom: 10px;
}



.page3 .navigation-buttons {
    position: relative;
    width: 764px;
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
}

.page3 .prev-button {
    /* position: absolute; */
    /* left: 0; */
    /* bottom: -40px; */
    background-color: #5A90E0;
}

.page3 .next-button {
    /* position: absolute; */
    /* right: 0; */
    /* bottom: -40px; */
}


.page4 {
    /* display: flex; */
    justify-content: center;
    align-items: center;
}

.success-message {
    font-size: 72px;
    font-weight: 700;
    color: #5A90E0;
    animation: bounce 1s infinite alternate;
}

@keyframes bounce {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}


.page2 .navigation-buttons {
    position: relative;
    width: 764px;
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
}

.page2 .prev-button {
    position: absolute;
    left: 50px;
    bottom: -40px;
    background-color: #5A90E0;
    border: none;
}

.page2 .next-button {
    position: absolute;
    right: -50px;
    bottom: -40px;
}

.input-field1 with-search {
    width: 764px;
}


.page3 .input-field1.with-search {
    width: 764px;
    height: 53px;
    padding-right: 65px;
    margin-bottom: 0px;
    box-sizing: border-box;
    border: 1px solid #5A90E0;
    border-radius: 5px;
    font-family: 'Roboto', sans-serif;
    font-size: 17px;
    padding-left: 20px;
    outline: none;
    font-weight: 400;
    color: #131313;
}

.page3 .input-field1.with-search::placeholder {
    color: #A0A0A0;
}

.page3 .search-field-container {
    position: relative;
    width: 764px;
    margin-bottom: 10px;
}

.page3 .search-button {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: rgba(90, 144, 224, 1);
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    padding: 0;
}

.page3 .glass-icon {
    width: 21px;
    height: 21px;
    filter: brightness(0) invert(1);
}

.page3 .input-field.with-search {
    margin-bottom: 0px;
}


.category-container {
    position: relative;
    width: 764px;
    margin-bottom: 0px;
}


.category-input {
    width: 100%;
    height: 53px;
    padding: 0 20px;
    border: 1px solid #5A90E0;
    border-radius: 5px;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 53px;
    color: #131313;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s ease, border-radius 0.2s ease;
}

.category-input::placeholder {
    color: #A0A0A0;
    font-weight: 400;
    transition: color 0.2s ease, font-weight 0.2s ease;
}

.dropdown-toggle {
    position: absolute;
    right: 20px;
    top: 45%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    cursor: pointer;
    z-index: 2;
    transition: transform 0.3s ease;
}


.dropdown-list {
    position: absolute;
    top: 84%;
    left: 0;
    width: 762px;
    max-height: 0;
    overflow: hidden;
    background: white;
    border: 1px solid #5A90E0;
    border-radius: 0 0 5px 5px;
    opacity: 0;
    visibility: hidden;
    transition:
        max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.3s ease,
        visibility 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    will-change: max-height, opacity;
}


.dropdown-list.active {
    max-height: 250px;
    opacity: 1;
    visibility: visible;
}


.dropdown-item {
    padding: 16px 20px;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    color: rgba(102, 102, 102, 1);
    border-bottom: 1px solid #5A90E0;
    cursor: pointer;
    transform: translateY(-10px);
    opacity: 0;
    transition:
        transform 0.25s ease-out,
        opacity 0.2s ease-out,
        background-color 0.15s ease;
    position: relative;
}

.dropdown-list.active .dropdown-item {
    transform: translateY(0);
    opacity: 1;
}

.document-dropdown-item {
    border-top:1px solid #5A90E0;
}

.document-dropdown-item:nth-child(1){
    border-top: none;
}

.dropdown-list.active .dropdown-item:nth-child(1) { transition-delay: 0.05s; }
.dropdown-list.active .dropdown-item:nth-child(2) { transition-delay: 0.1s; }
.dropdown-list.active .dropdown-item:nth-child(3) { transition-delay: 0.15s; }
.dropdown-list.active .dropdown-item:nth-child(4) { transition-delay: 0.2s; }

.dropdown-item:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20px;
    right: 20px;
    height: 1px;
    /* background-color: rgba(224, 224, 224, 1); */
}

.dropdown-item:hover {
    background-color: #e7e7e7;
}

.category-input.active {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-color: #5A90E0;
}

.category-input.active::placeholder {
    color: #393939;
}


.dropdown-list.scrollable {
    overflow-y: auto;
}

.dropdown-list:not(.active) {
    display: none;
}


.textarea-counter {
    position: absolute;
    right: 22px;
    bottom: 25px;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 11px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #A0A0A0;
    pointer-events: none;
    background-color: white;
    padding: 0 5px;
}

.textarea-wrapper {
    position: relative;
    width: 764px;
    margin-bottom: 10px;
}

@media (max-width: 500px) {
    body {
        padding-top: 80px;
        overflow: auto;
        display: flex;
        justify-content: center;
        align-items: flex-start;
        padding-bottom: 0px;
        min-height: 780px;
    }


    .logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 10px;
    z-index: 10;
    width: 130px;
    border: none;
  }

  .logo img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
  }



    .menu-wrapper {
        padding: 0;
        height: 100%;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: flex-start;
        overflow: hidden;
    }


    .menu-container {
        position: relative;
        width: 340px;
        height: 545px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 60px;
        background-color: white;
    }



    .navigation {
        position: sticky;
        top: 0;
        z-index: 0;
        padding: 10px 10px;
        margin-top: 0;
        justify-content: space-between;
    }


    .page3 .navigation-buttons {
        position: sticky;
        bottom: 0;
        background: white;
        padding: 10px 0;
        z-index: 100;
        margin-top: 20px;
    }


    .menu-container.expanded {
        height: 715px;
    }


    .input-field {
        height: 53px;
        line-height: 44px;
    }


    .menu-container.expanded-sz {
        height: 700px;
    }


    .menu-container.expanded-ip {
        height: 666px;
    }


    .nav-line {
        left: 50px;
        width: 227px;
        top: 53px;
    }


    .nav-button {
        position: static;
        margin: 0 25px;
        width: 46px;
        height: 46px;
        margin-top: 20px;
    }


    .icon {
        width: 22px;
        height: 22px;
    }

    .self-employed-heading{
        padding-bottom: 5px;
    }


    .button1, .button2, .button3 {
        position: static;
    }


    .store-data {
        font-size: 24px;
        margin-top: 20px;
        margin-bottom: -15px;
    }

    .page2 .store-data {
        margin-bottom: 10px;
    }


    .input-field, .textarea-field, .category-container, .textarea-wrapper, .search-field-container, .org-type-selector, .navigation-buttons, .input-field1.with-search {
        width: 320px;
    }


    .category-container {
        width: 320px;
    }


    .category-input {
        width: 100%;
    }


    .textarea-field {
        height: 207px;
        font-size: 11px;
        line-height: 1.1;
        padding: 25px 25px;
    }


    .textarea-field::placeholder {
        line-height: 1.1;
        top: 15px;
        left: 15px;
    }


    .input-field {
        font-size: 13px;
    }


    .input-field::placeholder, .textarea-field::placeholder {
        font-size: 13px;
    }


    .next-button, .prev-button {
        width: 35px;
        height: 35px;
        transform: none;
    }


    .next-button {
        right: 20px;
        bottom: -25px;
    }





    .org-type-selector {
        flex-direction: row;
        height: 45px;
    }


    .org-type-option {
        width: 95.5px;
    }


    .org-type-option:nth-child(2) {
        width: 79px;
    }


    .org-type-slider {
        display: none;
    }


    .org-type-option.active {
        background-color: #5A90E0;
        color: white;
    }


    .dropdown-list {
        width: 318px;
        top: 42px;
        max-height: 229px;
    }


    .dropdown-item {
        padding: 16px 20px;
        font-family: 'Roboto', sans-serif;
        font-weight: 400;
        font-size: 13px;
        line-height: 100%;
        letter-spacing: 0%;
        color: rgba(102, 102, 102, 1);
        cursor: pointer;
        /* border-bottom: 1px solid rgba(224, 224, 224, 1); */
        position: relative;
    }


    .dropdown-toggle {
        width: 18px;
        height: 18px;
    }


    .page2 .search-field-container {
        position: relative;
        width: 320px;
        margin-bottom: 20px;
    }


    .page2 .input-field.with-search {
        padding-right: 65px;
        width: 100%;
        margin-top: -60px;
        margin-bottom: -10px;
        align-items: center;
    }


    .page2 .search-button {
        position: absolute;
        right: 20px;
        top: 47%;
        transform: translateY(-50%);
        width: 27px;
        height: 27px;
        border-radius: 50%;
        background-color: rgba(90, 144, 224, 1);
        border: none;
        display: flex;
        justify-content: center;
        align-items: center;
        cursor: pointer;
    }


    .page2 .glass-icon {
        width: 17px;
        height: 17px;
        filter: brightness(0) invert(1);
    }


    .org-type-option {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        transition: all 0.3s ease;
        font-weight: 400;
        font-size: 10px;
        color: #666666;
        position: relative;
        z-index: 1;
        font-family: "Roboto", sans-serif;
    }


    .page2 .navigation-buttons {
        position: relative;
        width: 270px;
        margin-top: 10px;
        display: flex;
        justify-content: space-between;
        z-index: 0;
    }


    .page2 .prev-button {
        position: absolute;
        left: -15px;
        bottom: -110px;
        margin-right: auto;
        border: none;
    }


    .page2 .next-button {
        position: absolute;
        right: -15px;
        bottom: -110px;
        margin-left: auto;
    }


    .next-button .arrow-icon {
        width: 17px;
        height: 17px;
    }


    .prev-button .arrow-icon {
        width: 17px;
        height: 17px;
    }


    .page3 .input-field1.with-search {
        width: 270px;
        height: 53px;
        padding-right: 65px;
        margin-bottom: 0px;
        box-sizing: border-box;
        border: 1px solid rgba(180, 180, 180, 1);
        border-radius: 5px;
        font-family: 'Roboto', sans-serif;
        font-size: 13px;
        padding-left: 20px;
        outline: none;
        font-weight: 400;
        color: #131313;
    }


    .page3 .input-field1.with-search::placeholder {
        color: #A0A0A0;
        font-size: 13px;
    }


    .page3 .search-field-container {
        position: relative;
        width: 320px;
        margin-bottom: 10px;
    }


    .page3 .search-button {
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        width: 27px;
        height: 27px;
        border-radius: 50%;
        background-color: rgba(90, 144, 224, 1);
        border: none;
        display: flex;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        padding: 0;
    }


    .menu-container.expanded-sm {
        /* height: 380px; */
    }

    .navigation-buttons {
    position: relative !important;
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: 30px;
    padding: 0px 0;
    background: transparent;
    z-index: 10;
  }

   .next-button, .prev-button {
        width: 35px;
        height: 35px;
        transform: none;
    }


    .next-button {
        right: 20px;
        bottom: -35px;
    }

  .page2 .navigation-buttons {
    margin-top: 10px;
    margin-bottom: 20px;
  }

  .page2 .menu-container {
    padding-bottom: 0px;
  }

  .page2 .navigation-buttons {
    position: absolute !important;
    bottom: 0px;
    left: 0;
    width: 100%;
    padding: 0px 0px;
    box-sizing: border-box;
    margin-bottom: 30px;
  }


  .page3 .menu-container {
    padding-bottom: 0px;
  }

  .page3 .navigation-buttons {
    position: absolute !important;
    bottom: 0px;
    left: 0;
    width: 100%;
    padding: 0 0px;
    box-sizing: border-box;
  }

  .page3 .prev-button {
    margin-left: 10px;
  }

  .page3 .next-button {
    margin-right: 10px;
  }

  .page2 {
    --org-field-height: 45px;
    --org-selector-height:45px;
  }
}


@media (max-height: 930px) and (min-width: 501px) {
    .menu-container {
        height: 680px;
        overflow-y: auto;
    }

    .logo {
    position: absolute;
    top: calc(50% - 308px); /* ÃÅ¸ÃÂ¾ÃÂ»ÃÂ¾ÃÂ²ÃÂ¸ÃÂ½ÃÂ° ÃÂ²Ã‘â€¹Ã‘ÂÃÂ¾Ã‘â€šÃ‘â€¹ ÃÂ¼ÃÂµÃÂ½Ã‘Å½ (706px/2) */
    left: calc(50% - 655px); /* ÃÂ¦ÃÂµÃÂ½Ã‘â€šÃ‘â‚¬ ÃÂ¼ÃÂ¸ÃÂ½Ã‘Æ’Ã‘Â ÃÂ¿ÃÂ¾ÃÂ»ÃÂ¾ÃÂ²ÃÂ¸ÃÂ½ÃÂ° Ã‘Ë†ÃÂ¸Ã‘â‚¬ÃÂ¸ÃÂ½Ã‘â€¹ ÃÂ¼ÃÂµÃÂ½Ã‘Å½ (870px/2) + 30px */
    transform: translateY(-50%);
    z-index: 10;
    margin: 0;
}

    .menu-container.expanded {
        height: 780px;
    }

    .menu-container.expanded-ip {
        height: 750px;
    }

    .menu-container.expanded-sm {
        height: 500px;
    }

    .navigation {
        margin-top: 20px;
        height: 70px;
    }

    .store-data {
        margin-top: 95px;
    }

    .input-field {
        height: 50px;
        line-height: 50px;
        margin-bottom: 8px;
        font-size: 15px;
    }

    .textarea-field {
        height: 200px;
        line-height: 1.3;
    }

    .org-type-selector {
        height: 45px;
        margin: 15px auto 20px;
    }

    .next-button, .prev-button {
        width: 40px;
        height: 40px;
    }
}

@media (max-height: 840px) and (min-width: 501px) {
    .menu-container {
        height: 660px;
        overflow-y: auto;
    }

    .logo {
    position: absolute;
    top: calc(50% - 295px); /* ÃÅ¸ÃÂ¾ÃÂ»ÃÂ¾ÃÂ²ÃÂ¸ÃÂ½ÃÂ° ÃÂ²Ã‘â€¹Ã‘ÂÃÂ¾Ã‘â€šÃ‘â€¹ ÃÂ¼ÃÂµÃÂ½Ã‘Å½ (706px/2) */
    left: calc(50% - 655px); /* ÃÂ¦ÃÂµÃÂ½Ã‘â€šÃ‘â‚¬ ÃÂ¼ÃÂ¸ÃÂ½Ã‘Æ’Ã‘Â ÃÂ¿ÃÂ¾ÃÂ»ÃÂ¾ÃÂ²ÃÂ¸ÃÂ½ÃÂ° Ã‘Ë†ÃÂ¸Ã‘â‚¬ÃÂ¸ÃÂ½Ã‘â€¹ ÃÂ¼ÃÂµÃÂ½Ã‘Å½ (870px/2) + 30px */
    transform: translateY(-50%);
    z-index: 10;
    margin: 0;
}

    .menu-container.expanded {
        height: 760px;
    }

    .menu-container.expanded-ip {
        height: 720px;
    }

    .menu-container.expanded-sm {
        height: 560px;
    }

    .navigation {
        margin-top: 20px;
        height: 70px;
    }

    .store-data {
        margin-top: 85px;
    }

    .input-field {
        height: 45px;
        line-height: 45px;
        margin-bottom: 8px;
        font-size: 15px;
    }

    .page2 .input-field {
        height: 50px;
    }

    .textarea-field {
        height: 120px;
        line-height: 1.2;
    }

    .org-type-selector {
        height: 45px;
        margin: 15px auto 20px;
    }

    .next-button, .prev-button {
        width: 40px;
        height: 40px;
    }
}


@media (max-height: 670px) and (min-width: 501px){
    .menu-container {
        height: 600px;
    }

    .logo {
    position: absolute;
    top: calc(50% - 266px); /* ÃÅ¸ÃÂ¾ÃÂ»ÃÂ¾ÃÂ²ÃÂ¸ÃÂ½ÃÂ° ÃÂ²Ã‘â€¹Ã‘ÂÃÂ¾Ã‘â€šÃ‘â€¹ ÃÂ¼ÃÂµÃÂ½Ã‘Å½ (706px/2) */
    left: calc(50% - 655px); /* ÃÂ¦ÃÂµÃÂ½Ã‘â€šÃ‘â‚¬ ÃÂ¼ÃÂ¸ÃÂ½Ã‘Æ’Ã‘Â ÃÂ¿ÃÂ¾ÃÂ»ÃÂ¾ÃÂ²ÃÂ¸ÃÂ½ÃÂ° Ã‘Ë†ÃÂ¸Ã‘â‚¬ÃÂ¸ÃÂ½Ã‘â€¹ ÃÂ¼ÃÂµÃÂ½Ã‘Å½ (870px/2) + 30px */
    transform: translateY(-50%);
    z-index: 10;
    margin: 0;
}

    .menu-container.expanded {
        height: 600px;
    }


    .navigation {
        margin-top: 15px;
        height: 60px;
    }

    .store-data {
        margin-top: 30;
    }

    .input-field {
        height: 40px;
        line-height: 40px;
        margin-bottom: 6px;
        font-size: 14px;
    }

    .textarea-field {
        height: 100px;
        line-height: 1.2;
    }

    .org-type-selector {
        height: 40px;
        margin: 10px auto 15px;
    }

    .next-button, .prev-button {
        width: 35px;
        height: 35px;
    }
}






.input-field {
    height: var(--input-height);;
}

.textarea-field {
    height: var(--textarea-height);
}

.navigation {
    height: var(--nav-height);
}


@media (min-width: 501px) and (max-height: 800px) {

    .menu-container.expanded {
    height:700px;
    }

    .page2 .org-fields {
        max-height: calc(100vh - 220px);
    }

    .page2 .input-field {
        height: 45px;
        line-height: 45px;
        margin-bottom: 8px;
    }

    .page2 .org-type-selector {
        height: 45px;
        margin: 15px auto 20px;
    }

    .page2 .navigation-buttons {
        margin-top: 15px;
    }

}

@media (min-width: 501px) and (max-height: 730px){
    .menu-container.expanded {
        height: 680px;
    }
    .page2 .input-field {
        height: 40px;
    }

    .page2 .search-button {
        width: 30px;
        height: 30px;
        top: 20px;
    }
}

@media (min-width: 501px) and (max-height: 650px) {
    .page2 .org-fields {
        max-height: calc(100vh - 200px);
    }

    .page2 .input-field {
        height: 40px;
        line-height: 40px;
        margin-bottom: 6px;
        font-size: 15px;
    }

    .page2 .org-type-selector {
        height: 40px;
    }

    .page2 .org-type-option {
        font-size: 14px;
    }

    .page2 .navigation-buttons {
        margin-top: 10px;
    }
}

@media (max-width: 500px) {
    .page2 .org-fields {
        max-height: calc(100vh - 220px);
    }

}

@media (min-width: 501px) {
.page2 {
    --org-field-height: 53px;
    --org-selector-height: 53px;
    --org-option-font: 16px;
    --org-fields-max-height: calc(100vh - 250px);
}
}



@media (max-height: 650px) and (min-width:501px){
    .page2 {
        --org-field-height: 40px;
        --org-selector-height: 40px;
        --org-option-font: 13px;
        --org-fields-max-height: calc(100vh - 200px);
    }
}



.page2 .org-type-selector {
    height: var(--org-selector-height);
}



.page2 .org-fields {
    max-height: var(--org-fields-max-height);
}

.page2 .org-fields::-webkit-scrollbar {
    width: 4px;
}

.page2 .org-fields::-webkit-scrollbar-thumb {
    background-color: #5A90E0;
    border-radius: 2px;
}

.page2 .org-fields.active {
    animation: fadeIn 0.3s ease;
}

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

@media (max-height: 900) and (min-width:501px) {
    .menu-container.expanded {
        height: 700px;
    }


}


.self-employed-heading {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    color: #393939;
    margin: 5px 0 20px 0;
    width: 100%;
}


.inline-fields {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 764px;
    margin-bottom: 10px;
    gap: 10px;
}

.inline-field {
    width: 377px;
    height: 53px;
    margin: 0;
    padding: 0 20px;
    line-height: 53px;
    box-sizing: border-box;
    border: 1px solid #5A90E0;
    border-radius: 5px;
    font-weight: 400;
    font-size: 17px;
    letter-spacing: 0;
    color: #131313;
    outline: none;
    font-family: 'Roboto', sans-serif;
}

.inline-field::placeholder{
    color: #b1b1b1;
}

.one-field::placeholder {
    color: #b1b1b1;
}

.one-field {
    width: 764px;
    height: 53px;
    margin-top: 0px;
    margin-bottom: 10px;
    border: 1px solid #5A90E0;
    border-radius: 5px;
    padding: 0 20px;
    font-weight: 400;
    font-size: 17px;
    line-height: 53px;
    letter-spacing: 0;
    color: #131313;
    outline: none;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}


#self-employed-fields .search-field-container {
    position: relative;
    width: 377px;
}

#self-employed-fields .search-field-container .input-field.with-search {
    padding-right: 20px;
    width: 100%;
}

#self-employed-fields .search-button {
    display: none;
}


@media (max-width: 500px) {
    .self-employed-heading {
        font-size: 18px;
        margin: 5px 0 15px 0;
    }

    .inline-fields {
        flex-direction: column;
        width: 270px;
        gap: 8px;
    }

    .inline-field::placeholder {
        font-size: 13px;
    }


    .inline-field,
    #self-employed-fields .search-field-container,
    #self-employed-fields .search-field-container .input-field.with-search,
    .one-field {
        width: 320px !important;
        height: 44px;
        line-height: 44px;
        font-size: 13px;
        padding: 0 15px;
    }

    .one-field {
        margin-bottom: 8px;
        font-size: 13px;
    }

    .one-field::placeholder {
        font-size: 13px;
    }

    .textarea-field {
        height: 120px;
        font-size: 15px;
        padding: 12px 15px;
    }

    .document-dropdown-item {
        padding: 8px 12px;
        font-size: 14px;
    }


}






.date-field-container {
    position: relative;
    width: 377px;
}

.date-field-container .calendar-icon {
    position: absolute;
    right: 17px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    cursor: pointer;
    pointer-events: none;
}

.date-field-container input {
    padding-right: 45px !important;
    width: 100% !important;
}

.calendar-popup {
    position: absolute;
    width: 377px;
    top: calc(100% + 5px);
    left: 0;
    background: white;
    border: 1px solid #5A90E0;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 100;
    padding: 10px;
    height: 0;
    opacity: 0;
    overflow: hidden;
    box-sizing: border-box;
    pointer-events: none;
    transition:
        height 0.3s ease-out,
        opacity 0.2s ease-out;
}

.calendar-popup.active {
    height: 230px;
    opacity: 1;
    pointer-events: auto;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    height: 30px;
    opacity: 0;
    transform: translateY(-10px);
    transition:
        opacity 0.2s ease-out 0.1s,
        transform 0.2s ease-out 0.1s;
}

.calendar-popup.active .calendar-header {
    opacity: 1;
    transform: translateY(0);
}

.calendar-nav {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    padding: 5px 10px;
    color: #5A90E0;
    transition: color 0.2s ease;
}

.calendar-nav:hover {
    color: #3a70c0;
}

.calendar-title {
    font-weight: 500;
    font-size: 13px;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    height: calc(100% - 50px);
}

.calendar-day-header {
    text-align: center;
    font-weight: 500;
    font-size: 12px;
    padding: 1px 0;
    opacity: 0;
    transform: translateY(-5px);
    transition:
        opacity 0.2s ease-out 0.15s,
        transform 0.2s ease-out 0.15s;
}

.calendar-popup.active .calendar-day-header {
    opacity: 1;
    transform: translateY(0);
}

.calendar-day {
    text-align: center;
    padding: 5px 0;
    cursor: pointer;
    border-radius: 3px;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(5px);
    transition:
        opacity 0.2s ease-out,
        transform 0.2s ease-out,
        background-color 0.2s ease,
        border-radius 0.2s ease;
}

.calendar-popup.active .calendar-day {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.calendar-popup.active .calendar-day:nth-child(7) { transition-delay: 0.22s; }
.calendar-popup.active .calendar-day:nth-child(8) { transition-delay: 0.24s; }
.calendar-popup.active .calendar-day:nth-child(9) { transition-delay: 0.26s; }


.calendar-day:hover {
    background-color: #e7e6e6;
    border-radius: 20px;
}

.calendar-day.selected {
    background-color: #5A90E0;
    color: white;
}

.calendar-day.other-month {
    color: #ccc;
}

@media (max-width: 500px) {
    .date-field-container {
        width: 320px !important;
    }

    .calendar-popup {
        width: 320px !important;
    }

    .calendar-popup.active {
        height: 150px;
    }

    .calendar-day {
        padding: 3px 0;
        font-size: 10px;
    }
}


.document-flow-container {
    position: relative;
    width: 377px;
}

.document-flow-container input {
    padding-right: 45px !important;
    width: 100% !important;
    cursor: pointer;
}


.document-flow-toggle {
    position: absolute;
    right: 17px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    cursor: pointer;
    transition: transform 0.2s ease;
}


.document-flow-container.active .inline-field {
    border-top-color: transparent;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.document-flow-toggle.up {
    transform: translateY(-50%) rotate(180deg);
}

.document-dropdown {
    position: absolute;
    width: 375px;
    bottom: 94%;
    left: 0;
    margin-bottom: 0px;
    background: white;
    border: 1px solid #5A90E0;
    border-radius: 5px 5px 0 0 ;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 100;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        max-height 0.3s ease,
        opacity 0.2s ease,
        visibility 0s linear 0.3s;
}

@media (max-width: 500px){
    .document-dropdown {
        width: 318px;
    }
}

.document-dropdown.active {
    max-height: 150px;
    opacity: 1;
    visibility: visible;
    transition-delay:0s;
    pointer-events: auto;
    overflow-y: auto;
}

.document-dropdown-content {
    max-height: 150px;
    overflow-y: auto;
}

.document-dropdown-item {
    padding: 10px 15px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.2s ease;
    opacity: 0;
    transform: translateY(-10px);
    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}

.document-dropdown.active .document-dropdown-item {
    opacity: 1;
    transform: translateY(0);
}

.document-dropdown.active .document-dropdown-item:nth-child(1) { transition-delay: 0.05s; }
.document-dropdown.active .document-dropdown-item:nth-child(2) { transition-delay: 0.1s; }
.document-dropdown.active .document-dropdown-item:nth-child(3) { transition-delay: 0.15s; }
.document-dropdown.active .document-dropdown-item:nth-child(4) { transition-delay: 0.2s; }

.document-dropdown-item:hover {
    background-color: #ebebeb;
}

.document-dropdown-item:not(:last-child) {
    border-bottom: 1px solid #f0f0f0;
}

@media (max-width: 500px) {
    .document-flow-container {
        width: 320px !important;
    }

    .document-dropdown {
        max-height: 120px;
    }

    .document-dropdown.active {
        max-height: 120px;
    }
}

@media (max-height:800px) and (min-width:501px) {
    .inline-field {
        height: 45px;
    }

    .one-field {
        height: 45px;
    }

    .menu-container.expanded-sz {
        height: 640px;
    }

    .calendar-popup.active {
        height: 200px;
    }

    .calendar-day {
        padding: 3px 0;
        font-size: 12px;
    }

    .menu-container.expanded-ip {
        height: 670px;
    }
}









.error-message {
    position: absolute;
    width: 106px;
    height: 25px;
    background-color: #E81D49;
    border-radius: 2px;
    display: none;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 9px;
    font-weight: 700;
    right: 60px;
    top: 40%;
    transform: translateY(-50%);
    pointer-events: none;
}

.input-field-container {
    position: relative;
}

.input-field {
    position: relative;
}

.one-field {
    position: relative;
}

.input-field-with-icon .error-message {
    right: auto;
    left: calc(100% + 10px);
    align-items: center;
}

.page2 .error-message {
    align-items: center;
}


.page2 .search-field-container .error-message {
    align-items: center;
    top: 65%;
}

.page3 .search-field-container .error-message {
    align-items: center;
    top: 50%;
}

.inline-field + .error-message,
.inline-fields .input-field-container .error-message {
    align-items: center;
    top: 50%;
    transform: translateY(-50%);
}

.textarea-wrapper .error-message {
    top: 17%;
    right: 60px;
    transform: translateY(-50%);
    align-items: center;
}


@media (max-width:500px) {
    .error-message {
    position: absolute;
    width: 90px;
    height: 20px;
    background-color: #E81D49;
    border-radius: 2px;
    display: none;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 9px;
    font-weight: 700;
    right: 60px;
    top: 40%;
    transform: translateY(-50%);
    pointer-events: none;
}

.input-field-container {
    position: relative;
}

.input-field {
    position: relative;
}

.one-field {
    position: relative;
}

.input-field-with-icon .error-message {
    right: auto;
    left: calc(100% + 10px);
    align-items: center;
}

.page2 .error-message {
    align-items: center;
}


.page2 .search-field-container .error-message {
    align-items: center;
    top: 45%;
}

.page3 .search-field-container .error-message {
    align-items: center;
    top: 50%;
}

.inline-field + .error-message,
.inline-fields .input-field-container .error-message {
    align-items: center;
    top: 50%;
    transform: translateY(-50%);
}

.textarea-wrapper .error-message {
    top: 15%;
    right: 20px;
    transform: translateY(-50%);
    align-items: center;
}
}
.page3 .next-button.next-w-text {
    width: 190px;
    border-radius: 1rem;
    color: white;
    display: flex;
    justify-content: space-between;
    padding-left: 1rem;
    font-size: 1rem;
    font-weight: 600;
}
.under-message {
    padding-left: 2rem;
    padding-right: 2rem;
    text-align: center;
    max-width: 70%;
}

.under-message a {
    color: #2196F3;
    text-decoration: гт;
    font-weight: 500;
}
.page3 .next-button.next-w-text[disabled] {
    background: gray;
}


.page3 .next-button.next-w-text[disabled]:hover {
    transform: none;
}
.step8-description {
    padding-left: 2rem;
    padding-right: 2rem;
    font-size: 1.4rem;
    text-align: center;
}
.menu-container.last-page {
    height: 300px;
}
.page1 .next-button {
    position: absolute;
    bottom: -60px;
    right: 53px;
}