html,
body.pv7-login-body {
    margin: 0;
    height: 100%;
    overflow: hidden;
}

body.pv7-login-body {
    background: #fff;
    font-family: Inter, "Segoe UI", sans-serif;
    color: #0f172a;
}

.pv7-login {
    height: 100vh;
    max-height: 100vh;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 16px;
    padding: 20px 36px;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    background: #fff;
}

.pv7-art {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 0;
    overflow: hidden;
}

.pv7-art img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: calc(100vh - 48px);
    object-fit: contain;
}

.pv7-card-wrap {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
}

@property --pv7-angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

.pv7-card {
    width: 100%;
    max-width: 420px;
    background:
        linear-gradient(#fff, #fff) padding-box,
        conic-gradient(from var(--pv7-angle), #dbeafe, #2563eb, #38bdf8, #1e3a8a, #60a5fa, #93c5fd, #dbeafe) border-box;
    border: 3px solid transparent;
    border-radius: 22px;
    box-shadow: 0 18px 50px rgba(37, 99, 235, 0.08), 0 2px 8px rgba(15, 23, 42, 0.04);
    padding: 36px 32px 28px;
    animation: pv7Border 3.2s linear infinite;
}

@keyframes pv7Border {
    to { --pv7-angle: 360deg; }
}

.pv7-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 28px;
}

.pv7-brand img.logo {
    max-height: 52px;
    max-width: 180px;
    object-fit: contain;
}

.pv7-mark {
    width: 46px;
    height: 46px;
    flex: 0 0 auto;
}

.pv7-brand-text { text-align: left; line-height: 1.15; }

.pv7-brand-text strong {
    display: block;
    font-size: 26px;
    letter-spacing: -0.03em;
    color: #1e3a8a;
}

.pv7-brand-text span {
    display: block;
    margin-top: 3px;
    font-size: 12px;
    color: #64748b;
}

.pv7-card h1 {
    margin: 0 0 6px;
    font-size: 26px;
    letter-spacing: -0.03em;
}

.pv7-card .lead {
    margin: 0 0 22px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.45;
}

.pv7-field { margin-bottom: 14px; position: relative; }

.pv7-field .ico {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    display: grid;
    place-items: center;
}

.pv7-field input {
    width: 100%;
    height: 48px;
    border: 1px solid #e6edf5;
    background: #f8fafc;
    border-radius: 12px;
    padding: 0 42px;
    font-size: 14px;
    outline: none;
    color: #0f172a;
}

.pv7-field input:focus {
    border-color: #93c5fd;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.pv7-eye {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: #94a3b8;
    width: 34px;
    height: 34px;
    cursor: pointer;
}

.pv7-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 4px 0 16px;
    font-size: 13px;
}

.pv7-row label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #334155;
    margin: 0;
    cursor: pointer;
}

.pv7-row input[type="checkbox"] { accent-color: #2563eb; width: 16px; height: 16px; }

.pv7-row a { color: #2563eb; font-weight: 600; }

.pv7-submit {
    width: 100%;
    height: 48px;
    border: 0;
    border-radius: 12px;
    background: #2563eb;
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
}

.pv7-submit:hover { background: #1d4ed8; }
.pv7-submit:disabled { opacity: 0.7; cursor: wait; }

.pv7-or {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #94a3b8;
    margin: 18px 0 14px;
    font-size: 13px;
}

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

.pv7-contact { text-align: center; color: #64748b; font-size: 13.5px; }
.pv7-contact a { color: #2563eb; font-weight: 700; }

.pv7-error {
    display: none;
    background: #fef2f2;
    color: #b91c1c;
    border-radius: 10px;
    padding: 8px 10px;
    font-size: 13px;
    margin-bottom: 12px;
}

.pv7-field p.error {
    margin: 6px 0 0;
    color: #dc2626;
    font-size: 12px;
}

@media (max-width: 980px) {
    .pv7-login {
        grid-template-columns: 1fr;
        padding: 16px;
    }
    .pv7-art { display: none; }
}
