/* Global website font: Inter (variable, weights 100-900) - public/front/fonts/inter-wariable-font.ttf */
@font-face {
    font-family: "Inter";
    src: url("../front/fonts/inter-wariable-font.ttf") format("truetype-variations"),
         url("../front/fonts/inter-wariable-font.ttf") format("truetype");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}
:root {
    --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

 .auth-wrapper {
            display: flex;
        }

        /* ── LEFT PANEL ── */
        .auth-left {
            width: 480px;
            min-width: 420px;
            background: #fff;
            display: flex;
            flex-direction: column;
            justify-content: center;
            padding: 35px;
            position: relative;
            z-index: 2;
        }

        .auth-logo {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 35px;
        }

        .auth-logo img {
            width: 180px;
        }

        .auth-left h2 {
            font-size: 20px;
            font-weight: 800;
            color: #1a1a2e;
            margin-bottom: 2px;
            letter-spacing: -0.5px;
        }

        .auth-left p.auth-sub {
            font-size: 12px;
            color: #8a8fa8;
            margin-bottom: 32px;
        }

        /* Form fields */
        .form-group {
            margin-bottom: 18px;
        }

        .form-group label {
            display: block;
            font-size: 14px;
            font-weight: 600;
            color: #3d3f52;
            margin-bottom: 4px;
        }

        .input-icon-wrap {
            position: relative;
        }

        .input-icon-wrap .icon1 {
            position: absolute;
            left: 14px;
            top: 50%;
            transform: translateY(-50%);
            color: #3f7af0;
            z-index: 1;
            font-size: 14px;
            pointer-events: none;
        }

        .form-control {
            width: 100%;
            height: 48px;
            border: 1.5px solid #e4e7f0;
            border-radius: 10px;
            padding: 0 42px 0 42px;
            font-size: 14px;
            font-family: var(--font-sans);
            color: #1a1a2e;
            background: #fafbff;
            transition: border-color 0.2s, box-shadow 0.2s;
            outline: none;
        }

        .form-control::placeholder {
            color: #b5bace;
        }

        .form-control:focus {
            border-color: #3f7af0;
            box-shadow: 0 0 0 3px rgba(63, 122, 240, 0.10);
            background: #fff;
        }

        .form-control.is-invalid {
            border-color: #f05252;
        }

        .invalid-feedback {
            font-size: 12px;
            color: #f05252;
            margin-top: 5px;
        }

        /* Password toggle */
        .toggle-password {
            position: absolute;
            right: 12px;
            top: 50%;
            transform: translateY(-50%);
            background: none;
            border: none;
            cursor: pointer;
            color: #a0a5be;
            font-size: 15px;
            padding: 4px;
            line-height: 1;
        }

        .toggle-password:hover {
            color: #3f7af0;
        }

        /* Remember me */
        .remember-row {
            display: flex;
            align-items: flex-start;
            gap: 10px;
            margin-bottom: 24px;
        }

        .remember-row input[type="checkbox"] {
            width: 17px;
            height: 17px;
            accent-color: #3f7af0;
            margin-top: 2px;
            cursor: pointer;
            flex-shrink: 0;
        }

        .remember-row label {
            font-size: 14px;
            color: #3d3f52;
            cursor: pointer;
            line-height: 1.4;
        }

        .remember-row label span {
            display: block;
            font-size: 11.5px;
            color: #a0a5be;
            font-weight: 400;
        }

        /* Primary button */
        .btn-primary-custom {
            width: 100%;
            height: 48px;
            background: #3f7af0;
            color: #fff;
            border: none;
            border-radius: 10px;
            font-size: 15px;
            font-weight: 600;
            font-family: var(--font-sans);
            cursor: pointer;
            transition: background 0.2s, box-shadow 0.2s, transform 0.1s;
            letter-spacing: 0.1px;
        }

        .btn-primary-custom:hover {
            background: #2b63d9;
            box-shadow: 0 4px 16px rgba(63, 122, 240, 0.28);
        }

        .btn-primary-custom:active {
            transform: scale(0.99);
        }

        /* Next button (same as primary) */
        #submit-next {
            margin-bottom: 12px;
        }

        /* OR divider */
        .or-divider {
            display: flex;
            align-items: center;
            gap: 12px;
            margin: 22px 0 18px;
            color: #b5bace;
            font-size: 12px;
            font-weight: 500;
        }

        .or-divider::before,
        .or-divider::after {
            content: '';
            flex: 1;
            height: 1px;
            background: #e4e7f0;
        }

        /* Signup link */
        .signup-link {
            text-align: center;
            font-size: 1px;
            color: #8a8fa8;
            margin-bottom: 16px;
        }

        .signup-link a {
            color: #3f7af0;
            font-weight: 600;
            text-decoration: none;
        }

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

        /* Social buttons */
        .btn-social {
            width: 100%;
            height: 46px;
            border-radius: 10px;
            border: 1.5px solid #e4e7f0;
            background: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            font-size: 14px;
            font-weight: 500;
            font-family: var(--font-sans);
            cursor: pointer;
            transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
            margin-bottom: 10px;
            color: #1a1a2e;
            text-decoration: none;
        }

        .btn-social:hover {
            border-color: #b5bace;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
            background: #fafbff;
        }

        .btn-social img {
            width: 20px;
            height: 20px;
            object-fit: contain;
        }

        .btn-social.facebook {
            background: #1877f2;
            border-color: #1877f2;
            color: #fff;
        }

        .btn-social.facebook:hover {
            background: #1464d8;
        }

        .btn-social.twitter {
            background: #000;
            border-color: #000;
            color: #fff;
        }

        .btn-social.twitter:hover {
            background: #222;
        }

        /* Forgot password */
        .forgot-link {
            display: block;
            text-align: center;
            margin-top: 14px;
            font-size: 13px;
            color: #8a8fa8;
        }

        .forgot-link a {
            color: #3f7af0;
            text-decoration: none;
            font-weight: 500;
        }

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

        /* Secondary button (sign up as client) */
        .btn-secondary-custom {
            width: 100%;
            height: 48px;
            background: transparent;
            color: #3f7af0;
            border: 1.5px solid #3f7af0;
            border-radius: 10px;
            font-size: 14px;
            font-weight: 600;
            font-family: var(--font-sans);
            cursor: pointer;
            transition: background 0.2s, color 0.2s;
            margin-top: 10px;
            text-align: center;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
        }

        .btn-secondary-custom:hover {
            background: #3f7af0;
            color: #fff;
        }

        /* ── RIGHT PANEL ── */
        .auth-right {
            flex: 1;
            border-radius: 10px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            background: aliceblue;
            /* padding: 60px 48px; */
            position: relative;
            overflow: hidden;
        }

        .auth-right-content {
            text-align: center;
            max-width: 520px;
            position: relative;
            z-index: 1;
            height: stretch;
        }

        .auth-right-illustration {
            width: 340px;
            max-width: 90%;
            position: relative;
            z-index: 1;
        }

        /* Copyright */
        .auth-copyright {
            /* position: absolute;
                        bottom: 0px; */
            font-size: 12px;
            text-align: center;
            color: #b5bace;
        }

        .btn-with-loader {
            position: relative;
        }

        .btn-with-loader .btn-spin {
            align-items: center;
            justify-content: center;
        }

        .btn-with-loader.btn-loading .btn-label {
            visibility: hidden;
        }

        .btn-with-loader.btn-loading .btn-spin {
            display: inline-flex !important;
            position: absolute;
            inset: 0;
        }

        .auth-success-card {
            margin-top: 4px;
            padding: 22px 18px;
            border-radius: 16px;
            background: linear-gradient(180deg, #f4fbf7 0%, #eaf8ef 100%);
            border: 1px solid #d5f0df;
            text-align: center;
            box-shadow: 0 10px 24px rgba(32, 160, 93, 0.08);
        }

        .auth-success-icon {
            width: 60px;
            height: 60px;
            margin: 0 auto 14px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, #20a05d 0%, #34c77a 100%);
            color: #fff;
            font-size: 24px;
            box-shadow: 0 10px 18px rgba(32, 160, 93, 0.22);
        }

        .auth-success-card h3 {
            margin: 0 0 8px;
            font-size: 18px;
            font-weight: 800;
            color: #164a2e;
        }

        .auth-success-text {
            margin: 0;
            font-size: 13px;
            line-height: 1.6;
            color: #4e6b5c;
        }

        /* ── Responsive ── */
        @media (max-width: 900px) {
            .auth-right {
                display: none;
            }

            .auth-left {
                width: 100%;
                min-width: unset;
                padding: 10px;
            }
        }

        /* Spinner */
        .spinner-border-sm {
            width: 1rem;
            height: 1rem;
            border-width: .2em;
            display: inline-block;
            vertical-align: text-bottom;
            border: .2em solid currentColor;
            border-right-color: transparent;
            border-radius: 50%;
            animation: spinner-border .75s linear infinite;
        }

        @keyframes spinner-border {
            to {
                transform: rotate(360deg);
            }
        }

        .d-none {
            display: none !important;
        }

        #captcha_container {
            margin-bottom: 12px;
        }

        /* ── SLIDER ── */
        .slider-wrap {
            width: 100%;
            height: 100%;
            position: relative;
            overflow: hidden;
            border-radius: 16px;
        }

        .slide {
            position: absolute;
            inset: 0;
            opacity: 0;
            transition: opacity 0.7s ease;
            border-radius: 16px;
        }

        .slide.active {
            opacity: 1;
        }

        .slide img {
            width: 100%;
            height: 100%;
            /* object-fit: cover; */
            border-radius: 16px;
            display: block;
        }

        .slide-caption {
            position: absolute;
            bottom: 52px;
            left: 0;
            right: 0;
            text-align: center;
            color: #fff;
            font-size: 16px;
            font-weight: 600;
            padding: 0 20px;
            text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
        }

        .slide-caption span {
            display: block;
            font-size: 13px;
            font-weight: 400;
            opacity: 0.85;
            margin-top: 4px;
        }

        .dots {
            position: absolute;
            bottom: 12px;
            left: 7% !important;
            transform: translateX(-50%);
            display: flex;
            gap: 7px;
            z-index: 10;
        }

        .dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: #d4d4d4;
            cursor: pointer;
            transition: background 0.3s, width 0.3s;
            border: none;
            padding: 0;
        }

        .dot.active {
            background: #3f7af0;
            width: 22px;
            border-radius: 4px;
        }

        .slide {
            position: absolute;
            inset: 0;
            opacity: 0;
            transition: opacity 0.7s ease;
            border-radius: 16px;
            background-size: cover;
            background-repeat: no-repeat;
        }


/* =========================================================
   LOGIN PAGE - NEW DESIGN (resources/views/auth/login.blade.php)
   Everything scoped under .lg-page so other pages using this
   file (register, forgot password) are not affected.
========================================================= */

/* neutralise the shared <x-auth> shell only on this page */
.login_section:has(.lg-page) {
    display: block !important;
    min-height: 100vh;
    padding: 0;
    background:
        radial-gradient(circle at 42% 8%, rgba(22, 117, 237, 0.07), transparent 30%),
        radial-gradient(circle at 30% 85%, rgba(22, 117, 237, 0.06), transparent 35%),
        #f5f8fe !important;
}

.login_section:has(.lg-page) > .container {
    max-width: none;
    padding: 0;
}

.login_section:has(.lg-page) .row {
    margin: 0;
}

.login_section:has(.lg-page) .row > [class*="col-"] {
    flex-direction: column;
    padding: 0;
}

.login_section:has(.lg-page) .shadow {
    margin: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
}

.lg-page {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 40px;
    min-height: 100vh;
    padding: 48px clamp(24px, 5vw, 80px);
    background:
        radial-gradient(circle at 42% 8%, rgba(22, 117, 237, 0.07), transparent 30%),
        radial-gradient(circle at 30% 85%, rgba(22, 117, 237, 0.06), transparent 35%),
        #f5f8fe;
    color: #111827;
    font-family: var(--font-sans);
}

/* ---------- Left ---------- */

.lg-left {
    position: relative;
    display: flex;
    flex-direction: column;
}

.lg-brand {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 40px;
}

.lg-brand img {
    max-width: 240px;
    max-height: 64px;
    object-fit: contain;
    object-position: left center;
}

.lg-tagline {
    color: #5b6474;
    font-size: 15px;
    font-weight: 500;
}

.lg-headline {
    margin: 0 0 16px;
    color: #111827;
    font-size: clamp(30px, 3vw, 44px);
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.15;
}

.lg-headline span {
    display: block;
    color: #1675ed;
    font-size: 1.2em;
}

.lg-lead {
    max-width: 420px;
    margin: 0 0 28px;
    color: #5b6474;
    font-size: 16px;
    line-height: 1.7;
}

.lg-features {
    position: relative;
    z-index: 1;
    max-width: 340px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.lg-features li {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.lg-feature-icon {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    font-size: 19px;
}

.lg-blue   { background: #e6efff; color: #1675ed; }
.lg-green  { background: #e3f6ee; color: #16a37b; }
.lg-purple { background: #efeaff; color: #7c5ce6; }

.lg-features strong {
    display: block;
    color: #111827;
    font-size: 15px;
    font-weight: 700;
}

.lg-features small {
    display: block;
    color: #6b7280;
    font-size: 13px;
}

/* illustration */

.lg-visual {
    position: absolute;
    right: -10px;
    bottom: 40px;
    z-index: 0;
    width: min(55%, 430px);
    pointer-events: none;
}

.lg-visual svg {
    display: block;
    width: 100%;
    height: auto;
}

.lg-float {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 12px 26px rgba(28, 42, 65, 0.1);
    color: #1675ed;
    font-size: 19px;
    animation: lgFloat 5s ease-in-out infinite;
}

.lg-float-1 { top: 2%;  left: 58%; }
.lg-float-2 { top: 18%; right: 2%;  animation-delay: -1.6s; }
.lg-float-3 { top: 42%; right: 0;   animation-delay: -3.2s; }

@keyframes lgFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.lg-script {
    margin-top: auto;
    padding-top: 24px;
    color: #2f5ee8;
    font-family: "Caveat", cursive;
    font-size: 30px;
    line-height: 1.1;
    transform: rotate(-10deg);
    transform-origin: left bottom;
    width: fit-content;
}

.lg-script span {
    display: inline-block;
    margin-left: 22px;
    padding-bottom: 6px;
    border-bottom: 2px solid rgba(47, 94, 232, 0.6);
    border-radius: 0 0 60% 0;
}

/* ---------- Right ---------- */

.lg-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
}

.lg-top-link {
    margin: 0;
    color: #5b6474;
    font-size: 14px;
}

.lg-top-link a {
    margin-left: 6px;
    color: #1675ed;
    font-weight: 700;
    text-decoration: none;
}

.lg-card {
    width: 100%;
    margin: 0 auto;
    padding: 52px 56px 44px;
    background: #fff;
    border: 1px solid #e8edf5;
    border-radius: 20px;
    box-shadow: 0 30px 70px rgba(28, 42, 65, 0.08);
}

.lg-title {
    margin: 0 0 8px;
    color: #111827;
    font-weight: 600;

}

.lg-sub {
    margin: 0 0 32px;
    color: #5b6474;
    font-size: 15.5px;
}

/* fields */

.lg-page .lg-group {
    margin-bottom: 20px;
}

.lg-page .lg-group > label {
    display: block;
    margin-bottom: 8px;
    color: #1f2937;
    font-size: 15px;
    font-weight: 600;
}

.lg-req {
    color: #e5484d;
}

.lg-field {
    display: flex;
    align-items: stretch;
    height: 56px;
    overflow: hidden;
    background: #fff;
    border: 1.5px solid #dde4ef;
    border-radius: 12px;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.lg-field:focus-within {
    border-color: #1675ed;
    box-shadow: 0 0 0 3px rgba(22, 117, 237, 0.12);
}

.lg-field-icon {
    flex: 0 0 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1.5px solid #e8edf5;
    color: #64748b;
    font-size: 17px;
}

.lg-input {
    flex: 1 1 auto;
    min-width: 0;
    height: 100%;
    padding: 0 16px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #111827;
    font-family: inherit;
    font-size: 15px;
}

.lg-input::placeholder {
    color: #9aa4b2;
}

.lg-page .lg-field .toggle-password {
    position: static;
    transform: none;
    flex: 0 0 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    background: none;
    color: #64748b;
    font-size: 17px;
    cursor: pointer;
}

.lg-page .lg-field .toggle-password:hover {
    color: #1675ed;
}

.lg-page .lg-group:has(.is-invalid) .lg-field {
    border-color: #e5484d;
}

.lg-page .invalid-feedback,
.lg-page .help-block {
    display: block;
    margin-top: 6px;
    color: #e5484d;
    font-size: 13px;
}

/* remember + forgot */

.lg-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 4px 0 24px;
}

.lg-page .lg-check {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: #374151;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
}

.lg-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: #1675ed;
    cursor: pointer;
}

.lg-forgot {
    color: #1675ed;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}

.lg-forgot:hover {
    text-decoration: underline;
}

/* buttons */

.lg-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    height: 58px;
    margin-bottom: 12px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(90deg, #3f7af0, #2f86f6);
    box-shadow: 0 14px 30px rgba(47, 122, 240, 0.3);
    color: #fff;
    font-family: inherit;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
}

.lg-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(47, 122, 240, 0.36);
}

.lg-btn .btn-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.lg-btn-outline {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 52px;
    margin-bottom: 12px;
    border: 1.5px solid #1675ed;
    border-radius: 12px;
    color: #1675ed;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}

.lg-or {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 18px 0;
    color: #6b7280;
    font-size: 13px;
    font-weight: 600;
}

.lg-or::before,
.lg-or::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e3e8f1;
}

.lg-page .lg-social {
    height: 56px;
    border-radius: 12px;
    font-family: inherit;
    font-size: 16px;
    font-weight: 500;
}

.lg-page .lg-social img {
    width: 24px;
    height: 24px;
}

.lg-copyright {
    margin: 0;
    color: #8a93a3;
    font-size: 12.5px;
    text-align: center;
}

/* ---------- Responsive ---------- */

@media (max-width: 1199px) {

    .lg-card {
        padding: 40px 36px 34px;
    }

    .lg-visual {
        width: min(56%, 380px);
    }
}

@media (max-width: 991px) {

    .lg-page {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 28px 20px 36px;
    }

    .lg-left {
        text-align: center;
        align-items: center;
    }

    .lg-brand {
        align-items: center;
        margin-bottom: 20px;
    }

    .lg-brand img {
        object-position: center;
    }

    .lg-headline span {
        display: inline;
        font-size: 1em;
    }

    .lg-lead {
        margin-bottom: 0;
    }

    .lg-features,
    .lg-visual,
    .lg-script {
        display: none;
    }

    .lg-right {
        order: 2;
    }

    .lg-top-link {
        align-self: center;
        order: 3;
    }
}

@media (max-width: 575px) {

    .lg-card {
        padding: 28px 20px 24px;
        border-radius: 16px;
    }

    .lg-field,
    .lg-page .lg-social {
        height: 50px;
    }

    .lg-field-icon {
        flex-basis: 48px;
    }

    .lg-btn {
        height: 52px;
    }

    .lg-row {
        flex-wrap: wrap;
    }
}

@media (prefers-reduced-motion: reduce) {

    .lg-float {
        animation: none;
    }
}
/* ---------- Forgot password page extras ---------- */

.lg-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background: #e6efff;
    color: #1675ed;
    font-size: 20px;
}

.lg-back-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
    color: #4b5563;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}

.lg-back-link:hover {
    color: #1675ed;
}

.lg-back-link i {
    transition: transform .2s ease;
}

.lg-back-link:hover i {
    transform: translateX(-4px);
}

.lg-success {
    padding: 26px 22px;
    border: 1px solid #b7ebc9;
    border-radius: 16px;
    background: #ecfdf3;
    text-align: center;
}

.lg-success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: 14px;
    border-radius: 50%;
    background: #16a34a;
    box-shadow: 0 10px 22px rgba(22, 163, 74, 0.28);
    color: #fff;
    font-size: 22px;
}

.lg-success h3 {
    margin: 0 0 6px;
    color: #14532d;
    font-family: inherit;
    font-size: 19px;
    font-weight: 700;
}

.lg-success p {
    margin: 0;
    color: #166534;
    font-size: 14.5px;
    line-height: 1.6;
}
/* ---------- Signup page (super-admin/saas/register.blade.php) ---------- */

.lg-body {
    margin: 0;
    background: #f5f8fe;
}

/* left panel stays in view while the longer form scrolls */
@media (min-width: 992px) {
    .lg-page-signup .lg-left {
        position: sticky;
        top: 48px;
        height: calc(100vh - 96px);
    }
}

.lg-card-wide {

    padding: 24px 26px 30px;
}
.lg-m-t{
    margin-bottom: 12px;
}
.lg-back-home {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #5b6474;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.lg-back-home:hover {
    color: #1675ed;
}

.lg-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 18px;
}

.lg-span-2 {
    grid-column: 1 / -1;
}

.lg-page-signup .lg-group {
    margin-bottom: 18px;
}

.lg-page-signup .lg-field {
    height: 52px;
}

.lg-page-signup .lg-field-icon {
    flex-basis: 50px;
}

/* workspace ".domain" addon */
.lg-addon {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    padding: 0 14px;
    border-left: 1.5px solid #e8edf5;
    background: #f3f6fb;
    color: #374151;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}

/* password eye (span toggles, ids kept for the existing script) */
.lg-eye {
    flex: 0 0 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 16px;
    cursor: pointer;
}

.lg-eye:hover {
    color: #1675ed;
}

/* captcha image + refresh */
.lg-captcha {
    display: flex;
    align-items: stretch;
    height: 52px;
    overflow: hidden;
    border: 1.5px solid #dde4ef;
    border-radius: 12px;
    background: #fff;
}

.lg-captcha img {
    flex: 1 1 auto;
    min-width: 0;
    height: 100%;
    object-fit: cover;
    background: #eceaf5;
}

.lg-captcha-refresh {
    flex: 0 0 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-left: 1.5px solid #e8edf5;
    background: #fff;
    color: #1675ed;
    font-size: 16px;
    cursor: pointer;
    transition: background .2s ease;
}

.lg-captcha-refresh:hover {
    background: #f1f6ff;
}

.lg-captcha-refresh i {
    transition: transform .4s ease;
}

.lg-captcha-refresh:hover i {
    transform: rotate(180deg);
}

/* terms */
.lg-page-signup .lg-check {
    align-items: flex-start;
    font-size: 14px;
    line-height: 1.5;
}

.lg-page-signup .lg-check input[type="checkbox"] {
    margin-top: 2px;
}

.lg-page-signup .lg-check a {
    color: #1675ed;
    font-weight: 600;
}

.lg-page-signup .lg-btn {
    margin: 6px 0 0;
}

/* validation states from the existing scripts */
.lg-page-signup .lg-field:has(.invalid),
.lg-page-signup .has-error .lg-field {
    border-color: #e5484d;
}

/* registration closed message */
.lg-notice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 18px 20px;
    border: 1px solid #cfdcfb;
    border-radius: 14px;
    background: #eef4ff;
    color: #1e3a8a;
    font-size: 15px;
    line-height: 1.6;
}

.lg-notice i {
    font-size: 18px;
    line-height: 1.5;
}

@media (max-width: 1199px) {

    .lg-card-wide {
        padding: 32px 28px 28px;
    }
}

@media (max-width: 767px) {

    .lg-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {

    .lg-card-wide {
        padding: 24px 18px;
    }

    .lg-page-signup .lg-field,
    .lg-captcha {
        height: 50px;
    }
}
/* =========================================================
   FIXES: scroll, fields, password icons (login / forgot / signup)
========================================================= */

/* signup page loads front custom.css, which adds body padding for the fixed site header */
body.lg-body {
    padding-top: 0 !important;
    display: block;
}

/* headings use the page font, not the front-site h1/h2 font */
.lg-page h1,
.lg-page h2,
.lg-page h3 {
    font-family: inherit;
}

/* grid children must be allowed to shrink (prevents sideways overflow) */
.lg-page > * {
    min-width: 0;
}

/* browser's own password "reveal" eye (Edge / Windows) doubles up with ours */
.lg-page input[type="password"]::-ms-reveal,
.lg-page input[type="password"]::-ms-clear {
    display: none;
}

/* Chrome autofill paints a blue box inside the field */
.lg-page .lg-input:-webkit-autofill,
.lg-page .lg-input:-webkit-autofill:hover,
.lg-page .lg-input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px #fff inset;
    -webkit-text-fill-color: #111827;
    caret-color: #111827;
    transition: background-color 9999s ease-out;
}

/* eye / lock icons: keep them centred and consistent */
.lg-page .lg-field .toggle-password,
.lg-page .lg-eye {
    align-self: stretch;
    height: auto;
    line-height: 1;
}

.lg-page .lg-field .toggle-password:focus,
.lg-page .lg-eye:focus {
    outline: none;
    color: #1675ed;
}

.lg-page .lg-field-icon i,
.lg-page .lg-field .toggle-password i,
.lg-page .lg-eye i {
    width: 18px;
    text-align: center;
}

/* signup: card starts at the top; left panel stays pinned */
.lg-page-signup .lg-right {
    justify-content: flex-start;
}

@media (min-width: 992px) {
    .lg-page-signup .lg-left {
        align-self: start;
        min-height: 0;
    }
}

/* login / forgot: fit shorter laptop screens without page scroll */
@media (min-width: 992px) and (max-height: 820px) {

    .lg-page:not(.lg-page-signup) {
        min-height: 100vh;
        padding-top: 28px;
        padding-bottom: 28px;
    }

    .lg-page .lg-brand {
        margin-bottom: 22px;
    }

    .lg-page .lg-headline {
        font-size: clamp(28px, 2.6vw, 38px);
    }

    .lg-page .lg-lead {
        margin-bottom: 18px;
    }

    .lg-page .lg-features li {
        margin-bottom: 12px;
    }

    .lg-page .lg-feature-icon {
        width: 44px;
        height: 44px;
        font-size: 17px;
    }

    .lg-page:not(.lg-page-signup) .lg-card {
        padding: 24px 26px 30px;
    }

    .lg-page .lg-sub {
        margin-bottom: 22px;
    }

    .lg-page .lg-script {
        font-size: 24px;
    }
}

@media (min-width: 992px) and (max-height: 700px) {

    .lg-page .lg-script {
        display: none;
    }

    .lg-page .lg-visual {
        bottom: 10px;
        width: min(46%, 340px);
    }
}

/* phones / tablets: no stretched empty rows */
@media (max-width: 991px) {

    .lg-page {
        align-content: start;
        min-height: 100vh;
    }

    .lg-page-signup .lg-left {
        position: static;
        height: auto;
    }
}

/* captcha image cell: the empty label only matters for side-by-side layout */
@media (max-width: 767px) {

    .lg-page-signup .lg-captcha-group > label {
        display: none;
    }
}
/* signup grid: columns may shrink below the inputs' intrinsic width (fields were overflowing the card) */
.lg-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.lg-grid > * {
    min-width: 0;
}

.lg-page .lg-field,
.lg-page .lg-captcha {
    min-width: 0;
    width: 100%;
}

@media (max-width: 767px) {
    .lg-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}
/* signup has more fields: give the form side more room on desktop */
@media (min-width: 992px) {
    .lg-page.lg-page-signup {
        grid-template-columns: 0.85fr 1.15fr;
    }
}
/* =========================================================
   FIELDS = same look as the website home "Register for Free Demo"
   form (.ct-field in front custom.css): icon inside the field,
   no divider, 50px high, 10px radius, thin border, blue focus ring.
   Applies to login, forgot password and signup.
========================================================= */

.lg-page .lg-group > label,
.lg-page.lg-page-signup .lg-group > label {
    margin-bottom: 7px;
    color: #1f2937;
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.4;
}

.lg-page .lg-field,
.lg-page.lg-page-signup .lg-field {
    align-items: center;
    height: 50px;
    padding: 0 14px;
    background: #fff;
    border: 1.5px solid #dde4ef;
    border-radius: 10px;
    box-shadow: none;
}

.lg-page .lg-field:focus-within {
    border-color: #1675ed;
    box-shadow: 0 0 0 3px rgba(22, 117, 237, 0.12);
}

.lg-page .lg-field-icon,
.lg-page.lg-page-signup .lg-field-icon {
    flex: 0 0 auto;
    width: auto;
    margin-right: 12px;
    border: 0;
    background: none;
    color: #64748b;
    font-size: 16px;
}

.lg-page .lg-field:focus-within .lg-field-icon {
    color: #1675ed;
}

.lg-page .lg-input {
    height: 100%;
    padding: 0;
    font-size: 15px;
}

.lg-page .lg-input::placeholder {
    color: #9aa4b2;
}

/* eye toggle sits inside the field on the right */
.lg-page .lg-field .toggle-password,
.lg-page .lg-eye {
    flex: 0 0 auto;
    align-self: center;
    width: 32px;
    height: 32px;
    margin: 0 -6px 0 8px;
    border-radius: 8px;
    font-size: 15px;
}

.lg-page .lg-field .toggle-password:hover,
.lg-page .lg-eye:hover {
    background: #f1f6ff;
}

/* workspace addon: flush to the right edge of the field */
.lg-page .lg-field:has(.lg-addon) {
    padding-right: 0;
}

.lg-page .lg-addon {
    align-self: stretch;
    margin-left: 10px;
    padding: 0 14px;
    border-left: 1.5px solid #dde4ef;
    border-radius: 0 8px 8px 0;
    background: #f5f8fc;
    font-size: 14px;
}

/* captcha box matches field height / radius */
.lg-page .lg-captcha {
    height: 80px;
    border: 1.5px solid #dde4ef;
    border-radius: 10px;
}

.lg-page .lg-captcha-refresh {
    flex-basis: 48px;
    border-left: 1.5px solid #dde4ef;
}

/* error state */
.lg-page .lg-group:has(.is-invalid) .lg-field,
.lg-page .has-error .lg-field,
.lg-page .lg-field:has(.invalid) {
    border-color: #d92d20;
}

.lg-page .lg-group:has(.is-invalid) .lg-field-icon,
.lg-page .has-error .lg-field-icon {
    color: #d92d20;
}

.lg-page .invalid-feedback,
.lg-page .help-block {
    margin-top: 5px;
    color: #d92d20;
    font-size: 13px;
}

/* social + submit buttons match field corner radius */
.lg-page .lg-social {
    height: 50px;
    border-radius: 10px;
}

@media (max-width: 575px) {

    .lg-page .lg-field,
    .lg-page.lg-page-signup .lg-field,
    .lg-page .lg-captcha {
        height: 48px;
    }
}

/* "Back to home" + account link row at the top of the card (login) */
.lg-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-bottom: 22px;
}

.lg-card-top .lg-back-home,
.lg-card-top .lg-top-link {
    margin: 0;
}

.lg-card-top .lg-top-link {
    align-self: center;
}
/* logo links to the home page */
.lg-brand-link {
    display: inline-flex;
    width: fit-content;
    transition: opacity .2s ease;
}

.lg-brand-link:hover {
    opacity: .85;
}

@media (max-width: 991px) {
    .lg-brand-link {
        align-self: center;
    }
}
