.fm-auth {
    max-width: 1020px;
    margin: 0 auto;
    padding: 20px;
}

.fm-auth__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.fm-auth__title {
    margin: 0;
    font-size: 24px;
}

.fm-auth__links {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.fm-auth__link {
    color: inherit;
    text-decoration: underline;
}

.fm-auth__separator {
    opacity: 0.6;
}

.fm-auth__notice,
.fm-auth__error,
.fm-auth__success {
    padding: 10px 12px;
    border-radius: 4px;
    margin-bottom: 16px;
}

.fm-auth__notice {
    background: #f6f7f7;
}

.fm-auth__error {
    background: #ffe5e5;
    color: #7a0000;
}

.fm-auth__success {
    background: #e7f6e7;
    color: #1f5b1f;
}

.fm-auth__error-list {
    margin: 0;
    padding-left: 16px;
}

.fm-auth__form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.fm-auth__row {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px 16px;
    border: 1px solid #e6e9ef;
    border-radius: 10px;
    background: #fdfdfd;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.fm-auth__label {
    font-weight: 600;
    font-size: 14px;
    color: #1b1b1f;
}

.fm-auth__input {
    padding: 10px 14px;
    border: 1px solid #d4d8e1;
    border-radius: 8px;
    background: #fff;
    font-size: 15px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    min-height: 44px;
}

.fm-auth__input[readonly] {
    background: #f4f5f7;
}

.fm-auth__input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.fm-auth__helper {
    font-size: 12px;
    color: #6b7280;
}

.fm-auth__actions {
    margin-top: 8px;
}

.fm-auth__button {
    padding: 10px 16px;
    border: 1px solid #1e1e1e;
    border-radius: 4px;
    background: #1e1e1e;
    color: #fff;
    cursor: pointer;
}

.fm-auth__button:hover {
    background: #333;
}

.fm-auth__content {
    margin-top: 16px;
}

.fm-auth__login {
    margin-top: 16px;
}

.fm-auth__login .login-username,
.fm-auth__login .login-password,
.fm-auth__login .login-remember {
    margin-bottom: 12px;
}

.fm-auth__login label {
    font-weight: 600;
    display: block;
    margin-bottom: 6px;
}

.fm-auth__login input[type="text"],
.fm-auth__login input[type="password"],
.fm-auth__login input[type="email"] {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ccd0d4;
    border-radius: 4px;
}

.fm-auth__login #wp-submit {
    padding: 10px 16px;
    border: 1px solid #1e1e1e;
    border-radius: 4px;
    background: #1e1e1e;
    color: #fff;
    cursor: pointer;
}

.fm-auth__login #wp-submit:hover {
    background: #333;
}

.fm-auth__login-links {
    margin-top: 8px;
}
