.lml-form {
    width: 100%;
    max-width: 100%;
    margin: 0;
}

.lml-form__inner {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.lml-field label {
    display: block;
    margin-bottom: 0.35rem;
    font-weight: inherit;
}

.lml-field input[type="text"],
.lml-field input[type="password"],
.lml-field input[type="email"] {
    width: 100%;
    box-sizing: border-box;
    padding: 0.65rem 0.75rem;
    border: 1px solid #c3c4c7;
    border-radius: 4px;
    font-size: 1rem;
    line-height: 1.4;
}

.lml-field input:focus {
    border-color: #2271b1;
    outline: 2px solid rgba(34, 113, 177, 0.2);
    outline-offset: 0;
}

.lml-field--checkbox label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 400;
    cursor: pointer;
}

.lml-actions {
    margin-top: 0.25rem;
}

.lml-button {
    display: inline-block;
    width: 100%;
    padding: 0.75rem 1rem;
    border: 0;
    border-radius: 4px;
    background: #2271b1;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease;
}

.lml-button:hover,
.lml-button:focus {
    background: #135e96;
}

.lml-links {
    margin: 0.5rem 0 0;
    text-align: center;
}

.lml-links a {
    color: #2271b1;
    text-decoration: underline;
}

.lml-links .lml-button {
    display: inline-block;
    width: auto;
    text-decoration: none;
    color: #fff;
}

.lml-intro {
    margin: 0 0 1rem;
    color: #50575e;
}

.lml-required {
    color: #d63638;
}

.lml-hp,
.lml-hp__label,
.lml-hp__input {
    position: absolute !important;
    left: -10000px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.lml-field-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1rem;
}

.lml-password-wrap {
    position: relative;
}

.lml-password-wrap input {
    padding-right: 2.75rem;
}

.lml-password-toggle {
    position: absolute;
    top: 50%;
    right: 0.5rem;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border: 0;
    background: transparent;
    color: #50575e;
    cursor: pointer;
    padding: 0;
}

.lml-password-toggle:focus {
    outline: 2px solid rgba(34, 113, 177, 0.2);
    outline-offset: 2px;
}

@media (max-width: 767px) {
    .lml-field-row {
        grid-template-columns: minmax(0, 1fr);
    }
}

.lml-notices {
    margin-bottom: 1rem;
}

.lml-notice {
    padding: 0.75rem 1rem;
    border-radius: 4px;
    border-left: 4px solid transparent;
}

.lml-notice p {
    margin: 0;
}

.lml-notice--error {
    background: #fcf0f1;
    border-left-color: #d63638;
    color: #8a2424;
}

.lml-notice--success {
    background: #edfaef;
    border-left-color: #00a32a;
    color: #1e4620;
}