.company-services-admin {
    max-width: 804px;
}
.company-services-web {
    padding: 33px 0 0 0;
    display: flex;
    justify-content: center;
}
.company-services-web .small, .company-services-admin .small {
    font-size: 9px !important;
}
.company-services-admin .company-selector-container {
    gap: 15px;
}

.company-services-admin .company-selector-container > div:first-child {
    width: 100%;
    max-width: 509px;
}

.company-services-admin .company-selector-container > div:last-child {
    width: 100%;
    max-width: 280px;
}

.company-services-admin .company-selector-container > div:last-child .add-company-btn {
    width: 100%;
}

.company-services-admin .color-red {
    border-radius: 6px !important;
}

.change-options {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.change-option-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 22px;
    width: 100%;
    border: 1px solid #DBDBDB;
    border-radius: 16px;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s;
    user-select: none;
    position: relative;
    background-color: transparent;
    flex-wrap: wrap;
}

.change-option-label:hover {
    border-color: #004CFF;
    background-color: #ffffff;
}

.change-option-label input[type="radio"] {
    position: relative;
    display: none;
    pointer-events: none;
}

.change-option-label::before {
    content: '';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border: 2px solid #DBDBDB;
    border-radius: 50%;
    flex-shrink: 0;
    transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
    background: transparent;
    position: relative;
}

.change-option-label:has(input[type="radio"]:checked)::before {
    border-color: #004CFF;
    background: #fff;
    box-shadow: inset 0 0 0 6px #006FFD;
}

.change-option-label:has(input[type="radio"]:checked) {
    border-color: #004CFF;
    background-color: rgba(255, 255, 255, 0.9);
}

.change-option-label:has(input[type="radio"]:checked) {
    border-color: #004CFF;
    background-color: rgba(255, 255, 255, 0.9);
}

.change-option-label img {
    width: 28px;
    height: 28px;
}

.change-option-title {
    font-size: 1rem;
    font-weight: 500;
    flex: 1;
}

.change-option-expand-btn {
    margin-left: auto;
    display: flex;
    align-items: center;
}

.change-option-expand-btn img {
    transition: transform 0.2s;
}

.change-option-details {
    position: relative;
    width: 100%;
    margin-top: 0.5rem;
    display: none;
    color: #5D5D5D;
    font-weight: 500;
    font-size: 16px;
    line-height: 18px;
    letter-spacing: 1.5%;
}

.change-option-details > .detail {
    position: relative;
    padding: 12px 0;
}

.change-option-details > .detail:first-child::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 303px;
    border-bottom: 1px solid #E9E9E9;
}

.change-option-details > .detail:not(:last-child)::after,
.change-option-details .fee-detail::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    max-width: 303px;
    border-bottom: 1px dashed #E9E9E9;
}

.change-option-details .fee-detail {
    position: relative;
    padding: 12px 0 10px 0;
}

.change-option-details .fee-detail > div {
    margin-bottom: 6px;
}

.change-options .common-detail {
    position: relative;
    padding: 18px 0 0 0;
}

.change-options .common-detail:first-child::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    border-bottom: 1px solid #E9E9E9;
}

.change-options .common-detail .common-detail-items {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 14px;
    color: #282828;

    font-weight: 500;
    font-style: Medium;
    font-size: 16px;

    line-height: 100%;
    letter-spacing: 0%;
}

.change-options .action-detail-title {
    font-weight: 700;
    font-style: Bold;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0%;
    vertical-align: middle;
    color: #32393D;
    margin-bottom: 14px;
}

.change-options .action-detail,
.registration-card .action-detail {
    display: flex;
    margin: 10px 0;
    gap: 10px;
}

.change-options .action-detail {
    flex-wrap: wrap;
}

.change-options .action-item ,
.registration-card .action-item {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
    position: relative;
    background-color: transparent;
}

.change-options .action-item.action-item-member,
.registration-card .action-item.action-item-member {
    flex: 1 1 calc(50% - 10px); /* Два в ряд */
    box-sizing: border-box;
}

.change-options .action-item input[type="radio"].action-radio,
.registration-card .action-item input[type="radio"].action-radio {
    position: relative;
    display: none;
    pointer-events: none;
}

.change-options .action-item::before,
.registration-card .action-item::before {
    content: '';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border: 2px solid #DBDBDB;
    border-radius: 50%;
    flex-shrink: 0;
    transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
    background: transparent;
    position: relative;
}

.change-options .action-item:has(input[type="radio"]:checked)::before,
.registration-card .action-item:has(input[type="radio"]:checked)::before {
    border-color: #004CFF;
    background: #006FFD;
    box-shadow: inset 0 0 0 4px #fff;
}

.change-options .action-item:has(input[type="radio"]:checked),
.registration-card .action-item:has(input[type="radio"]:checked) {
    border-color: #004CFF;
    background-color: rgba(255, 255, 255, 0.9);
}

.change-options .action-item label,
.registration-card .action-item label {
    position: relative;
    left: -20px;
    padding-left: 29px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    flex: 1;
    font-family: Inter;
    font-weight: 500;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #32393D;
}

.registration-card .action-detail {
    justify-content: space-between;
}

.registration-card .action-item {
    position: relative;
    width: 50%;
    padding: 4px 10px;
    border-radius: 0.375rem;
    border: 1px solid #E3E5E5;
    overflow: hidden;
}

.registration-card .action-item:has(input[type="radio"]:checked) {
    border: 1px solid #004CFF;
    /* background-color: rgba(0, 76, 255, 0.1); */
}

.registration-card .action-item label {
    display: flex;
    align-items: center;
    position: absolute;
    top: 0;
    left: 9px;
    color: #212529;
    font-size: 12px;
    width: 100%;
    height: 100%;
}

.registration-card .agent-company-container,
.registration-card .agent-individual-container {
    display: none !important;
}
.registration-card .agent-individual-container.active {
    display: flex !important;
}
.registration-card .agent-company-container.active {
    display: block !important;
}

.select-btn {
    background-color: #004CFF !important;
}

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

.btn-primary-disabled {
  opacity: 0.3;
}

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

.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);
}

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

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

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

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: start;
    padding-bottom: 5px;
}

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

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

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

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

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

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

@media (max-width: 767.98px) {

    .order-summary-container {
        max-width: 100%;
    }

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

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

.mt-15 {
    margin-top: 15px;
}

.mt-33 {
    margin-top: 33px;
}

.registration-card input, .registration-card input::placeholder {
    font-size: 14px;
}

.text-14-400-10-400 {
    font-size: 14px;
    font-weight: 400;
}

@media (max-width: 767px) {
    .text-14-400-10-400 {
        font-size: 10px;
    }
}

.text-14-700-10-700 {
    font-size: 14px;
    font-weight: 700;
}

@media (max-width: 767px) {
    .text-14-700-10-700 {
        font-size: 10px;
    }
}

.company-services-admin .selection {
    cursor: pointer;
}
.company-services-admin .select2-selection {
    height: 30px !important;
}
.company-services-admin .selection, .select2-selection {
    cursor: pointer !important;
    border-radius: var(--bs-border-radius) !important;
}
.company-services-admin .select2-selection__rendered {
    font-size: 12px;
    position: relative;
    display: flex !important;
    align-items: center !important;
}
.company-services-admin .select2-selection__clear {
    position: absolute !important;
    right: 5px;
}
.company-services-admin .select2-selection__placeholder {
    font-size: 12px;
}

.confirm-mailling-address label {
    cursor: pointer;
    margin-top: 2.7px !important;
}

.confirm-mailling-address .custom-black-checkbox {
    min-width: 23px !important;
    min-height: 23px !important;
}

.confirm-mailling-address .custom-black-checkbox:checked::after {
    top: calc(50% - 6.5px) !important;
    left: calc(50% - 2.5px) !important;
}

.mailling-address-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.mailling_address_form.hide,
.mailling-address-content.hide {
    display: none;
}

.mailling_address_form.show,
.mailling-address-content.show {
    display: block !important;
}

.same_as_business_address.hide {
    display: none !important;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.same_as_business_address.show {
    display: flex !important;
    opacity: 1;
    transition: opacity 0.2s ease;
}

.preloadColor {
    color: #717182 !important;
}

.select2-selection__clear {
    display: none;
}

.info-container {
    border-bottom: 1px solid #E5E5E5;
}

.info-title {
    color: #6c757d;
    margin-bottom: 12px;
}

.info-banner {
    background-color: #EAF3FF;
    border-radius: 10px;
    padding: 15px 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    margin-bottom: 65px;
}

.info-banner span {
    font-weight: 700;
}

.signature-authorized-container,
.agent-authorized-email-container {
    visibility: hidden;
    height: 0;
}

.agent-authorized-email-container .left-block {
    flex: 0 0 70%;
}

.agent-authorized-email-container .right-block {
    width: 100%;
    flex: 0 0 30%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.agent-authorized-email-container .right-block button {
    width: 100%;
    max-width: 150px;
    height: 30px;
    text-align: center;
    font-size: 12px;
    box-sizing: border-box;
    background-color: #0af;
    color: #fff;
    border: none;
    border-radius: 9px;
    text-decoration: none;
}

.agent-authorized-email-container .right-block button:hover {
    background-color: #08c;
}

@media(max-width: 767px) {
    .section-1 > .section-1-container .header .header-right .header-lang-switcher a::after {
        left: 0 !important;
    }
}
