/* Two-step activation card, matching the Ozon storefront. */
#activationHomeView {
    --ts-card-width: min(420px, 90vw);
    --ts-control-width: 75.32%;
}
body .ts-card {
    width: var(--ts-card-width) !important; max-width: 100% !important;
    box-sizing: border-box; padding: 20px 0 !important;
    border-radius: 37.5px; display: flex; flex-direction: column;
    align-items: center; gap: 0;
}
body .ts-card .ts-step {
    width: calc(100% - 40px); display: flex; flex-direction: column; align-items: center;
    padding: 16px 0;
}
body .ts-card [hidden] { display: none !important; }
body .ts-card .ts-card-title {
    font: 500 18px/1.25 'Inter', Arial, sans-serif; color: #000;
    text-align: center; width: 85%; max-width: 340px; margin: 0 0 14px;
}
body .ts-card .ts-field, body .ts-card .ts-bot {
    position: relative; width: var(--ts-control-width); height: 60px; box-sizing: border-box;
}
body .ts-card .ts-field input {
    position: relative; width: 100%; height: 100%; min-width: 0;
    box-sizing: border-box; padding: 0 54px; margin: 0; border: 0;
    border-radius: 21px; background: #fff; color: #000;
    font: 400 16px/23px 'Inter', Arial, sans-serif; text-align: center;
}
body .ts-card .ts-field input::placeholder { color: #b9b9b9; }
body .ts-card .ts-field-go {
    position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
    width: 36px; height: 36px; z-index: 3; padding: 0; border: 0;
    border-radius: 9px; background: #dedede; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
}
body .ts-card .ts-or { font: 400 18px/1.25 'Inter',Arial,sans-serif; color: #000; margin: 8px 0; }
body .ts-card .ts-bot {
    padding: 0 17px; border-radius: 21px; background: #3c3c3c;
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; text-decoration: none;
}
body .ts-card .ts-bot__text {
    flex: 1 1 auto; min-width: 0; text-align: center; color: #fff;
    font: 400 16px/23px 'Inter',Arial,sans-serif;
}
body .ts-card .ts-bot__icon { flex: 0 0 auto; display: flex; }
body .ts-card .ts-bot__icon svg { width: 28px; height: 28px; }
body .ts-card .ts-back { margin-top: 18px; background: none; border: 0; color: #000; font: inherit; cursor: pointer; text-decoration: underline; }
body .ts-card .ts-form-error { width: 85%; margin-top: 12px; color: #9f0404; font: 14px/1.35 'Inter',Arial,sans-serif; }
body .ts-buttons { gap: 12px; margin-top: 16px; }
body .ts-buttons > .btn { width: 100%; max-width: 100%; height: auto; min-height: 50px; padding: 12px 16px; font-size: 16px; box-sizing: border-box; }
@media (max-width: 560px) {
    #activationHomeView { --ts-control-width: 88%; }
    body .ts-card .ts-step { padding: 12px 0; }
    body .ts-card .ts-card-title { font-size: 16px; }
    body .ts-card .ts-field, body .ts-card .ts-bot { height: 54px; }
    body .ts-card .ts-bot { padding: 0 12px; gap: 8px; }
    body .ts-card .ts-bot__text { font-size: 15px; }
}

#activationHomeView .ts-field > input {
    width: 100%; max-width: none; margin: 0; box-sizing: border-box;
}
#activationHomeView .ts-back {
    width: var(--ts-control-width); min-height: 44px; border-radius: 21px; text-decoration: none;
    font: 500 16px/1.3 Inter, sans-serif; background: #dedede; color: #505050;
}
#activationHomeView .ts-buttons {
    width: min(390px, 90vw); max-width: none; margin-inline: auto;
}
#activationHomeView .ts-buttons > .btn {
    width: 100%; max-width: none; margin-inline: 0;
}

#orderMemoView[data-step="first"] .rating-box {
    display: none;
}
