/* ==========================================================
   EVDVISION LOGIN V23
   Enterprise authentication experience
   HTML + CSS only
   ========================================================== */

.evd-login-v22 {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(600px, 1.06fr) minmax(560px, .94fr);
    background: #fff;
    overflow: hidden;
}

/* ==========================================================
   LEFT / BRAND EXPERIENCE
   ========================================================== */

.evd-login-brand-v23 {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(circle at 85% 20%, rgba(27, 122, 255, .20), transparent 31%),
        radial-gradient(circle at 10% 94%, rgba(0, 194, 255, .12), transparent 30%),
        linear-gradient(145deg, #061630 0%, #082552 55%, #0a326c 100%);
}

.evd-login-brand-v23::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(120deg, transparent 0 56%, rgba(255,255,255,.025) 56.2%, transparent 56.5%),
        linear-gradient(30deg, transparent 0 72%, rgba(34,167,255,.045) 72.2%, transparent 72.5%);
    pointer-events: none;
}

.evd-v23-grid {
    position: absolute;
    inset: 0;
    z-index: -3;
    opacity: .13;
    background-image:
        linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: linear-gradient(to bottom, transparent 0%, #000 20%, #000 78%, transparent 100%);
}

.evd-v23-aurora {
    position: absolute;
    z-index: -2;
    border-radius: 50%;
    pointer-events: none;
}

.evd-v23-aurora-a {
    width: 520px;
    height: 520px;
    right: -250px;
    top: 12%;
    background: rgba(19, 121, 255, .11);
}

.evd-v23-aurora-b {
    width: 440px;
    height: 440px;
    left: -230px;
    bottom: -160px;
    background: rgba(0, 202, 255, .08);
}

.evd-v23-shell {
    position: relative;
    z-index: 2;
    width: min(760px, 82%);
    min-height: 100vh;
    margin: 0 auto;
    padding: 58px 0 40px;
    display: flex;
    flex-direction: column;
}

/* Brand */

.evd-v23-brand img {
    display: block;
    width: min(390px, 60%);
    height: 92px;
    object-fit: contain;
    object-position: left center;
    filter: saturate(.94) contrast(1.04);
}

.evd-v23-brandline {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 12px;
    padding-left: 8px;
    color: rgba(224, 238, 255, .66);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 4px;
}

.evd-v23-brandline i {
    display: block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #1cc5ff;
    box-shadow: 0 0 12px rgba(28,197,255,.7);
}

/* Main message */

.evd-v23-content {
    position: relative;
    z-index: 4;
    margin-top: auto;
    margin-bottom: auto;
    max-width: 680px;
    padding: 34px 0 44px;
}

.evd-v23-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 23px;
    color: #71d4ff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.4px;
}

.evd-v23-live-dot {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: #27d6ba;
    box-shadow: 0 0 0 5px rgba(39,214,186,.09),
                0 0 18px rgba(39,214,186,.48);
}

.evd-v23-content h2 {
    margin: 0;
    max-width: 650px;
    color: #fff;
    font-size: clamp(44px, 4.4vw, 70px);
    line-height: .99;
    font-weight: 750;
    letter-spacing: -2.8px;
}

.evd-v23-content h2 span {
    background: linear-gradient(90deg, #4f8fff 0%, #20c5f5 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.evd-v23-content > p {
    max-width: 575px;
    margin: 27px 0 0;
    color: rgba(219, 232, 250, .68);
    font-size: 15px;
    line-height: 1.75;
    letter-spacing: .05px;
}

/* Capability cards */

.evd-v23-capabilities {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 38px;
}

.evd-v23-capability {
    min-width: 0;
    min-height: 82px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border: 1px solid rgba(138, 192, 255, .13);
    border-radius: 14px;
    background: rgba(255,255,255,.045);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
    backdrop-filter: blur(8px);
}

.evd-v23-cap-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(89, 184, 255, .15);
    border-radius: 10px;
    color: #51c9ff;
    background: rgba(34, 144, 255, .10);
    font-size: 21px;
}

.evd-v23-capability > span:last-child {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.evd-v23-capability strong {
    color: #f7fbff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .15px;
}

.evd-v23-capability small {
    margin-top: 3px;
    color: rgba(211, 228, 249, .48);
    font-size: 9px;
    white-space: nowrap;
}

/* CSS network accent */

.evd-v23-network {
    position: absolute;
    z-index: 1;
    width: 470px;
    height: 470px;
    right: -190px;
    bottom: -95px;
    opacity: .72;
    pointer-events: none;
}

.evd-v23-ring {
    position: absolute;
    left: 50%;
    top: 50%;
    border: 1px solid rgba(66, 167, 255, .14);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.evd-v23-ring.ring-a {
    width: 440px;
    height: 190px;
    transform: translate(-50%, -50%) rotate(-20deg);
}

.evd-v23-ring.ring-b {
    width: 390px;
    height: 285px;
    transform: translate(-50%, -50%) rotate(28deg);
}

.evd-v23-ring.ring-c {
    width: 260px;
    height: 420px;
    transform: translate(-50%, -50%) rotate(58deg);
}

.evd-v23-node {
    position: absolute;
    width: 7px;
    height: 7px;
    border: 2px solid rgba(255,255,255,.75);
    border-radius: 50%;
    background: #31c5ff;
    box-shadow: 0 0 16px rgba(49,197,255,.65);
}

.evd-v23-node.node-a { left: 13%; top: 46%; }
.evd-v23-node.node-b { right: 18%; top: 30%; }
.evd-v23-node.node-c { right: 29%; bottom: 15%; }

/* Footer */

.evd-v23-footer {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 14px;
    color: rgba(216, 231, 249, .42);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.evd-v23-footer-line {
    width: 42px;
    height: 1px;
    background: rgba(126, 185, 255, .22);
}

/* ==========================================================
   RIGHT / AUTHENTICATION
   ========================================================== */

.evd-login-side {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px;
    overflow: hidden;
    background:
        radial-gradient(circle at 92% 7%, rgba(64,140,255,.075), transparent 28%),
        linear-gradient(145deg, #ffffff 0%, #f8faff 100%);
}

.evd-login-card {
    position: relative;
    z-index: 5;
    width: 100%;
    max-width: 500px;
    padding: 39px 42px 34px;
    border: 1px solid #e6ecf5;
    border-radius: 22px;
    background: rgba(255,255,255,.95);
    box-shadow:
        0 25px 70px rgba(27, 52, 89, .08),
        0 2px 6px rgba(27, 52, 89, .025);
}

.evd-login-logo {
    margin-bottom: 18px;
    text-align: center;
}

.evd-login-logo img {
    width: min(300px, 74%);
    max-height: 78px;
    object-fit: contain;
}

.evd-login-heading {
    margin-bottom: 20px;
    text-align: center;
}

.evd-login-heading h1 {
    margin: 0;
    color: #09234f;
    font-size: clamp(38px, 3.2vw, 52px);
    line-height: 1.02;
    font-weight: 750;
    letter-spacing: -1.8px;
}

.evd-login-heading p {
    margin: 12px 0 0;
    color: #7c8ba3;
    font-size: 13px;
}

.evd-field {
    margin-bottom: 19px;
}

.evd-field label {
    display: block;
    margin-bottom: 7px;
    color: #10284e;
    font-size: 11px;
    font-weight: 700;
}

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

.evd-input-wrap .form-control {
    height: 52px;
    padding: 0 45px;
    border: 1px solid #dce4ef;
    border-radius: 10px;
    color: #10284e;
    background: #fff;
    font-size: 13px;
    box-shadow: none;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.evd-input-wrap .form-control:focus {
    border-color: #4d7eea;
    box-shadow: 0 0 0 4px rgba(48,105,225,.08);
}

.evd-input-icon {
    position: absolute;
    z-index: 2;
    left: 15px;
    top: 50%;
    display: grid;
    place-items: center;
    transform: translateY(-50%);
    color: #8292aa;
    font-size: 18px;
}

.evd-password-toggle {
    position: absolute;
    z-index: 3;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #70839f;
    cursor: pointer;
}

.evd-login-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 5px 0 22px;
}

.evd-remember,
.evd-remember label,
.evd-forgot {
    font-size: 10px;
}

.evd-forgot {
    color: #1859d8;
    font-weight: 700;
    text-decoration: none;
}

.evd-signin-btn {
    width: 100%;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 0;
    border-radius: 10px;
    color: #fff;
    background: linear-gradient(90deg, #1849d6 0%, #09aeea 100%);
    box-shadow: 0 12px 24px rgba(30, 102, 221, .18);
    font-size: 13px;
    font-weight: 700;
    transition: transform .18s ease, box-shadow .18s ease;
}

.evd-signin-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 15px 30px rgba(30, 102, 221, .23);
}

.evd-btn-arrow {
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 50%;
}

.evd-login-security {
    margin-top: 21px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: #8290a5;
    font-size: 9px;
}

.evd-login-security iconify-icon {
    color: #19aa9d;
    font-size: 14px;
}

.evd-login-footer {
    position: absolute;
    bottom: 24px;
    left: 0;
    right: 0;
    color: #9aa6b8;
    text-align: center;
    font-size: 9px;
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 1180px) {
    .evd-login-v22 {
        grid-template-columns: .92fr 1.08fr;
    }

    .evd-v23-shell {
        width: 84%;
    }

    .evd-v23-content h2 {
        font-size: 48px;
    }

    .evd-v23-capabilities {
        grid-template-columns: 1fr;
        max-width: 320px;
    }

    .evd-v23-capability {
        min-height: 64px;
    }
}

@media (max-width: 900px) {
    .evd-login-v22 {
        display: block;
    }

    .evd-login-brand-v23 {
        display: none;
    }

    .evd-login-side {
        min-height: 100vh;
        padding: 30px 20px 70px;
    }

    .evd-login-card {
        max-width: 500px;
    }
}

@media (max-width: 560px) {
    .evd-login-card {
        padding: 32px 24px 28px;
        border-radius: 18px;
    }

    .evd-login-heading h1 {
        font-size: 38px;
    }

    .evd-login-logo img {
        width: min(270px, 80%);
    }
}


/* ==========================================================
   EVDVISION LOGIN V23.1
   WHITE PREMIUM BRAND + CAPABILITIES CARDS
   ========================================================== */


/* ----------------------------------------------------------
   TOP BRAND CARD
   ---------------------------------------------------------- */

.evd-v23-brand {
    width: fit-content;
    min-width: 430px;

    padding: 18px 26px 16px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.98),
            rgba(247,250,255,.97)
        );

    border: 1px solid rgba(255,255,255,.85);
    border-radius: 18px;

    box-shadow:
        0 18px 42px rgba(0, 12, 42, .18),
        inset 0 1px 0 rgba(255,255,255,1);

    backdrop-filter: blur(12px);
}


.evd-v23-brand img {
    width: 315px;
    max-width: 100%;
    height: 70px;

    margin: 0;

    object-fit: contain;
    object-position: left center;

    filter: none;
}


.evd-v23-brandline {
    margin-top: 8px;
    padding-left: 4px;

    color: #52627d;

    font-size: 9px;
    font-weight: 750;

    letter-spacing: 3.5px;
}


.evd-v23-brandline i {
    width: 4px;
    height: 4px;

    background: #13afe8;

    box-shadow:
        0 0 10px rgba(19,175,232,.45);
}


/* ----------------------------------------------------------
   ONE WHITE CAPABILITIES CARD
   ---------------------------------------------------------- */

.evd-v23-capabilities {
    position: relative;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 0;

    margin-top: 38px;

    padding: 10px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.98),
            rgba(246,250,255,.96)
        );

    border: 1px solid rgba(255,255,255,.85);
    border-radius: 18px;

    box-shadow:
        0 18px 44px rgba(0, 12, 42, .17),
        inset 0 1px 0 rgba(255,255,255,1);

    backdrop-filter: blur(12px);

    overflow: hidden;
}


/* individual feature becomes section, not separate card */

.evd-v23-capability {
    position: relative;

    min-width: 0;
    min-height: 80px;

    display: flex;
    align-items: center;

    gap: 12px;

    padding: 13px 16px;

    border: 0;
    border-radius: 12px;

    background: transparent;

    box-shadow: none;

    backdrop-filter: none;
}


/* separators */

.evd-v23-capability:not(:last-child)::after {
    content: "";

    position: absolute;

    right: 0;
    top: 18px;
    bottom: 18px;

    width: 1px;

    background:
        linear-gradient(
            to bottom,
            transparent,
            rgba(72, 96, 145, .14),
            transparent
        );
}


/* icon */

.evd-v23-cap-icon {
    width: 42px;
    height: 42px;

    flex: 0 0 42px;

    display: grid;
    place-items: center;

    color: #1476e6;

    background:
        linear-gradient(
            145deg,
            #edf5ff,
            #e4f1ff
        );

    border: 1px solid rgba(41,120,225,.12);
    border-radius: 11px;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.9),
        0 5px 12px rgba(39,104,196,.08);

    font-size: 21px;
}


/* text */

.evd-v23-capability strong {
    color: #10284f;

    font-size: 12px;
    font-weight: 760;
}


.evd-v23-capability small {
    margin-top: 4px;

    color: #7e8da5;

    font-size: 9px;
    font-weight: 500;

    white-space: nowrap;
}


/* very subtle feature hover */

@media (hover:hover) and (pointer:fine) {

    .evd-v23-capability {
        transition:
            background .18s ease,
            transform .18s ease;
    }

    .evd-v23-capability:hover {
        background: rgba(36,117,231,.035);
    }

    .evd-v23-capability:hover .evd-v23-cap-icon {
        transform: translateY(-1px);
    }

}


/* ----------------------------------------------------------
   RESPONSIVE
   ---------------------------------------------------------- */

@media (max-width: 1180px) {

    .evd-v23-brand {
        min-width: 0;
        width: 100%;
        max-width: 390px;
    }

    .evd-v23-capabilities {
        grid-template-columns: 1fr;
        max-width: 390px;
        padding: 8px;
    }

    .evd-v23-capability:not(:last-child)::after {
        left: 16px;
        right: 16px;
        top: auto;
        bottom: 0;

        width: auto;
        height: 1px;

        background:
            linear-gradient(
                90deg,
                transparent,
                rgba(72,96,145,.14),
                transparent
            );
    }

}

