/* Ling Shui Membership — Frontend Styles */

.lsm-login-wrap,
.lsm-reset-wrap {
    max-width: 420px;
    margin: 0 auto;
    padding: 2rem;
}

.lsm-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.lsm-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.lsm-field label {
    font-weight: 600;
    font-size: 0.9rem;
}

.lsm-field input[type="text"],
.lsm-field input[type="email"],
.lsm-field input[type="password"] {
    width: 100%;
    padding: 0.6rem 0.8rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.lsm-field input:focus {
    outline: none;
    border-color: #2c6e4f;
    box-shadow: 0 0 0 2px rgba(44, 110, 79, 0.15);
}

.lsm-remember {
    flex-direction: row;
    align-items: center;
}

.lsm-remember label {
    font-weight: normal;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.lsm-btn {
    padding: 0.7rem 1.4rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s;
    align-self: flex-start;
}

.lsm-btn-primary {
    background: #2c6e4f;
    color: #fff;
}

.lsm-btn-primary:hover {
    background: #245c41;
}

.lsm-btn-secondary {
    background: #555;
    color: #fff;
}

.lsm-btn-secondary:hover {
    background: #333;
}

.lsm-error {
    background: #fdf0f0;
    border-left: 4px solid #c0392b;
    padding: 0.7rem 1rem;
    font-size: 0.9rem;
    color: #c0392b;
    border-radius: 0 4px 4px 0;
}

.lsm-error a {
    color: #c0392b;
}

.lsm-msg {
    padding: 0.7rem 1rem;
    font-size: 0.9rem;
    border-radius: 4px;
    border-left: 4px solid #2c6e4f;
    background: #f0f7f4;
    color: #1a4a31;
}

.lsm-msg.lsm-msg-error {
    border-color: #c0392b;
    background: #fdf0f0;
    color: #c0392b;
}

.lsm-info {
    background: #f0f7f4;
    border-left: 4px solid #2c6e4f;
    padding: 0.7rem 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    border-radius: 0 4px 4px 0;
}

.lsm-forgot {
    margin-top: 1rem;
    font-size: 0.9rem;
}

.lsm-reset-inline {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e0e0e0;
}

.lsm-reset-inline h3 {
    margin-top: 0;
}

.lsm-logged-in {
    background: #f0f7f4;
    border: 1px solid #2c6e4f;
    padding: 0.8rem 1rem;
    border-radius: 4px;
}

.lsm-restricted {
    background: #fdf8f0;
    border-left: 4px solid #e67e22;
    padding: 1rem 1.2rem;
    border-radius: 0 4px 4px 0;
}

.lsm-logout-link {
    font-size: 0.9rem;
}
