.form-layout {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.form-label {
    font-weight: 400;
    font-size: 14px;
    color: #16242C;
    margin-bottom: 0px;
    margin-top: 10px;
    text-transform: capitalize;
}

.form-label-notification {
    font-weight: 400;
    font-size: 12px;
    color: #5D5D5D;
    margin-bottom: 5px;
    margin-top: 0px;
}

.form-control {
    border-radius: 6px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    border: 1px solid #ced4da;
    min-height: 40px;
    max-height: 40px;
}

.form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(0, 213, 225, 0.25);
    border-color: #00d5e1;
}

.form-select {
    min-height: 40px;
    max-height: 40px;
    line-height: 40px;
    margin-right: 10px;
    margin-bottom: 20px;
    box-sizing: border-box;
    border-radius: 6px;
    display: flex;
    align-items: center;
}

#stateSelect {
    min-height: 40px;
    max-height: 40px;
    line-height: 40px;
    cursor: pointer;
}

.form-select strong,
.form-select span {
    margin: 0;
    padding: 0;
}

label.form-label[for="stateSelect"] {
    font-size: 14px;
    font-weight: 400;
    color: #7E7E7E;
}

.form-check .form-check-label.btn {
    border-radius: 16px;
    border-color: #DBDBDB;
}

.form-check-label span {
    font-size: 14px;
    font-weight: 700;
    color: #1F2024;
    white-space: normal;
    justify-content: flex-start;
    text-align: left;
}

input:checked + img + span {
    font-size: 16px;
}

.form-check-label.btn:has(input[type="radio"]:checked) {
    border-color: #004CFF;
    background-color: white;
}

.form-check-label.btn:hover,
.form-check-label.btn:hover span {
    background-color: white;
    border-color: #004CFF;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
}

.apply-form-button-inner-text {
    color: #8A8A8A !important;
    font-size: 14px !important;
    font-weight: 500 !important;
}

.form-check-label:has(input:checked) .apply-form-button-inner-text {
    color: #004CFF !important;
}

.date-input {
    color: #6c757d;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.registration-card {
    flex: 1;
    background-color: white;
    border-radius: 12px;
    border: 1px solid #E3E5E5;
    padding: 25px;
    margin: 2rem auto;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    min-width: 300px;
}

.check-info-card {
    box-sizing: border-box;
    border: 0.5px solid #f3f3f3;
    border-radius: 12px;
    padding: 17px;
    padding-top: 14px;
}

.check-info-card-header {
    padding-bottom: 17px;
}

.check-info-card-body {
    background-color: #E5E6E726;
    border-radius: 12px;
    padding: 15px;
}

@media (max-width: 767.98px) {
    .form-select {
        margin-bottom: 4px;
        margin-right: 0px;
        border-radius: 12px;
        min-height: 48px;
    }

    .form-label {
        font-weight: 400;
        font-size: 12px;
        margin-top: 8px;
    }

    .form-layout {
        gap: 8px;
    }

    .registration-card {
        padding: 12px;
    }

    .check-info-card-header {
        padding-bottom: 10px;
    }

    .check-info-card-body {
        padding: 6px;
    }
}

.features-list.truncated li:nth-child(n+4) {
    display: none;
}

.service-card {
    border: 1px solid white;
    border-radius: 16px;
    padding: 28px 20px 24px 20px;
    background: white;
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.description,
.features-list li {
    overflow-wrap: break-word;
    word-break: break-word;
}

.service-card:hover {
    border-color: #3b82f6;
}

.service-card.selected {
    border-color: #004CFF;
}

.radio-btn {
    width: 20px;
    height: 20px;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
    background: white;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.radio-btn.checked {
    border-color: #3b82f6;
    background-color: #3b82f6;
}

.radio-btn.checked::after {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.recommended-badge {
    background-color: #D9F9E4;
    color: #32393D !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    border-radius: 160px;
    width: 123px;
    height: 25px;

    display: flex;
    align-items: center;
    justify-content: center;


    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: normal;
    padding: 0 10px;
    margin-left: 8px;
}

.form-check-label span {
    justify-content: center;
}

.service-title {
    font-weight: 700;
    font-size: 16px;
    color: #32393D;
    margin: 0;
}

.price {
    font-weight: 700;
    font-size: 16px;
    color: #32393D;
    margin: 0px 0px 10px 0px;
}

.description {
    color: #5D5D5D;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 10px;
    text-wrap: pretty;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-width: 100%;
    transition: all 0.3s ease;
}

.features-list.hidden {
    display: none;
}

.features-list li {
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: 500;
    color: #5D5D5D;
    margin-bottom: 0;
}

.features-list li:last-child {
    margin-bottom: 0;
}

.features-list li img {
    margin-right: 5px;
    flex-shrink: 0;
}

.hide-details {
    color: #96969E;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    margin-top: 10px;
    transition: color 0.3s ease;
    gap: 4px;
}

.chevron-icon {
    transition: all 0.3s ease;
}

.hidden-radio {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

@media (max-width: 767.98px) {
    .recommended-badge {
        margin-left: auto;
        width: 74px;
        height: 15px;
        font-size: 9px !important;
    }

    .description {
        font-size: 14px;
        overflow-wrap: break-word;
        word-wrap: break-word;
    }

    .features-list li {
        font-size: 14px;
        overflow-wrap: break-word;
        word-wrap: break-word;
    }

    .service-card {
        padding: 17px 13px 17px 13px;
        box-sizing: border-box;
        width: 100%;
    }

    .service-details {
        max-width: 100%;
        overflow: hidden;
    }

    .flex-grow-1 {
        min-width: 0; /* чтобы flex элементы не вылазили */
    }

    .flex-grow-1 {
        min-width: 0;
        white-space: normal; /* Важно для iOS */
    }
}

.signature-pad-container {
    position: relative;
}

.signature-placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    pointer-events: none;
    user-select: none;
}

.launch-card {
    width: 100%;
    max-width: 100% !important;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.launch-card-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.launch-card-title button {
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 700;
    font-style: Bold;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: -1%;
    text-align: right;
    color: #229ED9;
    padding: 0;
    border: none;
    background: transparent;
}

.launch-card-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.launch-card-body img {
    object-fit: contain; 
    width: 100%;
}

.launch-card-body-item {
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: -1%;
    color: #5D5D5D;
}

.launch-card-body-value {
    font-weight: 700;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: -1%;
    text-align: right;
    color: #32393D;
}

#ein-services .order-summary-container {
    background: white;
    border-radius: 15px;
    padding: 6px;
    display: flex;
    justify-content: center;
    max-width: 334px !important;
    min-width: 334px !important;
    max-height: 278px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    flex: 1;
}

#ein-services .order-summary-card {
    width: 100%;
    border: 1px solid #229ED9;
    border-radius: 15px;
    background: white;
    padding: 15px;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
    margin: 2px;
}

#ein-services .card-header-custom {
    background: transparent;
    border: none;
}

#ein-services .title-custom {
    color: #229ED9;
    font-weight: 700;
    font-size: 18px;
    margin: 0;
    padding-bottom: 6px;
}

#ein-services .order-summary-card-body {
    padding-top: 15px !important;
    border-top: 1px solid #F8F8F8;
}

#ein-services .order-summary-card-body-top, .summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 5px;
}

#ein-services .order-summary-card-body-top span {
    font-weight: 500;
}

#ein-services .summary-item:last-child {
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

#ein-services .summary-item {
    padding: 10px 0 !important;
    border-top: 1px solid rgba(0,0,0,0.1);
}

#ein-services .item-label {
    color: #8A8A8A;
    font-size: 13px;
    font-weight: 400;
}

#ein-services .item-value {
    color: #000000;
    font-weight: 500;
    font-size: 13px;
}

#ein-services .total-section {
    border-top: 1px solid #F8F8F8;
    margin-top: 50px;
}

#ein-services .total-label {
    font-size: 13px;
    font-weight: 500;
    color: #000000;
    padding-top: 5px;
}

#ein-services .total-amount {
    font-size: 16px;
    font-weight: 500;
    color: #2AABEE;
}

#ein-services .order-summary-container {
    max-width: 100%;
    min-height: 340px !important;
    max-height: 340px !important;
}

@media (max-width: 1024px) {
    #ein-services .order-summary-container {
        max-width: 100%;
        min-height: unset !important;
        max-height: unset !important;
    }
}

@media (max-width: 767.98px) {
    #ein-services .order-summary-container {
        max-width: 100%;
        min-height: unset !important;
        max-height: unset !important;
    }

    #ein-services .title-custom {
        font-size: 16px;
    }

    #ein-services .total-section {
        border-top: 1px solid #F8F8F8;
        margin-top: 40px;
    }
}

.select-btn:hover {
    background-color: #00b8c2;
}

#number_members_field, #activity_of_the_business_field {
    display: none;
}

.ein-services-web {
    padding: 33px 0 0 0;
    width: 100%;
    display: flex;
    justify-content: center;
}

.ein-services-web .multi-step-form {
    width: 100%;
}

.ein-services-web .launch-card {
    max-width: 514px !important;
}

.ein-services-web .form-control {
    max-height: 30px;
    min-height: 30px;
}

.ein-services-web .form-label {
    margin-top: 0;
    font-size: inherit;
    text-transform: unset !important;
}

.ein-services-web .launch-card input, 
.ein-services-web .launch-card input::placeholder {
    font-weight: 400 !important;
    font-size: 12px !important;
}

.ein-services-web .phone-input {
    font-size: 12px !important;
    border-radius: 0 0.375rem 0.375rem 0 !important;
    border-left: none !important;
    padding-left: 0.75rem;
}

.ein-services-web .phone-input:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.ein-services-web  .small {
    font-size: 9px !important;
}

#ein-services .company-type-container {
    display: flex;
    gap: 15px;
}

#ein-services .company-type-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

#ein-services .custom-black-radio {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    background-color: #fff;
    flex-shrink: 0;
}

#ein-services .custom-black-radio:checked {
    background-color: #000;
    border-color: #000;
}

#ein-services .custom-black-radio:checked::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 0px;
    width: 8px;
    height: 14px;
    border: solid #fff;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

#ein-services .company-label {
    font-size: 16px;
    line-height: 20px;
    display: flex;
    align-items: center;
    cursor: pointer;
}

#ein-services  #llc_members_count_field {
    display: none;
}

#ein-services .select-company-container {
    display: flex;
    gap: 15px;
}

#ein-services .select-company-container .select-company-container-dropdown {
    width: 100%;
}

#ein-services .company-selector-container {
    gap: 15px;
}

#ein-services .form-control  {
    height: 30px;
    min-height: 30px;
    max-height: 30px;
}

#ein-services #selectCompany {
    height: 40px;
    min-height: 40px;
    max-height: 40px;
}

#ein-services .small{
    font-size: 9px !important;
}

#ein-services .select-company-container-add-company {
    min-width: 200px;
}
@media(max-width: 767px) {
    #ein-services .select-company-container {
        flex-wrap: wrap;
    }

    .section-1 > .section-1-container .header .header-right .header-lang-switcher a::after {
        left: 0 !important;
    }
}
