:root {
    --vca-primary: #1e66ff;
    --vca-primary-dark: #094bd8;
    --vca-primary-soft: #eaf1ff;
    --vca-navy: #071b3d;
    --vca-text: #0b1d3a;
    --vca-muted: #6b7894;
    --vca-bg: #f5f7fb;
    --vca-white: #ffffff;
    --vca-border: #dce4f2;
    --vca-danger: #dc2626;
    --vca-success: #16a34a;
    --vca-radius-md: 14px;
    --vca-radius-lg: 22px;
    --vca-shadow-card: 0 24px 70px rgba(15, 32, 68, 0.12);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background: var(--vca-bg);
    color: var(--vca-text);
}

.vca-login-page {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    overflow: hidden;
    background:
        radial-gradient(circle at 80% 10%, rgba(30, 102, 255, 0.08), transparent 28%),
        radial-gradient(circle at 100% 80%, rgba(30, 102, 255, 0.08), transparent 25%),
        var(--vca-bg);
}

.vca-login-left {
    position: relative;
    padding: 64px 58px;
    background:
        radial-gradient(circle at 70% 25%, rgba(30, 102, 255, 0.35), transparent 28%),
        linear-gradient(135deg, #061735 0%, #082b6d 48%, #0043bd 100%);
    color: var(--vca-white);
    overflow: hidden;
}

.vca-login-left::before,
.vca-login-left::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

.vca-login-left::before {
    width: 520px;
    height: 520px;
    left: -220px;
    bottom: -220px;
}

.vca-login-left::after {
    width: 420px;
    height: 420px;
    right: -160px;
    top: 80px;
}

.vca-brand-area {
    position: relative;
    z-index: 2;
    max-width: 790px;
}

.vca-brand-header {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 56px;
}

.vca-logo-mark {
    width: 84px;
    height: 84px;
    border-radius: 24px;
    background: linear-gradient(135deg, #dbeafe 0%, #1e66ff 45%, #0042b8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.25);
    transform: rotate(-6deg);
}

.vca-logo-mark span {
    font-size: 52px;
    font-weight: 900;
    color: #fff;
    transform: rotate(6deg);
    line-height: 1;
}

.vca-brand-header h1 {
    margin: 0;
    font-size: 46px;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -1px;
}

.vca-brand-header p {
    max-width: 430px;
    margin: 14px 0 0;
    font-size: 18px;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.78);
}

.vca-dashboard-preview {
    position: relative;
    display: grid;
    grid-template-columns: 74px 1fr;
    width: 100%;
    min-height: 390px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 24px;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(18px);
    overflow: visible;
}

.vca-preview-sidebar {
    padding: 22px 0;
    background: rgba(2, 16, 42, 0.48);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px 0 0 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
}

.vca-mini-logo,
.vca-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.vca-mini-logo {
    background: linear-gradient(135deg, #80b5ff, #1e66ff);
}

.vca-icon {
    color: rgba(255, 255, 255, 0.8);
}

.vca-icon:hover {
    background: rgba(255, 255, 255, 0.1);
}

.vca-preview-main {
    padding: 24px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--vca-text);
    border-radius: 0 24px 24px 0;
}

.vca-preview-title {
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 18px;
}

.vca-preview-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 18px;
}

.vca-stat-card,
.vca-chart-card,
.vca-profile-card {
    background: var(--vca-white);
    border: 1px solid #e8eef8;
    border-radius: 16px;
    box-shadow: 0 10px 26px rgba(19, 45, 92, 0.08);
}

.vca-stat-card {
    padding: 18px 16px;
    min-height: 120px;
}

.vca-stat-card span {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #263b66;
}

.vca-stat-card strong {
    display: block;
    margin: 18px 0 8px;
    font-size: 28px;
    color: var(--vca-primary);
}

.vca-stat-card small {
    color: var(--vca-muted);
}

.vca-stat-card:first-child strong {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 10px solid var(--vca-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    color: var(--vca-text);
}

.vca-stat-card:first-child small {
    color: var(--vca-success);
    font-weight: 700;
}

.vca-chart-card {
    padding: 18px;
}

.vca-chart-title {
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 16px;
}

.vca-bars {
    height: 130px;
    display: flex;
    align-items: end;
    gap: 28px;
    padding: 0 16px;
    border-bottom: 1px solid #dfe7f3;
    background: linear-gradient(to top, #edf2fa 1px, transparent 1px);
    background-size: 100% 32px;
}

.vca-bars span {
    width: 34px;
    border-radius: 8px 8px 0 0;
    background: linear-gradient(180deg, #4285ff, #0758e8);
}

.vca-chart-labels {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-top: 10px;
    color: var(--vca-muted);
}

.vca-chart-labels small {
    font-size: 10px;
}

.vca-profile-card {
    position: absolute;
    right: -72px;
    top: 88px;
    width: 210px;
    padding: 22px;
    color: var(--vca-text);
}

.vca-avatar {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1e66ff, #8bb5ff);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    margin-bottom: 12px;
}

.vca-profile-card h3 {
    margin: 0;
    font-size: 16px;
}

.vca-profile-card p {
    margin: 4px 0 14px;
    font-size: 12px;
    color: var(--vca-muted);
}

.vca-stars {
    color: var(--vca-primary);
    letter-spacing: 2px;
    font-size: 20px;
}

.vca-stars span {
    color: #b8c4d8;
}

.vca-profile-card > strong {
    display: block;
    margin: 6px 0 14px;
}

.vca-profile-card ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.vca-profile-card li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 9px;
    font-size: 12px;
    color: #263b66;
}

.vca-profile-card li::before {
    content: "+";
    position: absolute;
    left: 0;
    top: 0;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--vca-primary);
    color: white;
    font-size: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vca-profile-card li.muted {
    color: var(--vca-muted);
}

.vca-profile-card li.muted::before {
    background: #cbd5e1;
}

.vca-progress {
    height: 8px;
    border-radius: 99px;
    background: #e6edf7;
    margin-top: 16px;
    overflow: hidden;
}

.vca-progress span {
    display: block;
    width: 78%;
    height: 100%;
    border-radius: inherit;
    background: var(--vca-primary);
}

.vca-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    margin-top: 46px;
}

.vca-benefits div {
    position: relative;
    padding-left: 18px;
}

.vca-benefits div::before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    width: 5px;
    height: 38px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.35);
}

.vca-benefits strong {
    display: block;
    font-size: 14px;
    margin-bottom: 6px;
}

.vca-benefits span {
    display: block;
    font-size: 13px;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.68);
}

.vca-login-right {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px;
}

.vca-login-card {
    width: 100%;
    max-width: 460px;
    padding: 44px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(220, 228, 242, 0.95);
    border-radius: 24px;
    box-shadow: var(--vca-shadow-card);
    backdrop-filter: blur(20px);
}

.vca-lock-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: var(--vca-primary-soft);
    color: var(--vca-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: 800;
    box-shadow: 0 12px 30px rgba(30, 102, 255, 0.16);
}

.vca-login-title {
    text-align: center;
    margin-bottom: 34px;
}

.vca-login-title h2 {
    margin: 0 0 8px;
    color: var(--vca-text);
    font-size: 30px;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.vca-login-title p {
    margin: 0;
    color: var(--vca-muted);
    font-size: 15px;
}

.vca-login-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.vca-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.vca-form-group label {
    font-size: 14px;
    font-weight: 700;
    color: var(--vca-text);
}

.vca-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.vca-input-wrap input {
    width: 100%;
    height: 54px;
    border: 1px solid var(--vca-border);
    border-radius: 12px;
    background: #fff;
    color: var(--vca-text);
    font-size: 15px;
    outline: none;
    padding: 0 48px;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.vca-input-wrap input::placeholder {
    color: #9aa8bf;
}

.vca-input-wrap input:focus {
    border-color: var(--vca-primary);
    box-shadow: 0 0 0 4px rgba(30, 102, 255, 0.12);
}

.vca-input-wrap input.vca-invalid {
    border-color: var(--vca-danger);
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.1);
}

.vca-input-icon {
    position: absolute;
    left: 16px;
    z-index: 2;
    font-size: 17px;
    opacity: 0.65;
}

.vca-toggle-password {
    position: absolute;
    right: 10px;
    min-width: 42px;
    height: 34px;
    border: 0;
    background: transparent;
    cursor: pointer;
    opacity: 0.75;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    transition: background 0.18s ease, opacity 0.18s ease;
}

.vca-toggle-password:hover {
    background: #f1f5fb;
    opacity: 1;
}

.vca-error {
    min-height: 16px;
    color: var(--vca-danger);
    font-size: 12px;
}

.vca-form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: -4px;
}

.vca-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: var(--vca-muted);
    font-size: 14px;
}

.vca-checkbox input {
    width: 17px;
    height: 17px;
    accent-color: var(--vca-primary);
}

.vca-form-options a {
    color: var(--vca-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
}

.vca-form-options a:hover {
    text-decoration: underline;
}

.vca-btn-primary,
.vca-btn-outline {
    width: 100%;
    height: 54px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.vca-btn-primary {
    border: 0;
    background: linear-gradient(135deg, var(--vca-primary), #004fe3);
    color: white;
    box-shadow: 0 12px 24px rgba(30, 102, 255, 0.28);
}

.vca-btn-primary:hover {
    background: linear-gradient(135deg, #2f74ff, var(--vca-primary-dark));
    box-shadow: 0 16px 30px rgba(30, 102, 255, 0.34);
    transform: translateY(-1px);
}

.vca-btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 8px 18px rgba(30, 102, 255, 0.25);
}

.vca-btn-outline {
    border: 1px solid rgba(30, 102, 255, 0.35);
    background: white;
    color: var(--vca-primary);
}

.vca-btn-outline:hover {
    background: var(--vca-primary-soft);
    border-color: var(--vca-primary);
}

.vca-divider {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 12px;
    color: var(--vca-muted);
}

.vca-divider span {
    height: 1px;
    background: var(--vca-border);
}

.vca-security-footer {
    margin-top: 30px;
    text-align: center;
    color: var(--vca-muted);
    font-size: 13px;
}

@media (max-width: 1180px) {
    .vca-login-page {
        grid-template-columns: 1fr;
    }

    .vca-login-left {
        padding: 48px 32px;
    }

    .vca-brand-area {
        margin: 0 auto;
    }

    .vca-profile-card {
        right: 24px;
    }
}

@media (max-width: 768px) {
    .vca-login-left {
        display: none;
    }

    .vca-login-right {
        min-height: 100vh;
        padding: 24px;
    }

    .vca-login-card {
        padding: 30px 22px;
        border-radius: 20px;
    }

    .vca-login-title h2 {
        font-size: 25px;
    }

    .vca-form-options {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .vca-login-right {
        padding: 16px;
    }

    .vca-login-card {
        padding: 26px 18px;
    }

    .vca-lock-icon {
        width: 62px;
        height: 62px;
        font-size: 26px;
    }

    .vca-input-wrap input,
    .vca-btn-primary,
    .vca-btn-outline {
        height: 50px;
    }
}
