/* Integration controls use the dimensions and colors of the supplied theme. */
.auth-login-modes {
    display: flex;
    gap: 8px;
    margin: 0 0 22px;
}

.auth-login-modes button {
    flex: 1;
    min-height: 40px;
    border: 1px solid #e3e7ec;
    border-radius: 10px;
    background: #f7f8fa;
    color: #6b7280;
    font: inherit;
    cursor: pointer;
}

.auth-login-modes button.is-active {
    border-color: #e60012;
    background: #fff1f1;
    color: #d50010;
    font-weight: 700;
}

.auth-sms-row {
    display: flex;
    gap: 8px;
}

.auth-sms-row .input {
    min-width: 0;
    flex: 1;
}

.auth-sms-row button {
    flex: none;
    padding: 0 12px;
    border: 1px solid #e60012;
    border-radius: 9px;
    background: #fff;
    color: #d50010;
    font: inherit;
    cursor: pointer;
}

.auth-sms-row button:disabled {
    opacity: .55;
    cursor: default;
}

[data-real-sms-login][hidden],
[data-real-login][hidden] {
    display: none;
}

.invite-scene-card .fake-qr img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.m-guide-list article:has(.m-invite-qr) {
    align-items: flex-start;
}

.m-guide-list .m-invite-qr {
    display: block;
    width: 116px;
    height: 116px;
    margin-top: 10px;
    object-fit: contain;
}

/* Invite guide: a clear path from the contact name to the scan action. */
.invite-guide-card {
    border: 1px solid #f0e3e4;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(42, 49, 66, .045);
    overflow: hidden;
}
.invite-guide-card__head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    text-align: left;
}
.invite-guide-card__icon {
    display: grid;
    place-items: center;
    flex: none;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: #fff0f1;
    color: #e60012;
    font-size: 23px;
}
.invite-guide-card__intro {min-width: 0;}
.invite-guide-card__eyebrow {
    display: block;
    margin: 1px 0 4px;
    color: #cc3644;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
}
.invite-guide-card__intro h2,
.invite-guide-card__intro h3 {
    margin: 0;
    color: #2b2f35;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.35;
}
.invite-guide-card .invite-guide-card__intro p {
    min-height: 0;
    margin: 5px 0 0;
    color: #7a8797;
    font-size: 12px;
    line-height: 1.55;
}
.invite-guide-card__qr-zone {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
    margin-top: 18px;
    padding: 19px 14px 17px;
    border: 1px solid #f5e8e9;
    border-radius: 15px;
    background: linear-gradient(155deg, #fff9f9, #fff 68%);
}
.invite-guide-card__qr {
    width: 164px;
    height: 164px;
    padding: 9px;
    border: 1px solid #eadfe1;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(49, 44, 48, .07);
}
.invite-guide-card__qr img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.invite-guide-card__qr-zone strong {
    color: #2b2f35;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.45;
    text-align: center;
}
.invite-guide-card__qr-zone--empty {min-height: 85px;justify-content: center;}
.invite-guide-card__detail {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 8px;
    align-items: start;
    margin-top: 15px;
    text-align: left;
}
.invite-guide-card__detail span {
    padding-top: 1px;
    color: #c63642;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}
.invite-guide-card .invite-guide-card__detail p {
    min-height: 0;
    margin: 0;
    color: #2b2f35;
    font-size: 12px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}
.invite-guide-card .invite-guide-card__note {
    min-height: 0;
    margin: 14px 0 0;
    padding-top: 12px;
    border-top: 1px solid #f0eeee;
    color: #84909e;
    font-size: 11px;
    line-height: 1.6;
    text-align: left;
}
.invite-scene-grid-static > .invite-guide-card {
    display: flex;
    flex-direction: column;
    padding: 22px;
    text-align: left;
}
.invite-scene-grid-static > .invite-guide-card .invite-guide-card__qr-zone {margin-top: 21px;}
.invite-scene-grid-static > .invite-guide-card .invite-guide-card__note {margin-top: auto;padding-top: 13px;}
.m-guide-list .invite-guide-card {
    display: block;
    padding: 17px;
    margin-bottom: 12px;
    border: 1px solid #f0e3e4;
    border-radius: 18px;
    background: #fff;
}
.m-guide-list .invite-guide-card__qr-zone {
    border: 0;
    background: #f8f9fb;
}
.m-guide-list .invite-guide-card__qr {
    border: 0;
    box-shadow: none;
}
@media (max-width: 390px) {
    .m-guide-list .invite-guide-card {padding: 15px;}
    .invite-guide-card__qr-zone {padding: 16px 10px;}
}
.auth-invite-label {display: flex;align-items: center;gap: 7px;}
.auth-invite-label__status {color: #8b98a8;font-size: 11px;font-weight: 600;}
.auth-invite-label__status.is-required {color: #d7192b;}
