
/* TLH DIRECT CSS MARKER v1.1 */

body.pagelayout-login {
    background: #050b12 !important;
    color: #eaf7ff;
}

/* FULL PAGE */
body.pagelayout-login #page,
body.pagelayout-login #page-wrapper,
body.pagelayout-login #page-content {
    background: #050b12 !important;
    min-height: 100vh;
    margin: 0 !important;
    padding: 0 !important;
}

/* REMOVE MOODLE STOCK IMAGE + AI WATERMARK */
body.pagelayout-login #page .login-layout-left {
    background-image: none !important;
    background:
        radial-gradient(circle at 18% 18%, rgba(0, 196, 255, .18), transparent 30%),
        radial-gradient(circle at 78% 75%, rgba(30, 120, 180, .14), transparent 34%),
        linear-gradient(145deg, #06111c 0%, #071c29 48%, #08131f 100%) !important;
    position: relative;
    overflow: hidden;
}

body.pagelayout-login #page .login-layout-left::after {
    content: none !important;
    display: none !important;
}

/* GRID */
body.pagelayout-login #page .login-layout-left::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(79, 208, 255, .055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(79, 208, 255, .055) 1px, transparent 1px);
    background-size: 46px 46px;
    pointer-events: none;
}

/* LEFT HERO */
.tlh-cx-hero {
    position: relative;
    z-index: 2;
    width: 100%;
    min-height: 100vh;
    padding: 42px 56px 48px;
    display: flex;
    flex-direction: column;
    color: #fff;
}

.tlh-cx-topline {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tlh-cx-brand {
    display: flex;
    flex-direction: column;
}

.tlh-cx-brand-main {
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: .12em;
    color: #f5fcff;
}

.tlh-cx-brand-sub {
    margin-top: 7px;
    color: #59d8ff;
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .25em;
}

.tlh-cx-status {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 8px 12px;
    border: 1px solid rgba(91, 219, 255, .18);
    border-radius: 999px;
    background: rgba(8, 28, 40, .72);
    color: rgba(197, 239, 252, .72);
    font-size: .61rem;
    font-weight: 700;
    letter-spacing: .14em;
}

.tlh-cx-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #2de4a4;
    box-shadow: 0 0 14px rgba(45, 228, 164, .75);
}

/* ORBIT VISUAL */
.tlh-cx-visual {
    position: absolute;
    width: 430px;
    height: 430px;
    right: 28px;
    top: 20%;
    opacity: .72;
}

.tlh-orbit {
    position: absolute;
    left: 50%;
    top: 50%;
    border-radius: 50%;
    border: 1px solid rgba(83, 216, 255, .24);
    transform: translate(-50%, -50%) rotateX(62deg) rotateZ(18deg);
}

.tlh-orbit-1 {
    width: 390px;
    height: 390px;
    animation: tlhrotate 22s linear infinite;
}

.tlh-orbit-2 {
    width: 285px;
    height: 285px;
    animation: tlhrotate 16s linear infinite reverse;
}

.tlh-orbit-3 {
    width: 180px;
    height: 180px;
    animation: tlhrotate 11s linear infinite;
}

@keyframes tlhrotate {
    to {
        transform: translate(-50%, -50%) rotateX(62deg) rotateZ(378deg);
    }
}

.tlh-core {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 90px;
    height: 90px;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(94, 225, 255, .48);
    background: radial-gradient(circle, rgba(41, 197, 244, .24), rgba(4, 19, 30, .96) 65%);
    box-shadow: 0 0 45px rgba(43, 207, 255, .20);
    color: #dff9ff;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .18em;
}

.tlh-core-ring {
    position: absolute;
    inset: -15px;
    border-radius: 50%;
    border: 1px dashed rgba(91, 219, 255, .32);
    animation: tlhspin 15s linear infinite;
}

@keyframes tlhspin {
    to { transform: rotate(360deg); }
}

.tlh-node {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #64dcff;
    box-shadow: 0 0 13px rgba(70, 214, 255, .9);
}

.tlh-node-1 { left: 17%; top: 37%; }
.tlh-node-2 { right: 12%; top: 29%; }
.tlh-node-3 { left: 25%; bottom: 19%; }
.tlh-node-4 { right: 24%; bottom: 15%; }

/* COPY */
.tlh-cx-copy {
    margin-top: auto;
    width: 64%;
    max-width: 600px;
}

.tlh-cx-eyebrow {
    margin-bottom: 16px;
    color: #59d8ff;
    font-size: .67rem;
    font-weight: 700;
    letter-spacing: .24em;
}

.tlh-cx-copy h1 {
    margin: 0 0 26px !important;
    color: #fff !important;
    font-size: clamp(3.7rem, 5.1vw, 6.5rem) !important;
    line-height: .89 !important;
    letter-spacing: -.052em;
    font-weight: 650;
}

.tlh-cx-copy p {
    margin: 0;
    max-width: 510px;
    color: rgba(215, 240, 249, .67) !important;
    font-size: 1rem;
    line-height: 1.65;
}

.tlh-cx-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.tlh-cx-tags span {
    padding: 7px 11px;
    border-radius: 8px;
    border: 1px solid rgba(85, 213, 255, .16);
    background: rgba(7, 29, 43, .72);
    color: rgba(184, 233, 249, .72);
    font-size: .59rem;
    font-weight: 700;
    letter-spacing: .12em;
}

/* RIGHT SIDE */
body.pagelayout-login #page .login-layout-right {
    position: relative;
    min-height: 100vh;
    background:
        radial-gradient(circle at 100% 0%, rgba(20, 100, 135, .2), transparent 35%),
        #07101a !important;
    display: flex;
    align-items: center;
}

body.pagelayout-login #page .login-layout-right::before {
    content: "SECURE ACCESS";
    position: absolute;
    top: 42px;
    right: 50px;
    color: rgba(100, 214, 248, .52);
    font-size: .61rem;
    font-weight: 700;
    letter-spacing: .18em;
}

/* GLASS LOGIN PANEL */
body.pagelayout-login #page .login-container {
    width: calc(100% - 76px) !important;
    max-width: 600px !important;
    margin: auto !important;
    padding: 52px 50px !important;

    background:
        linear-gradient(
            145deg,
            rgba(17, 36, 50, .88),
            rgba(7, 18, 29, .94)
        ) !important;

    border: 1px solid rgba(134, 198, 222, .14) !important;
    border-radius: 22px !important;

    box-shadow:
        0 32px 90px rgba(0, 0, 0, .42),
        inset 0 1px 0 rgba(255, 255, 255, .03) !important;

    backdrop-filter: blur(24px);
}

/* TEXT */
body.pagelayout-login #page .login-container h1,
body.pagelayout-login #page .login-container h2,
body.pagelayout-login #page .login-heading {
    color: #f5fbff !important;
}

body.pagelayout-login #page .login-container p,
body.pagelayout-login #page .login-container label {
    color: rgba(218, 237, 246, .72) !important;
}

/* INPUTS */
body.pagelayout-login #page input[type="text"],
body.pagelayout-login #page input[type="email"],
body.pagelayout-login #page input[type="password"] {
    width: 100% !important;
    min-height: 54px !important;

    background: rgba(3, 14, 22, .76) !important;
    color: #eefaff !important;

    border: 1px solid rgba(135, 192, 214, .19) !important;
    border-radius: 11px !important;

    box-shadow: inset 0 1px 3px rgba(0, 0, 0, .25) !important;
}

body.pagelayout-login #page input::placeholder {
    color: rgba(171, 207, 222, .38) !important;
}

body.pagelayout-login #page input:focus {
    border-color: rgba(74, 210, 255, .72) !important;
    box-shadow:
        0 0 0 3px rgba(30, 190, 241, .10),
        0 0 28px rgba(28, 193, 246, .07) !important;
}

/* LOGIN BUTTON */
body.pagelayout-login #page .btn-primary {
    min-height: 54px !important;
    border: 1px solid rgba(82, 215, 255, .20) !important;
    border-radius: 11px !important;

    background:
        linear-gradient(90deg, #075574, #087d9e) !important;

    color: #fff !important;
    font-weight: 650;

    box-shadow: 0 12px 30px rgba(0, 122, 166, .22);
}

body.pagelayout-login #page .btn-primary:hover {
    background:
        linear-gradient(90deg, #08688c, #0794ba) !important;
}

/* LINKS */
body.pagelayout-login #page a {
    color: #60d9ff !important;
}

/* REMOVE FOOTER */
body.pagelayout-login #page-footer {
    display: none !important;
}

/* MOBILE */
@media (max-width: 991.98px) {
    body.pagelayout-login #page .login-layout-left {
        display: none !important;
    }

    body.pagelayout-login #page .login-layout-right {
        width: 100% !important;
    }

    body.pagelayout-login #page .login-container {
        width: calc(100% - 40px) !important;
        max-width: 560px !important;
    }
}



/* ============================================================
   TLH LOGIN v1.2 POLISH
   ============================================================ */

/* Password field + reveal icon alignment */
body.pagelayout-login .login-form-password .input-group {
    display: flex !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
    align-items: stretch !important;
}

body.pagelayout-login .login-form-password .input-group > input.form-control {
    width: auto !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;

    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

body.pagelayout-login .login-form-password .input-group > .btn,
body.pagelayout-login .login-form-password .input-group > button {
    position: static !important;

    flex: 0 0 54px !important;
    width: 54px !important;
    min-width: 54px !important;

    margin: 0 !important;

    border:
        1px solid
        rgba(135, 192, 214, .19) !important;

    border-left: 0 !important;

    border-radius:
        0 11px 11px 0 !important;

    background:
        rgba(3, 14, 22, .76) !important;

    color: #92cfe3 !important;

    box-shadow: none !important;
}

body.pagelayout-login .login-form-password .input-group > .btn:hover,
body.pagelayout-login .login-form-password .input-group > button:hover {
    background:
        rgba(13, 52, 69, .9) !important;

    color: #66ddff !important;
}


/* Right panel spacing */
body.pagelayout-login #page .login-container {
    max-width: 570px !important;

    padding:
        58px 56px 54px !important;

    border-color:
        rgba(95, 190, 220, .18) !important;
}


/* Stronger heading hierarchy */
body.pagelayout-login #page .login-container h1,
body.pagelayout-login #page .login-container h2 {
    letter-spacing: -.025em;
}

body.pagelayout-login #page .login-heading {
    margin-bottom: 12px !important;
}


/* Cleaner label spacing */
body.pagelayout-login .login-form-username,
body.pagelayout-login .login-form-password {
    margin-bottom: 22px !important;
}

body.pagelayout-login label {
    margin-bottom: 9px !important;

    font-size: .91rem;

    font-weight: 600;
}


/* Login button refinement */
body.pagelayout-login #page .btn-primary {
    margin-top: 14px;

    letter-spacing: .02em;

    box-shadow:
        0 10px 32px rgba(0, 145, 190, .22),
        inset 0 1px 0 rgba(255,255,255,.08);
}


/* Secure access label */
body.pagelayout-login #page .login-layout-right::before {
    top: 37px;
    right: 42px;

    padding-left: 18px;

    background:
        linear-gradient(
            90deg,
            rgba(61,213,255,.35),
            transparent
        )
        left center / 11px 1px no-repeat;
}


/* Left-side visual refinement */
.tlh-cx-copy {
    position: relative;
    z-index: 4;
}

.tlh-cx-copy h1 {
    text-shadow:
        0 0 42px rgba(82, 212, 255, .055);
}

.tlh-cx-visual {
    opacity: .60;

    filter:
        drop-shadow(
            0 0 24px
            rgba(37,188,233,.07)
        );
}


/* Slight glow around the TLH core */
.tlh-core {
    box-shadow:
        0 0 45px rgba(43, 207, 255, .18),
        0 0 100px rgba(23, 137, 177, .12),
        inset 0 0 24px rgba(67, 212, 255, .08);
}


/* Tags behave more like CX Workspace status chips */
.tlh-cx-tags span {
    transition:
        border-color .18s ease,
        background .18s ease,
        color .18s ease;
}

.tlh-cx-tags span:hover {
    border-color:
        rgba(85, 213, 255, .36);

    background:
        rgba(11, 48, 65, .85);

    color:
        rgba(218, 249, 255, .9);
}


/* Better mobile spacing */
@media (max-width: 575.98px) {

    body.pagelayout-login #page .login-container {
        padding:
            42px 26px 38px !important;
    }

}

