:root { --auth-ink: #111827; --auth-text: #5c6573; --auth-muted: #929aab; --paragraph-color: #374151; }
.sml_modal {
    overflow: hidden;
    border: 1px solid #e6e9f1;
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 24px 80px rgba(30, 41, 70, .15);
}

.sml_header {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 1.25rem .25rem;
}

.sml_header_icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border: 1px solid #d6e9fc;
    border-radius: 14px;
    background: #eef6fe;
    color: #2196f3;
}

.sml_header_icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

.sml_header_text {
    min-width: 0;
    padding-inline-end: 1.25rem;
}

.sml_header_title {
    margin: 0;
    color: var(--auth-ink);
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.6;
}

.sml_header_description {
    margin: 0;
    color: var(--auth-text);
    font-size: .8rem;
    line-height: 1.8;
}

.sml_close {
    position: absolute;
    inset-block-start: .7rem;
    inset-inline-end: .7rem;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #f7f8fb;
    color: #697386;
    cursor: pointer;
}

.sml_close:hover {
    background: #e3f2fd;
    color: #2196f3;
}

.sml_close svg {
    width: 1rem;
    height: 1rem;
}

.lang_row_names {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex: 1;
    gap: .5rem;
}

.lang_row_name {
    flex: 1;
    text-align: start;
}

.lang_row_name bdi {
    font-weight: 500;
}

.lang_row_code {
    color: var(--auth-muted);
    font-size: .72rem;
    font-weight: 500;
    letter-spacing: .04em;
}
.lang_list_body {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding: 0.85rem;
}

.lang_row {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.65rem 0.85rem;
    border-radius: 12px;
    border: 1.5px solid transparent;
    text-decoration: none;
    color: var(--paragraph-color);
    font-size: 0.88rem;
    font-weight: 500;
    transition: all 0.15s ease;
    cursor: pointer;
    background: transparent;
}

.lang_row:hover {
    background: rgba(33, 150, 243, 0.06);
    border-color: rgba(33, 150, 243, 0.25);
    color: #2196f3;
}

.lang_row_active {
    background: rgba(33, 150, 243, 0.08);
    border-color: rgba(33, 150, 243, 0.35);
    color: #2196f3;
    font-weight: 600;
}

.lang_flag_wrap {
    width: 34px;
    height: 24px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.18);
}

.lang_flag_img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lang_row_name {
    flex: 1;
}

.lang_row_check {
    display: none;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #2196f3;
    flex-shrink: 0;
}

.lang_row_check svg {
    --aous-aw-icon-size: 0.7rem;
    color: #fff;
}

.lang_row_active .lang_row_check {
    display: flex;
}
