/* Seller Login — scoped to this page only, does not affect other login pages.
   Emerald + lime "commerce dashboard" look, intentionally different from
   franchisee (frn-), admin (adm-) and member (mbr-) logins. */

.slr-page {
    --slr-green: #0d3b2e;
    --slr-green-2: #145a45;
    --slr-green-3: #1d7a5e;
    --slr-lime: #c5f04a;
    --slr-lime-dark: #9fcc1f;
    --slr-bg: #f3f6f2;
    --slr-surface: #ffffff;
    --slr-text: #11231c;
    --slr-muted: #66776f;
    --slr-border: #dfe7e2;
    --slr-danger: #d93a3a;

    margin: 0;
    padding: 0;
    min-height: 100vh;
    font-family: 'Sora', 'Segoe UI', Arial, sans-serif;
    color: var(--slr-text);
    background: var(--slr-bg);
    overflow-x: hidden;
}

.slr-page * {
    box-sizing: border-box;
}

.slr-wrap {
    display: flex;
    min-height: 100vh;
}

/* ---------- Visual side ---------- */
.slr-visual {
    position: relative;
    flex: 0 0 46%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 32px;
    padding: 40px 52px;
    color: #fff;
    overflow: hidden;
    background:
        radial-gradient(circle at 100% 0%, rgba(197, 240, 74, .18), transparent 40%),
        linear-gradient(160deg, var(--slr-green-2), var(--slr-green) 65%);
}

/* diagonal stripes texture */
.slr-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, .035) 0 2px, transparent 2px 18px);
    pointer-events: none;
}

.slr-visual > * {
    position: relative;
}

.slr-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .6px;
    text-transform: uppercase;
    color: var(--slr-green);
    background: var(--slr-lime);
}

.slr-visual h2 {
    margin: 0 0 14px;
    font-size: 40px;
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -1px;
}

.slr-visual h2 span {
    color: var(--slr-lime);
}

.slr-visual p {
    max-width: 420px;
    margin: 0 0 30px;
    font-size: 15px;
    line-height: 1.65;
    color: rgba(255, 255, 255, .78);
}

/* Mock dashboard */
.slr-dash {
    max-width: 440px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .14);
    box-shadow: 0 24px 50px rgba(0, 0, 0, .25);
    transform: rotate(-2deg);
}

.slr-dash-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.slr-dots {
    display: inline-flex;
    gap: 5px;
}

.slr-dots i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .25);
}

.slr-dots i:first-child {
    background: var(--slr-lime);
}

.slr-dash-title {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, .7);
}

.slr-dash-body {
    display: flex;
    gap: 18px;
    padding: 18px 16px;
}

.slr-bars {
    flex: 0 0 44%;
    height: 110px;
    display: flex;
    align-items: flex-end;
    gap: 6px;
    padding-bottom: 2px;
    border-bottom: 1px solid rgba(255, 255, 255, .15);
}

.slr-bars span {
    flex: 1;
    height: var(--h);
    border-radius: 4px 4px 0 0;
    background: linear-gradient(to top, var(--slr-green-3), var(--slr-lime));
    transform-origin: bottom;
    animation: slr-grow 1s ease-out both;
}

.slr-bars span:nth-child(2) { animation-delay: .08s; }
.slr-bars span:nth-child(3) { animation-delay: .16s; }
.slr-bars span:nth-child(4) { animation-delay: .24s; }
.slr-bars span:nth-child(5) { animation-delay: .32s; }
.slr-bars span:nth-child(6) { animation-delay: .40s; }
.slr-bars span:nth-child(7) { animation-delay: .48s; }

@keyframes slr-grow {
    from { transform: scaleY(0); }
    to { transform: scaleY(1); }
}

.slr-dash-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}

.slr-dash-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
}

.slr-dash-row .fa {
    color: rgba(255, 255, 255, .55);
}

.slr-dash-row span {
    flex: 1;
    height: 7px;
    border-radius: 4px;
    background: rgba(255, 255, 255, .16);
}

.slr-dash-row em {
    font-style: normal;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 7px;
    border-radius: 5px;
}

.slr-pill-ok {
    color: var(--slr-green);
    background: var(--slr-lime);
}

.slr-pill-wait {
    color: #fff;
    background: rgba(255, 255, 255, .2);
}

.slr-features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 20px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 14px;
    color: rgba(255, 255, 255, .88);
}

.slr-features .fa {
    width: 30px;
    height: 30px;
    margin-right: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: var(--slr-lime);
    background: rgba(197, 240, 74, .12);
}

/* ---------- Form side ---------- */
.slr-form-side {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 32px 56px;
}

.slr-form-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.slr-logo img {
    height: 42px;
    width: auto;
}

.slr-back {
    font-size: 13px;
    font-weight: 600;
    color: var(--slr-muted);
    text-decoration: none;
    transition: color .2s;
}

.slr-back:hover {
    color: var(--slr-green-3);
    text-decoration: none;
}

.slr-back .fa {
    margin-right: 6px;
}

.slr-form-box {
    width: 100%;
    max-width: 430px;
    margin: auto;
    padding: 40px 0;
}

.slr-icon-badge {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    font-size: 22px;
    color: var(--slr-lime);
    background: var(--slr-green);
    box-shadow: 6px 6px 0 var(--slr-lime);
}

.slr-form-box h1 {
    margin: 26px 0 8px;
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -.6px;
}

.slr-sub {
    margin: 0 0 28px;
    font-size: 14.5px;
    color: var(--slr-muted);
}

/* Validation summary */
.slr-validation-summary.validation-summary-valid {
    display: none;
}

.slr-validation-summary {
    margin-bottom: 18px;
    padding: 12px 14px;
    border-left: 4px solid var(--slr-danger);
    border-radius: 8px;
    font-size: 13px;
    color: var(--slr-danger);
    background: #fdeeee;
}

.slr-validation-summary ul {
    margin: 0;
    padding-left: 18px;
}

.slr-label {
    display: block;
    margin: 18px 0 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--slr-text);
}

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

.slr-input > .fa {
    position: absolute;
    left: 16px;
    font-size: 15px;
    color: #9aaba3;
    pointer-events: none;
    transition: color .2s;
}

.slr-input input {
    width: 100%;
    height: 52px;
    padding: 0 48px 0 44px;
    font-family: inherit;
    font-size: 14.5px;
    color: var(--slr-text);
    background: var(--slr-surface);
    border: 2px solid var(--slr-border);
    border-radius: 10px;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}

.slr-input input::placeholder {
    color: #a9b6b0;
}

.slr-input input:focus {
    border-color: var(--slr-green-3);
    box-shadow: 4px 4px 0 var(--slr-lime);
}

.slr-input input:focus ~ .fa,
.slr-input:focus-within > .fa {
    color: var(--slr-green-3);
}

.slr-input input.input-validation-error {
    border-color: var(--slr-danger);
}

.slr-eye {
    position: absolute;
    right: 7px;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #9aaba3;
    cursor: pointer;
}

.slr-eye:hover {
    color: var(--slr-text);
    background: #eef3f0;
}

.slr-error {
    display: block;
    margin-top: 6px;
    font-size: 12.5px;
    color: var(--slr-danger);
}

.slr-error:empty {
    display: none;
}

/* Remember checkbox */
.slr-remember {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0 24px;
    font-size: 14px;
    color: var(--slr-muted);
    cursor: pointer;
    user-select: none;
}

.slr-remember input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.slr-check {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #c3d0c9;
    border-radius: 6px;
    font-size: 11px;
    color: transparent;
    background: #fff;
    transition: all .15s;
}

.slr-remember input:checked + .slr-check {
    border-color: var(--slr-green);
    color: var(--slr-lime);
    background: var(--slr-green);
}

.slr-remember input:focus-visible + .slr-check {
    box-shadow: 0 0 0 3px rgba(29, 122, 94, .25);
}

/* Submit */
.slr-submit {
    width: 100%;
    height: 54px;
    border: 0;
    border-radius: 10px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    color: var(--slr-green);
    background: var(--slr-lime);
    box-shadow: 0 4px 0 var(--slr-lime-dark);
    cursor: pointer;
    transition: transform .12s, box-shadow .12s, background .2s;
}

.slr-submit:hover {
    background: #d2f76a;
}

.slr-submit:active {
    transform: translateY(3px);
    box-shadow: 0 1px 0 var(--slr-lime-dark);
}

.slr-submit .fa-arrow-right {
    margin-left: 8px;
    transition: transform .15s;
}

.slr-submit:hover .fa-arrow-right {
    transform: translateX(4px);
}

.slr-submit:disabled,
.slr-submit.is-loading {
    cursor: not-allowed;
    opacity: .75;
    transform: none;
    box-shadow: 0 4px 0 var(--slr-lime-dark);
}

.slr-btn-loading {
    display: none;
}

.slr-btn-loading .fa {
    margin-right: 8px;
}

.slr-submit.is-loading .slr-btn-label {
    display: none;
}

.slr-submit.is-loading .slr-btn-loading {
    display: inline;
}

/* Become a seller box */
.slr-join {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 30px;
    padding: 16px 18px;
    border-radius: 12px;
    background: #e8efe9;
}

.slr-join strong {
    display: block;
    font-size: 14px;
}

.slr-join small {
    font-size: 12.5px;
    color: var(--slr-muted);
}

.slr-join a {
    flex: 0 0 auto;
    padding: 9px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    background: var(--slr-green);
    text-decoration: none;
    transition: background .2s;
}

.slr-join a:hover {
    color: #fff;
    background: var(--slr-green-3);
    text-decoration: none;
}

.slr-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 12.5px;
    color: var(--slr-muted);
}

.slr-foot-links a {
    margin-left: 16px;
    color: var(--slr-muted);
    text-decoration: none;
}

.slr-foot-links a:hover {
    color: var(--slr-green-3);
}

@media (prefers-reduced-motion: reduce) {
    .slr-bars span { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
    .slr-visual {
        flex-basis: 42%;
        padding: 36px 36px;
    }

    .slr-visual h2 {
        font-size: 34px;
    }

    .slr-form-side {
        padding: 28px 36px;
    }
}

@media (max-width: 991px) {
    .slr-visual {
        display: none;
    }

    .slr-form-side {
        padding: 24px 20px;
    }
}

@media (max-width: 480px) {
    .slr-form-side {
        padding: 20px 16px;
    }

    .slr-form-box {
        padding: 28px 0;
    }

    .slr-form-box h1 {
        font-size: 26px;
    }

    .slr-join {
        flex-direction: column;
        align-items: flex-start;
    }

    .slr-foot {
        justify-content: center;
        text-align: center;
    }
}
