.jb-suite-form {
    max-width: 480px;
    margin: 0 auto;
    padding: 10px;
}

.jb-suite-auth-tabs {
    width: 480px;
    max-width: 100%;
    margin: 0 auto;
}

.jb-suite-auth-tabs-inner {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    padding: 0;
}

.jb-suite-request-password-form,
.jb-suite-reset-password-form {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    padding: 10px;
}

.jb-suite-request-password-form .jb-suite-auth-tabs-inner,
.jb-suite-reset-password-form .jb-suite-auth-tabs-inner {
    width: 100%;
    max-width: 100%;
    margin: 0;
}

.jb-suite-auth-single-panel {
    display: block;
}

.jb-suite-form,
.jb-suite-auth-tabs,
.jb-suite-auth-tabs-inner {
    box-sizing: border-box;
}

.jb-ui {
    display: block;
    width: 100%;
}

.jb-suite-form p,
.jb-suite-field {
    margin-bottom: 16px;
}

.jb-suite-form h2 {
    margin: 0 0 12px;
    font-size: 28px;
    line-height: 1.2;
    font-weight: 700;
}

.jb-suite-input,
.jb-suite-form input[type="text"],
.jb-suite-form input[type="email"],
.jb-suite-form input[type="password"],
.jb-suite-form input[type="url"] {
    width: 100%;
    padding: 6px 12px;
    border: 1px solid #c3c4c7;
    border-radius: 6px;
    box-sizing: border-box;
    height: 40px;
}

.jb-suite-role-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 34px;
    height: 40px;
    line-height: 1.4;
    background-image: none;
    background-color: #fff;
}

.jb-suite-role-select-wrap {
    position: relative;
    display: block;
}

.jb-suite-role-select-wrap::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 14px;
    width: 6px;
    height: 6px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-60%) rotate(45deg);
    margin-left: 2px;
    margin-bottom: 3px;
    pointer-events: none;
    color: #6b7280;
    z-index: 1;
}

.jb-suite-form select.jb-suite-role-select {
    background-image: none;
    background-color: #fff;
    color: var(--jb-theme-text);
}

.jb-suite-submit-button {
    width: 100%;
    padding: 12px 16px;
    background: #0056d2;
    border: 0;
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
}

.jb-suite-submit-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.jb-suite-form.jb-suite-is-loading {
    opacity: 0.85;
}

.jb-suite-form-footer {
    text-align: center;
}

.jb-suite-form-note {
    font-size: 12px;
    color: #6b7280;
    margin-top: 10px;
}

@media (max-width: 640px) {
    .jb-suite-form,
    .jb-suite-auth-tabs,
    .jb-suite-auth-tabs-inner {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }

    .jb-suite-request-password-form,
    .jb-suite-reset-password-form {
        width: 100%;
        max-width: 100%;
        padding: 16px 0;
        box-sizing: border-box;
    }

    .jb-suite-request-password-form .jb-suite-auth-tabs-inner,
    .jb-suite-reset-password-form .jb-suite-auth-tabs-inner,
    .jb-suite-request-password-form .jb-suite-auth-single-panel,
    .jb-suite-reset-password-form .jb-suite-auth-single-panel {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .jb-suite-request-password-form .jb-suite-field,
    .jb-suite-reset-password-form .jb-suite-field {
        width: 100%;
    }

    .jb-suite-form h2 {
        font-size: 28px;
    }

}
