﻿:root {
    --navy: #0a0f1e;
    --navy2: #0f172a;
    --blue: #1E90FF;
    --blue-lt: #3da3ff;
    --accent: #00d4ff;
    --glass: rgba(255,255,255,0.04);
    --border: rgba(255,255,255,0.08);
    --text: #e2e8f0;
    --muted: #94a3b8;
    --radius: 14px;
}

/* Background  */
#bg-canvas {
    position: fixed;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 70% 50%, rgba(30,144,255,.18) 0%, transparent 60%), radial-gradient(ellipse 50% 40% at 20% 80%, rgba(0,212,255,.10) 0%, transparent 55%), var(--navy);
    z-index: 0;
}

    #bg-canvas::after {
        content: '';
        position: absolute;
        inset: 0;
        background-image: radial-gradient(rgba(255,255,255,.035) 1px, transparent 1px);
        background-size: 32px 32px;
    }

/*  Layout */
.page-wrap {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

/*  Login panel */
.panel-login {
    align-items: center;
    flex-direction: column;
    justify-content: center;
    padding: 48px 52px;
    background: rgba(15, 23, 42, .85);
    border-right: 1px solid var(--border);
    backdrop-filter: blur(18px);
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
    max-width: 500px;
}

.panel-info {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 72px;
}

.logo-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

    .logo-wrap a img {
        max-height: 150px;
        width: 100%;
        filter: brightness(1.1);
    }

/* Demo dropdown  */
.demo-header-text {
    font-size: 20px;
    font-weight: 800;
    color: var(--blue-lt);
    margin-bottom: 24px;
    text-align: center;
}

.demo-dropdown {
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.demo-caret {
    font-size: 11px;
}

.demo-dropdown-menu {
    display: none;
    position: absolute;
    background: var(--navy2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    z-index: 1000;
    width: 100%;
    font-size: 12px;
    overflow: hidden;
}

.demo-option {
    all: unset;
    display: block;
    width: 100%;
    padding: 10px 15px;
    color: white;
    box-sizing: border-box;
}

    .demo-option:last-child {
        border-bottom: none;
    }

    .demo-option:hover {
        background: rgba(30,144,255,.12);
        color: var(--blue-lt);
    }

/*  Buttons */
.btn-signin, .btn-start-free {
    width: 100%;
    background: linear-gradient(135deg, var(--blue) 0%, #0ea5e9 100%);
    color: #fff;
    border: none;
    padding: 13px;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(30,144,255,.3);
    margin-bottom: 15px;
    text-decoration: none;
}

.free-workspace-block {
    margin: 20px 0 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

    .btn-signin:hover, .btn-start-free:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 28px rgba(30,144,255,.45);
        text-decoration: none;
        color: var(--text);
    }

.btn-free-trial {
    background: transparent;
    border: 1px solid var(--blue);
    color: var(--blue-lt);
    box-shadow: none;
}

    .btn-free-trial:hover {
        background: linear-gradient(135deg, var(--blue) 0%, #0ea5e9 100%);
        color: #fff;
        box-shadow: 0 8px 28px rgba(30,144,255,.45);
    }

#freeTrial.e-btn.e-primary:focus {
    background: linear-gradient(135deg, var(--blue) 0%, #0ea5e9 100%) !important;
    border: 1px solid var(--blue) !important;
    box-shadow: 0 8px 28px rgba(30,144,255,.45) !important;
    outline: none !important;
}

/*  Form fields  */
.field-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    width: 100%;
}

.field-icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(30,144,255,.1);
    border-radius: 8px;
    flex-shrink: 0;
    color: var(--blue-lt);
    font-size: 15px;
}

.e-float-input {
    flex: 1;
    position: relative;
    margin-top: 0;
    margin-bottom: 0;
    min-width: 0;
}

    .e-float-input input {
        width: 100%;
        box-sizing: border-box;
        background: var(--glass);
        border: 1px solid var(--border);
        border-radius: 10px;
        color: var(--text);
        font-size: 14px;
        outline: none;
        caret-color: var(--blue-lt);
        height: 42px;
        padding: 0 14px;
        border-bottom: 1px solid var(--border);
        padding-left: 15px !important;
    }

        .e-float-input input:focus {
            border-color: var(--blue);
            background: rgba(30,144,255,.06);
        }

    .e-float-input .e-float-line {
        display: none;
    }

    .e-float-input label {
        position: absolute;
        left: 14px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 13px;
        color: var(--muted);
        pointer-events: none;
        transition: .2s ease;
    }

    .e-float-input input:focus ~ label,
    .e-float-input input:not(:placeholder-shown) ~ label,
    .e-float-input input:valid ~ label {
        top: 8px;
        font-size: 10px;
        color: var(--blue-lt);
        text-transform: uppercase;
    }

#caps_lock_div {
    margin: -10px 0 12px 46px;
    display: none;
}

#caps_lock_p {
    font-size: 11px;
    font-weight: 600;
    color: var(--blue);
    margin: 0;
}

.remember-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 18px;
}

    .remember-row input[type="checkbox"] {
        accent-color: var(--blue);
        width: 15px;
        height: 15px;
    }

    .remember-row label {
        cursor: pointer;
    }

.links-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    margin-bottom: 18px;
}

    .links-row a {
        color: var(--blue-lt);
        text-decoration: none;
    }

        .links-row a:hover {
            text-decoration: underline;
        }

.info-note, .demo-main-btn, .free-workspace-block {
    background: rgba(30,144,255,.08);
    border: 1px solid rgba(30,144,255,.2);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 16px;
    text-align: center;
    line-height: 1.5;
}

.demo-main-btn {
    margin: 0;
    padding: 8px 14px;
    font-size: 13px;
    cursor: pointer;
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.free-workspace-block {
    margin: 20px 0 0;
}

    .free-workspace-block p {
        font-size: 13px;
        color: var(--muted);
        line-height: 1.5;
        margin: 15px 0 0;
    }

/*  Info card  */
.info-card {
    max-width: 520px;
    width: 100%;
}

.info-card-eyebrow {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--blue-lt);
    margin-bottom: 16px;
}

.info-card h2 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 800;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 20px;
}

    .info-card h2 span {
        background: linear-gradient(90deg, var(--blue), var(--accent));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

.info-card p {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 32px;
}

.feature-list {
    list-style: none;
}

    .feature-list li {
        display: flex;
        align-items: center;
        gap: 14px;
        padding: 14px 0;
        border-bottom: 1px solid var(--border);
        font-size: 14px;
        color: var(--text);
    }

.feat-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    background: linear-gradient(135deg, rgba(30,144,255,.15), rgba(0,212,255,.08));
    border: 1px solid rgba(30,144,255,.25);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue-lt);
    font-size: 16px;
    transition: all .2s ease;
}

@media (max-width: 900px) {
    html, body {
        overflow: auto;
    }

    .page-wrap {
        flex-direction: column;
    }

    .panel-login {
        width: 100%;
        padding: 36px 28px;
    }

    .panel-info {
        padding: 40px 28px;
    }
}

@media (max-width: 480px) {
    .panel-login {
        padding: 28px 20px;
    }
}

.e-float-input:not(.e-input-group) input,
.e-float-input.e-control-wrapper:not(.e-input-group) input {
    box-sizing: border-box;
}

/* Chrome, Safari, Edge */
.e-float-input input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px var(--glass) inset;
    -webkit-text-fill-color: var(--text);
    transition: background-color 5000s ease-in-out 0s;
}

/* Firefox */
.e-float-input input:-moz-autofill {
    background-color: var(--glass) ;
    color: var(--text);
}