/* Simple Login — Login Form Styles */

.mo-sl-login-form {
    max-width: 360px;
    margin: 2rem auto;
    padding: 2rem;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .08);
    font-family: inherit;
}

.mo-sl-login-form form {
    margin: 0;
    padding: 0;
}

.mo-sl-field {
    display: flex;
    flex-direction: column;
    gap: .4rem;
    margin-bottom: 1rem;
}

.mo-sl-field label {
    font-size: .875rem;
    font-weight: 600;
    color: #333;
}

.mo-sl-field input[type="password"] {
    width: 100%;
    padding: .5rem .75rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 3px;
    box-sizing: border-box;
    transition: border-color .15s ease;
}

.mo-sl-field input[type="password"]:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 2px rgba(0, 115, 170, .25);
}

.mo-sl-submit button {
    width: 100%;
    padding: .6rem 1rem;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    background: #0073aa;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: background .15s ease;
}

.mo-sl-submit button:hover {
    background: #005f8e;
}

.mo-sl-submit button:disabled {
    background: #aaa;
    cursor: not-allowed;
}

/* Status messages */
.mo-sl-message {
    margin-top: 1rem;
    padding: .6rem .75rem;
    border-radius: 3px;
    font-size: .875rem;
    line-height: 1.4;
}

.mo-sl-message:empty {
    display: none;
}

.mo-sl-message--error {
    background: #fde8e8;
    color: #c0392b;
    border: 1px solid #f5c6c6;
}

.mo-sl-message--success {
    background: #e6f4ea;
    color: #1e7e34;
    border: 1px solid #b8dfbf;
}
