.loci-signup-wrap,
.loci-signup-wrap * {
    box-sizing: border-box;
}

.loci-signup-wrap {
    --loci-green: #1f6419;
    --loci-green-dark: #174f13;
    --loci-border: #dedede;
    --loci-text: #111111;
    --loci-muted: #666666;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    padding: 20px;
    background: transparent;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

.loci-signup-card {
    width: 100%;
    max-width: 100%;
    padding: 38px 34px 32px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .045);
}

.loci-signup-heading {
    margin-bottom: 24px;
}

.loci-signup-heading h1 {
    margin: 0 0 7px;
    color: #0e0e0e;
    font-size: 36px;
    line-height: 1.15;
    letter-spacing: -.9px;
    font-weight: 700;
}

.loci-signup-heading p {
    margin: 0;
    color: #5e5e5e;
    font-size: 15px;
    line-height: 1.5;
}

.loci-signup-message {
    display: none;
    margin: 0 0 18px;
    padding: 12px 14px;
    border-radius: 9px;
    font-size: 13px;
    line-height: 1.5;
}

.loci-signup-message.error,
.loci-signup-message.success {
    display: block;
}

.loci-signup-message.error {
    border: 1px solid #e2b0aa;
    background: #fff5f4;
    color: #9b2e24;
}

.loci-signup-message.success {
    border: 1px solid #bcd4b7;
    background: #f3faf1;
    color: #225b1e;
}

.loci-signup-row {
    width: 100%;
}

.loci-name-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.loci-field {
    margin-bottom: 17px;
}

.loci-field label {
    display: block;
    margin-bottom: 7px;
    color: #252525;
    font-size: 13px;
    font-weight: 600;
}

.loci-input-box {
    position: relative;
    display: flex;
    align-items: center;
}

.loci-input-box > svg {
    position: absolute;
    left: 15px;
    width: 20px;
    height: 20px;
    pointer-events: none;
    fill: none;
    stroke: #888;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    z-index: 2;
}

.loci-input-box input {
    width: 100%;
    height: 49px;
    padding: 0 46px;
    border: 1px solid #dcdcdc;
    border-radius: 10px;
    background: #fff;
    color: #111;
    outline: none;
    font-size: 14px;
    transition: .2s ease;
}

.loci-input-box input::placeholder {
    color: #949494;
}

.loci-input-box input:focus {
    border-color: #6b9b64;
    box-shadow: 0 0 0 3px rgba(62, 121, 51, .08);
}

.loci-input-box.has-error input {
    border-color: #c74b3d;
}

.loci-field-error {
    display: block;
    min-height: 0;
    margin-top: 5px;
    color: #bc3c31;
    font-size: 11px;
    line-height: 1.4;
}

.loci-password-box .loci-password-toggle {
    position: absolute;
    right: 10px;
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.loci-password-toggle svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: #838383;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.loci-password-toggle .eye-closed {
    display: none;
}

.loci-password-toggle.is-visible .eye-open {
    display: none;
}

.loci-password-toggle.is-visible .eye-closed {
    display: block;
}

.loci-password-help {
    display: block;
    margin-top: 5px;
    color: #888;
    font-size: 11px;
}

.loci-newsletter-row {
    position: relative;
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 4px 0 19px;
    cursor: pointer;
    color: #3a3a3a;
    font-size: 13px;
    line-height: 1.4;
}

.loci-newsletter-row input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.loci-checkbox {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 19px;
    height: 19px;
    border: 1px solid #9c9c9c;
    border-radius: 5px;
    background: #fff;
}

.loci-newsletter-row input:checked + .loci-checkbox {
    border-color: var(--loci-green);
    background: var(--loci-green);
}

.loci-newsletter-row input:checked + .loci-checkbox::after {
    content: "";
    width: 9px;
    height: 5px;
    margin-top: -2px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg);
}

.loci-submit-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    padding: 12px 20px;
    border: 0;
    border-radius: 8px;
    background: var(--loci-green);
    color: #fff !important;
    text-decoration: none !important;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: .2s ease;
}

.loci-submit-btn:hover:not(:disabled) {
    background: var(--loci-green-dark);
    transform: translateY(-1px);
}

.loci-submit-btn:disabled {
    cursor: wait;
    opacity: .8;
}

.loci-submit-spinner {
    display: none;
    position: absolute;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: loci-spin .7s linear infinite;
}

.loci-submit-btn.is-loading .loci-submit-text {
    visibility: hidden;
}

.loci-submit-btn.is-loading .loci-submit-spinner {
    display: block;
}

@keyframes loci-spin {
    to { transform: rotate(360deg); }
}

.loci-login-link {
    padding-top: 17px;
    text-align: center;
    color: #454545;
    font-size: 13px;
}

.loci-login-link a {
    color: var(--loci-green);
    font-weight: 600;
    text-decoration: none;
}

.loci-login-link a:hover {
    text-decoration: underline;
}

.loci-divider {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 26px 0 16px;
}

.loci-divider span {
    flex: 1;
    height: 1px;
    background: #e2e2e2;
}

.loci-divider strong {
    color: #555;
    font-size: 12px;
    font-weight: 500;
}

.loci-google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    min-height: 46px;
    padding: 10px 15px;
    border: 1px solid #dcdcdc;
    border-radius: 8px;
    background: #fff;
    color: #151515 !important;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 500;
    transition: .2s ease;
}

.loci-google-btn:hover {
    background: #fafafa;
    border-color: #c6c6c6;
}

.loci-google-btn svg {
    width: 19px;
    height: 19px;
    flex: 0 0 auto;
}

.loci-google-unconfigured {
    padding: 12px 14px;
    border: 1px solid #e6e0c5;
    border-radius: 8px;
    background: #fffdf2;
    color: #695f2a;
    font-size: 12px;
    line-height: 1.55;
}

.loci-terms {
    margin-top: 23px;
    color: #656565;
    text-align: center;
    font-size: 11px;
    line-height: 1.8;
}

.loci-terms a {
    color: #555;
    text-decoration: underline;
}

.loci-signup-logged-in {
    max-width: 530px;
    margin: 60px auto;
    padding: 45px 30px;
    text-align: center;
    border: 1px solid #e6e6e6;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 12px 35px rgba(0,0,0,.05);
}

.loci-signup-logged-in h2 {
    margin: 0 0 12px;
}

.loci-signup-logged-in p {
    margin: 0 0 25px;
    color: #666;
}

.loci-signup-account-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border-radius: 8px;
    background: var(--loci-green);
    color: #fff !important;
    text-decoration: none !important;
}

.loci-signup-notice {
    padding: 15px;
    border: 1px solid #ead7d7;
    border-radius: 8px;
    background: #fff6f6;
    color: #822d2d;
}

@media (max-width: 767px) {
    .loci-signup-wrap {
        padding: 12px;
    }

    .loci-signup-card {
        padding: 28px 20px 24px;
        border-radius: 14px;
    }

    .loci-signup-heading h1 {
        font-size: 30px;
    }

    .loci-name-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* =========================================================
   LŌCI LOGIN FORM
   Same visual language as the registration form.
   ========================================================= */

.loci-login-wrap .loci-signup-card {
    max-width: 530px;
}

.loci-login-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 2px 0 20px;
}

.loci-remember-row {
    margin: 0;
}

.loci-forgot-link {
    color: var(--loci-green);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.loci-forgot-link:hover {
    text-decoration: underline;
}

.loci-login-wrap .loci-login-link {
    padding-top: 17px;
}

@media (max-width: 480px) {
    .loci-login-options {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }
}

/* =========================================================
   INLINE AJAX FORGOT PASSWORD
   ========================================================= */

.loci-login-wrap .loci-forgot-link {
    appearance: none;
    -webkit-appearance: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--loci-green);
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    cursor: pointer;
}

.loci-login-wrap .loci-forgot-link:hover,
.loci-login-wrap .loci-forgot-link:focus {
    color: var(--loci-green-dark);
    text-decoration: underline;
}

.loci-forgot-panel[hidden],
.loci-forgot-panel[hidden] * {
    display: none !important;
}

.loci-forgot-panel {
    width: 100%;
}

.loci-back-login {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0 0 24px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #4d4d4d;
    font: inherit;
    font-size: 13px;
    cursor: pointer;
}

.loci-back-login:hover {
    color: var(--loci-green);
}

.loci-forgot-heading {
    margin-bottom: 22px;
}

.loci-forgot-heading h2 {
    margin: 0 0 8px;
    color: #111;
    font-size: 27px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -.5px;
}

.loci-forgot-heading p {
    margin: 0;
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

.loci-forgot-message {
    display: none;
    margin: 0 0 18px;
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.55;
}

.loci-forgot-message.success,
.loci-forgot-message.error {
    display: block;
}

.loci-forgot-message.success {
    border: 1px solid #c9e0c5;
    background: #f3faf1;
    color: #275b21;
}

.loci-forgot-message.error {
    border: 1px solid #e7c5c1;
    background: #fff5f4;
    color: #9d3329;
}

.loci-forgot-panel .loci-field-error {
    display: block;
    min-height: 0;
    margin-top: 5px;
    color: #b33a31;
    font-size: 11px;
    line-height: 1.4;
}

@media (max-width: 767px) {
    .loci-forgot-heading h2 {
        font-size: 24px;
    }
}
