.vrzwk-register-switch {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.vrzwk-register-switch label {
    flex: 1;
    display: block;
    padding: 8px 10px;
    border: 1px solid #e1e5ea;
    border-radius: 4px;
    color: #666;
    cursor: pointer;
    text-align: center;
    font-size: 14px;
    line-height: 1.4;
    background: #fff;
}

.vrzwk-register-switch label.active {
    border-color: #28a745;
    color: #28a745;
    background: #f4fbf6;
}

.vrzwk-register-switch input {
    display: none;
}

.vrzwk-binding-panel .vrzwk-bind-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.vrzwk-binding-panel .vrzwk-bind-item {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
    border: 1px solid #edf0f3;
    border-radius: 4px;
    padding: 12px;
    background: #fff;
    width: 100%;
}

.vrzwk-binding-panel .vrzwk-bind-main {
    min-width: 0;
}

.vrzwk-binding-panel .vrzwk-bind-item span {
    display: block;
    margin-bottom: 6px;
    color: #888;
    font-size: 13px;
}

.vrzwk-binding-panel .vrzwk-bind-item strong {
    display: block;
    color: #333;
    font-size: 15px;
    word-break: break-word;
}

.vrzwk-binding-panel .vrzwk-bind-empty strong {
    color: #999;
}

.vrzwk-binding-panel .vrzwk-bind-item .vrzwk-open-bind {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 96px !important;
    max-width: none !important;
    margin: 0 0 0 auto !important;
    float: none !important;
    white-space: nowrap !important;
}

.vrzwk-reset-tabs {
    margin: 0 0 16px;
}

.vrzwk-reset-tab-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 0 0 12px;
}

.vrzwk-reset-tab {
    display: block;
    width: 100%;
    min-height: 38px;
    border: 1px solid #dcdcde;
    border-radius: 4px;
    background: #fff;
    color: #50575e;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.4;
}

.vrzwk-reset-tab.is-active {
    border-color: #2271b1;
    background: #f0f6fc;
    color: #135e96;
    font-weight: 600;
}

.vrzwk-reset-panel {
    display: none;
}

.vrzwk-reset-panel.is-active {
    display: block;
}

.login .vrzwk-reset-panel #lostpasswordform {
    margin-top: 0;
}

.vrzwk-login-mobile-reset {
    margin: 0 0 16px;
    padding: 18px 20px;
    border: 1px solid #dcdcde;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .04);
}

.vrzwk-login-mobile-reset h2 {
    margin: 0 0 14px;
    font-size: 18px;
}

.login .vrzwk-login-mobile-reset p {
    margin-bottom: 16px;
}

.login .vrzwk-login-mobile-reset label {
    display: block;
    margin-bottom: 3px;
}

.login .vrzwk-login-mobile-reset .input {
    box-sizing: border-box;
    width: 100%;
    margin: 0;
}

.vrzwk-code-row span {
    display: flex;
    gap: 8px;
}

.login .vrzwk-code-row .input {
    margin: 0;
}

.vrzwk-code-row .button {
    white-space: nowrap;
}

.vrzwk-captcha-row {
    display: flex;
    align-items: stretch;
    gap: 8px;
    width: 100%;
}

.vrzwk-captcha-row .form-control,
.vrzwk-captcha-row .input {
    flex: 1 1 auto;
    min-width: 0;
}

.login .vrzwk-captcha-row .input {
    min-height: 40px;
    padding: 3px 5px;
    font-size: 20px;
}

.vrzwk-refresh-captcha {
    flex: 0 0 auto;
    width: 118px;
    height: 40px;
    padding: 0 !important;
    overflow: hidden;
    background: #f8fafc !important;
}

.vrzwk-captcha-img {
    display: block;
    width: 112px;
    height: 40px;
}

.vrzwk-mobile-reset-msg {
    min-height: 18px;
    color: #d63638;
}

.vrzwk-bind-dialog .form-group {
    margin-bottom: 12px;
}

.vrzwk-bind-msg {
    min-height: 18px;
    margin: 10px 0 0;
    color: #d63638;
}

.vrzwk-bind-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.vrzwk-bind-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .45);
}

.vrzwk-bind-modal__panel {
    position: relative;
    z-index: 1;
    width: min(360px, 100%);
    border-radius: 6px;
    background: #fff;
    padding: 22px;
    box-shadow: 0 18px 60px rgba(0, 0, 0, .22);
}

.vrzwk-bind-modal__panel h3 {
    margin: 0 0 16px;
    font-size: 18px;
    line-height: 1.35;
}

.vrzwk-bind-modal__close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 28px;
    height: 28px;
    border: 0;
    background: transparent;
    color: #666;
    font-size: 24px;
    line-height: 28px;
    cursor: pointer;
}

.vrzwk-bind-dialog .input-group {
    display: flex !important;
    align-items: stretch !important;
    border-collapse: initial !important;
    width: 100% !important;
    max-width: 100% !important;
}

.vrzwk-bind-dialog .input-group .form-control {
    display: block !important;
    float: none !important;
    flex: 1 1 auto !important;
    width: 1% !important;
    min-width: 0 !important;
    max-width: none !important;
}

.vrzwk-bind-dialog .input-group .input-group-btn {
    display: flex !important;
    flex: 0 0 auto !important;
    width: auto !important;
    white-space: nowrap !important;
}

.vrzwk-bind-dialog .input-group .input-group-btn .btn {
    width: auto !important;
    min-width: 96px !important;
    max-width: 116px !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.swal2-popup .vrzwk-bind-dialog input.form-control {
    box-sizing: border-box !important;
}

.swal2-popup .vrzwk-bind-dialog {
    width: 100% !important;
    max-width: 100% !important;
}

.vrzwk-bind-dialog .vrzwk-bind-code-row {
    display: flex !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: 100% !important;
}

.vrzwk-bind-dialog .vrzwk-bind-code-row .form-control {
    display: block !important;
    float: none !important;
    flex: 1 1 auto !important;
    width: 1% !important;
    height: 38px !important;
    line-height: 38px !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

.vrzwk-bind-dialog .vrzwk-bind-code-row .btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 auto !important;
    width: auto !important;
    height: 38px !important;
    line-height: 38px !important;
    min-width: 96px !important;
    max-width: 116px !important;
    margin: 0 !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    white-space: nowrap !important;
}

.swal2-popup .vrzwk-bind-dialog .btn--block {
    width: 100% !important;
}
