﻿:root {
    --navy: #0b1a3b;
    --navy-deep: #07132d;
    --navy-light: #132248;
    --accent: #1a3a8f;
    --green: #22c55e;
    --green-soft: #4ade80;
    --red: #e63946;
    --blue-btn: #143a86;
    --blue-btn-h: #0f2e6b;
    --card-bg: #eef2fa;
    --border: #dde3ef;
    --text-muted: #6b7a99;
    --text-dark: #111827;
    --input-bg: #ffffff;
    --shadow-lg: 0 32px 80px rgba(11, 26, 59, .22), 0 8px 24px rgba(11, 26, 59, .12);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    min-height: 100vh;
    display: flex;
    overflow-x: hidden;
    background: var(--card-bg);
}

.panel-left {
    position: relative;
    width: 50%;
    background: linear-gradient(160deg, #00345e 0%, #07132d 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3.5rem 4rem;
    overflow: hidden;
    clip-path: polygon(0 0, 86% 0, 100% 100%, 0 100%);
}

    .panel-left::before,
    .panel-left::after {
        content: '';
        position: absolute;
        border-radius: 50%;
        pointer-events: none;
    }

    .panel-left::before {
        width: 520px;
        height: 520px;
        border: 2px solid rgba(255, 255, 255, .05);
        top: -100px;
        left: -140px;
    }

    .panel-left::after {
        width: 320px;
        height: 320px;
        border: 2px solid rgba(255, 255, 255, .06);
        bottom: -60px;
        right: 60px;
    }

.diagonal-stripe {
    position: absolute;
    top: 0;
    right: 0;
    width: 14%;
    height: 100%;
    pointer-events: none;
    z-index: 3;
}

    .diagonal-stripe svg {
        display: block;
        width: 100%;
        height: 100%;
    }

.hero-copy {
    animation: fadeUp .7s .1s ease both;
}

    .hero-copy h1 {
        font-size: clamp(2.4rem, 4vw, 3.4rem);
        font-weight: 800;
        line-height: 70px;
        color: #fff;
        margin: 0 0 .25rem;
    }

        .hero-copy h1 span {
            color: var(--green);
            display: block;
        }

    .hero-copy p {
        margin: 1.25rem 0 0;
        color: rgba(255, 255, 255, .6);
        font-size: .95rem;
        line-height: 1.7;
        max-width: 340px;
    }

.mockup-wrap {
    margin-top: 3rem;
    position: relative;
    animation: fadeUp .7s .2s ease both;
    max-width: 400px;
}

.mockup-card {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 14px;
    padding: .85rem 1rem 1rem;
    backdrop-filter: blur(6px);
}

.mockup-dots {
    display: flex;
    gap: 6px;
    margin-bottom: .9rem;
}

    .mockup-dots span {
        width: 9px;
        height: 9px;
        border-radius: 50%;
        background: rgba(255, 255, 255, .25);
    }

.mockup-body {
    display: grid;
    grid-template-columns: 70px 1fr 70px;
    gap: .65rem;
    align-items: stretch;
}

.mockup-side {
    display: flex;
    flex-direction: column;
    gap: .45rem;
    padding-top: .25rem;
}

    .mockup-side .side-row {
        display: flex;
        align-items: center;
        gap: .35rem;
    }

    .mockup-side .side-dot {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: rgba(255, 255, 255, .3);
        flex-shrink: 0;
    }

    .mockup-side .side-bar {
        flex: 1;
        height: 5px;
        border-radius: 3px;
        background: rgba(255, 255, 255, .12);
    }

    .mockup-side .side-row.active .side-bar {
        background: rgba(34, 197, 94, .55);
    }

.mockup-main {
    background: rgba(255, 255, 255, .06);
    border-radius: 8px;
    padding: .65rem;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.mockup-image {
    flex: 1;
    min-height: 70px;
    border-radius: 6px;
    background: rgba(255, 255, 255, .08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, .25);
    font-size: 1.6rem;
}

.mockup-row {
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, .12);
}

    .mockup-row.w60 {
        width: 60%;
    }

    .mockup-row.w40 {
        width: 40%;
    }

.mockup-tcol {
    display: flex;
    flex-direction: column;
    gap: .4rem;
}

.mockup-tile {
    background: rgba(255, 255, 255, .06);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, .4);
    font-weight: 800;
    font-size: 1.3rem;
}

    .mockup-tile.tall {
        height: 60px;
    }

    .mockup-tile.short {
        height: 28px;
        font-size: 0;
        background: rgba(255, 255, 255, .08);
    }

.mockup-bar {
    margin-top: .7rem;
    height: 14px;
    border-radius: 4px;
    background: var(--green);
    width: 38%;
    box-shadow: 0 0 10px rgba(34, 197, 94, .4);
}

.deco-arrow {
    position: absolute;
    top: -90px;
    right: -100px;
    width: 280px;
    height: 110px;
    pointer-events: none;
    z-index: 1;
    animation: pulse 2.5s ease-in-out infinite;
}

    .deco-arrow svg {
        width: 100%;
        height: 100%;
        overflow: visible;
    }

.panel-right {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 2rem;
    background: linear-gradient(135deg, #eaf0fa 0%, #f4f7fc 100%);
    position: relative;
    overflow: hidden;
}

.wave-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

    .wave-bg svg {
        position: absolute;
        width: 100%;
        height: 100%;
    }

.dot-pattern {
    position: absolute;
    width: 220px;
    height: 180px;
    bottom: 30px;
    right: 30px;
    background-image: radial-gradient(circle, #c6d2e8 1.2px, transparent 1.5px);
    background-size: 14px 14px;
    opacity: .55;
    pointer-events: none;
    z-index: 0;
}

    .dot-pattern.top {
        top: 30px;
        right: 30px;
        bottom: auto;
        width: 140px;
        height: 100px;
        opacity: .4;
    }

.login-card {
    position: relative;
    z-index: 2;
    background: #fff;
    border-radius: 18px;
    box-shadow: var(--shadow-lg);
    padding: 2.75rem 2.5rem 2.5rem;
    width: 100%;
    max-width: 500px;
    animation: cardIn .7s cubic-bezier(.22, 1, .36, 1) both;
}

.logo-wrap {
    text-align: center;
    margin-bottom: 10px;
}

.login-card h2 {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-dark);
    text-align: center;
    margin: 0 0 0px;
}

.login-card .tagline {
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 24px;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.field-label {
    font-size: .85rem;
    font-weight: 600;
    letter-spacing: .02em;
    color: var(--text-dark);
    margin-bottom: .45rem;
    display: block;
}

.input-group-custom {
    display: flex;
    align-items: center;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    background: var(--input-bg);
    transition: border-color .2s, box-shadow .2s;
    overflow: hidden;
}

    .input-group-custom:focus-within {
        border-color: var(--blue-btn);
        /*box-shadow: 0 0 0 3px rgba(20, 58, 134, .12);*/
    }

.input-icon {
    padding: 0 .9rem;
    color: var(--text-muted);
    font-size: 14px;
    flex-shrink: 0;
}

.input-group-custom input {
    border: none;
    outline: none;
    background: transparent;
    flex: 1;
    padding: .85rem .25rem;
    font-size: 14px;
    color: var(--text-dark);
}

    .input-group-custom input::placeholder {
        color: #b0bad0;
    }

.input-group-custom input:focus {
    box-shadow: none;
}

.btn-eye {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0 .9rem;
    color: var(--text-muted);
    font-size: .95rem;
    transition: color .2s;
}

    .btn-eye:hover {
        color: var(--blue-btn);
    }

.check-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 1.1rem 0 1.5rem;
}

    .check-row label {
        display: flex;
        align-items: center;
        gap: 5px;
        font-size: 13px;
        color: var(--text-dark);
        cursor: pointer;
        user-select: none;
        font-weight: 500;
    }

    .check-row input[type=checkbox] {
        appearance: none;
        -webkit-appearance: none;
        width: 18px;
        height: 18px;
        border-radius: 5px;
        border: 1.5px solid var(--border);
        background: #fff;
        cursor: pointer;
        position: relative;
        transition: all .15s ease;
        flex-shrink: 0;
    }

        .check-row input[type=checkbox]:checked {
            background: var(--green);
            border-color: var(--green);
        }

            .check-row input[type=checkbox]:checked::after {
                content: '';
                position: absolute;
                left: 5px;
                top: 1px;
                width: 5px;
                height: 10px;
                border: solid #fff;
                border-width: 0 2px 2px 0;
                transform: rotate(45deg);
            }

.forgot-link {
    font-size: 13px;
    color: var(--blue-btn);
    text-decoration: none;
    font-weight: 500;
    transition: color .2s;
    text-align: right;
}

    .forgot-link:hover {
        color: var(--blue-btn-h);
        text-decoration: underline;
    }

.btn-login {
    width: 100%;
    padding: .95rem;
    border: none;
    border-radius: 10px;
    background: var(--blue-btn);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: .02em;
    cursor: pointer;
    transition: background .2s, transform .15s, box-shadow .2s;
    box-shadow: 0 6px 18px rgba(20, 58, 134, .3);
}

    .btn-login:hover {
        background: var(--blue-btn-h);
        transform: translateY(-1px);
        box-shadow: 0 10px 24px rgba(20, 58, 134, .4);
    }

    .btn-login:active {
        transform: translateY(0);
    }

.or-divider {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin: 1.4rem 0 1.1rem;
    color: var(--text-muted);
    font-size: .85rem;
}

    .or-divider::before,
    .or-divider::after {
        content: '';
        flex: 1;
        height: 1px;
        background: var(--border);
    }

.secure-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    color: var(--text-muted);
    font-size: .85rem;
}

.secure-shield {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1.5px solid var(--green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
    font-size: .65rem;
    flex-shrink: 0;
}

.mb-3 {
    margin-bottom: 1rem;
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(22px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes cardIn {
    from {
        opacity: 0;
        transform: translateY(32px) scale(.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes pulse {

    0%, 100% {
        transform: scale(1);
        opacity: .85;
    }

    50% {
        transform: scale(1.05);
        opacity: 1;
    }
}

@keyframes dashFlow {
    to {
        stroke-dashoffset: -20;
    }
}

.arrow-path {
    animation: dashFlow 1.6s linear infinite;
}

.brand {
    margin: 0 0 30px;
}

@media (max-width: 991px) {
    .panel-left {
        display: none;
    }

    .panel-right {
        width: 100%;
        min-height: 100vh;
        padding: 2rem 1.25rem;
    }
}

@media (max-width: 480px) {
    .login-card {
        padding: 2rem 1.4rem;
    }

        .login-card h2 {
            font-size: 1.5rem;
        }
}


input.error, input.input-validation-error {
    border: 1px solid #f34949 !important;
    border-color: transparent !important;
}