﻿/* V-Konnect ERP - login (v2). Self-contained: no images, the graphics are inline SVG. */
:root {
    --vk-ink: #0f1d2e;
    --vk-muted: #5b6b80;
    --vk-line: #e3e8ef;
    --vk-brand: #0f8b74;
    --vk-brand-2: #0b6e5c;
    --vk-accent: #2f6fed;
    --vk-warm: #ffb547;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body.vk2 {
    margin: 0;
    font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--vk-ink);
    background: #f4f7fb;
}

.vk2-shell { display: grid; grid-template-columns: 1.15fr 1fr; min-height: 100vh; }

/* ---------------- left: brand + illustration ---------------- */
.vk2-art {
    position: relative;
    overflow: hidden;
    color: #fff;
    padding: 48px 56px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background:
        radial-gradient(900px 500px at 15% 10%, rgba(76, 222, 186, .35), transparent 60%),
        radial-gradient(700px 600px at 95% 90%, rgba(47, 111, 237, .45), transparent 60%),
        linear-gradient(140deg, #073b35 0%, #0a5b4f 45%, #0d3f63 100%);
}
.vk2-art::before {           /* faint dotted pattern */
    content: "";
    position: absolute; inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px);
    background-size: 22px 22px;
    mask-image: linear-gradient(180deg, rgba(0,0,0,.9), rgba(0,0,0,.2));
    -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.9), rgba(0,0,0,.2));
}
.vk2-brand { position: relative; display: flex; align-items: center; gap: 14px; }
.vk2-mark {
    width: 48px; height: 48px; border-radius: 14px;
    display: grid; place-items: center;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .25);
    backdrop-filter: blur(6px);
    font-weight: 800; letter-spacing: -.5px; font-size: 18px;
}
.vk2-mark b { color: #7ff0d2; }
.vk2-brand-name { font-weight: 700; font-size: 18px; line-height: 1.1; }
.vk2-brand-name small { display: block; font-weight: 500; font-size: 12px; opacity: .75; letter-spacing: .08em; text-transform: uppercase; }

.vk2-hero { position: relative; max-width: 560px; }
.vk2-hero h1 { margin: 0 0 12px; font-size: 40px; line-height: 1.12; font-weight: 800; letter-spacing: -.5px; }
.vk2-hero h1 span { background: linear-gradient(90deg, #7ff0d2, #9fc3ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.vk2-hero p { margin: 0; font-size: 15px; line-height: 1.6; opacity: .85; max-width: 470px; }

.vk2-scene { position: relative; margin: 26px 0 10px; height: 330px; }
.vk2-scene svg.vk2-illustration { position: absolute; left: -10px; bottom: 0; width: 100%; max-width: 560px; height: auto; }

/* floating glass cards over the illustration */
.vk2-float {
    position: absolute;
    background: rgba(255, 255, 255, .95);
    color: var(--vk-ink);
    border-radius: 14px;
    padding: 10px 14px;
    box-shadow: 0 18px 40px rgba(3, 25, 35, .35);
    font-size: 12px;
    animation: vk2-bob 6s ease-in-out infinite;
}
.vk2-float b { display: block; font-size: 16px; }
.vk2-float small { color: var(--vk-muted); }
.vk2-float .vk2-ico { width: 30px; height: 30px; border-radius: 9px; display: inline-grid; place-items: center; margin-right: 10px; vertical-align: middle; }
.vk2-float .vk2-row { display: flex; align-items: center; }
.vk2-f1 { right: 4%; top: 6px; }
.vk2-f2 { right: 14%; bottom: 18px; animation-delay: -2s; }
.vk2-f3 { left: 38%; top: -6px; animation-delay: -4s; }
@keyframes vk2-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.vk2-features { position: relative; display: flex; gap: 22px; flex-wrap: wrap; font-size: 13px; opacity: .9; }
.vk2-features span { display: inline-flex; align-items: center; gap: 8px; }
.vk2-features i { width: 8px; height: 8px; border-radius: 50%; background: #7ff0d2; box-shadow: 0 0 0 4px rgba(127, 240, 210, .18); }

/* ---------------- right: sign-in card ---------------- */
.vk2-side { position: relative; display: grid; place-items: center; padding: 40px 24px; overflow: hidden; }
.vk2-side::before, .vk2-side::after {
    content: ""; position: absolute; border-radius: 50%; filter: blur(2px); z-index: 0;
}
.vk2-side::before { width: 380px; height: 380px; right: -120px; top: -140px; background: radial-gradient(circle, rgba(15, 139, 116, .14), transparent 70%); }
.vk2-side::after { width: 420px; height: 420px; left: -160px; bottom: -180px; background: radial-gradient(circle, rgba(47, 111, 237, .12), transparent 70%); }

.vk2-card {
    position: relative; z-index: 1;
    width: 100%; max-width: 420px;
    background: #fff;
    border: 1px solid var(--vk-line);
    border-radius: 22px;
    padding: 36px 34px 26px;
    box-shadow: 0 30px 60px rgba(15, 29, 46, .08), 0 2px 6px rgba(15, 29, 46, .04);
}
.vk2-card-top { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.vk2-card-top .vk2-mark { background: linear-gradient(140deg, var(--vk-brand), var(--vk-accent)); color: #fff; border: 0; width: 44px; height: 44px; font-size: 16px; }
.vk2-card-top .vk2-mark b { color: #c9fff1; }
.vk2-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--vk-brand); text-transform: uppercase; }
.vk2-card h2 { margin: 2px 0 0; font-size: 24px; font-weight: 800; letter-spacing: -.3px; }
.vk2-sub { margin: 0 0 22px; color: var(--vk-muted); font-size: 14px; }

.vk2-field { margin-bottom: 14px; }
.vk2-field > label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: #2a3a4f; }
.vk2-input { position: relative; }
.vk2-input svg.vk2-lead { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: #8a99ad; pointer-events: none; }
.vk2-input input {
    width: 100%; height: 48px;
    padding: 0 46px 0 44px;
    border: 1.5px solid var(--vk-line);
    border-radius: 12px;
    font-size: 15px; color: var(--vk-ink);
    background: #fbfcfe;
    outline: none;
    transition: border-color .15s, box-shadow .15s, background .15s;
}
.vk2-input input:focus { border-color: var(--vk-brand); background: #fff; box-shadow: 0 0 0 4px rgba(15, 139, 116, .12); }
.vk2-input input:focus + svg.vk2-lead, .vk2-input:focus-within svg.vk2-lead { color: var(--vk-brand); }
.vk2-eye {
    position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
    width: 34px; height: 34px; border: 0; border-radius: 9px; background: transparent; color: #8a99ad; cursor: pointer;
    display: grid; place-items: center;
}
.vk2-eye:hover { background: #f1f4f8; color: var(--vk-ink); }
.vk2-eye svg { width: 18px; height: 18px; }
.vk2-error { display: block; min-height: 0; margin: 5px 0 0; font-size: 12px; font-weight: 600; color: #c0392b; }
.vk2-error:empty { display: none; }
.vk2-general { margin: 0 0 10px; padding: 9px 12px; border-radius: 10px; background: #fdecee; }
.vk2-general:empty { display: none; }

.vk2-options { display: flex; justify-content: space-between; align-items: center; margin: 4px 0 18px; font-size: 13px; color: var(--vk-muted); }
.vk2-check { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; user-select: none; }
.vk2-check input { width: 16px; height: 16px; accent-color: var(--vk-brand); margin: 0; }
.vk2-caps { color: #b26a00; font-weight: 600; display: none; }

.vk2-btn {
    width: 100%; height: 50px; border: 0; border-radius: 12px; cursor: pointer;
    display: flex; align-items: center; justify-content: center; gap: 10px;
    font-size: 15px; font-weight: 700; color: #fff;
    background: linear-gradient(120deg, var(--vk-brand) 0%, #0e7d8f 55%, var(--vk-accent) 100%);
    background-size: 160% 100%;
    box-shadow: 0 12px 24px rgba(15, 139, 116, .28);
    transition: background-position .4s, transform .1s, box-shadow .2s;
}
.vk2-btn:hover { background-position: 100% 0; box-shadow: 0 14px 28px rgba(47, 111, 237, .3); }
.vk2-btn:active { transform: translateY(1px); }
.vk2-btn svg { width: 18px; height: 18px; transition: transform .2s; }
.vk2-btn:hover svg { transform: translateX(3px); }
.vk2-btn[disabled] { opacity: .75; cursor: default; }

.vk2-secure { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 18px; font-size: 12px; color: var(--vk-muted); }
.vk2-secure svg { width: 14px; height: 14px; color: var(--vk-brand); }
.vk2-foot { display: flex; justify-content: space-between; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--vk-line); font-size: 12px; color: #8a99ad; }
.vk2-copy { position: relative; z-index: 1; margin-top: 18px; text-align: center; font-size: 12px; color: #8a99ad; }

/* ---------------- responsive ---------------- */
@media (max-width: 1100px) {
    .vk2-art { padding: 40px; }
    .vk2-hero h1 { font-size: 32px; }
    .vk2-f3 { display: none; }
}
@media (max-width: 900px) {
    .vk2-shell { grid-template-columns: 1fr; }
    .vk2-art { padding: 28px 24px 22px; min-height: auto; }
    .vk2-scene, .vk2-features { display: none; }
    .vk2-hero h1 { font-size: 26px; margin-top: 18px; }
    .vk2-hero p { font-size: 14px; }
    .vk2-side { padding: 0 16px 32px; margin-top: -18px; }
    .vk2-card { padding: 28px 22px 22px; border-radius: 18px; }
}
@media (prefers-reduced-motion: reduce) { .vk2-float { animation: none; } }
