﻿html,
body {
    min-height: 100%;
}

    html body {
        margin: 0;
        font-family: "Inter", "Segoe UI", Arial, sans-serif;
        background: #f5f7fb;
        color: #172033;
        overflow-x: hidden;
    }

.iboard-login-page {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background: radial-gradient(circle at 12% 12%, rgba(37, 99, 235, .08), transparent 30%), radial-gradient(circle at 88% 20%, rgba(14, 165, 233, .08), transparent 28%), radial-gradient(circle at 72% 86%, rgba(20, 184, 166, .07), transparent 34%), linear-gradient(135deg, #f8fafc 0%, #f1f5f9 48%, #eef4fb 100%);
}

.iboard-login-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.iboard-login-grid {
    position: absolute;
    inset: 0;
    opacity: .42;
    background-image: linear-gradient(rgba(148, 163, 184, .16) 1px, transparent 1px), linear-gradient(90deg, rgba(148, 163, 184, .16) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: radial-gradient(circle at center, black 0%, transparent 78%);
}

.iboard-login-orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(72px);
    opacity: .26;
}

.iboard-login-orb--one {
    width: 440px;
    height: 440px;
    left: -160px;
    top: -130px;
    background: #93c5fd;
}

.iboard-login-orb--two {
    width: 420px;
    height: 420px;
    right: -150px;
    bottom: -150px;
    background: #99f6e4;
}

.iboard-login-orb--three {
    width: 320px;
    height: 320px;
    right: 22%;
    top: 12%;
    background: #c7d2fe;
    opacity: .18;
}

.iboard-login-shell {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 22px;
}

.iboard-login-layout {
    width: min(1140px, 100%);
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) 430px;
    gap: 34px;
    align-items: center;
}

.iboard-login-visual {
    position: relative;
    min-height: 580px;
    padding: 36px;
    border: 1px solid #dce5f2;
    border-radius: 30px;
    background: linear-gradient(145deg, rgba(255, 255, 255, .96), rgba(248, 250, 252, .88)), radial-gradient(circle at 76% 22%, rgba(59, 130, 246, .09), transparent 30%);
    box-shadow: 0 28px 70px rgba(15, 23, 42, .10), inset 0 1px 0 rgba(255, 255, 255, .95);
    overflow: hidden;
}

    .iboard-login-visual:before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg, transparent 0%, rgba(37, 99, 235, .06) 50%, transparent 100%);
        transform: skewX(-18deg) translateX(-125%);
        animation: iboardLoginSweep 8s ease-in-out infinite;
    }

    .iboard-login-visual:after {
        content: "";
        position: absolute;
        right: -80px;
        top: -80px;
        width: 280px;
        height: 280px;
        border: 1px solid rgba(59, 130, 246, .12);
        border-radius: 999px;
        box-shadow: 0 0 0 42px rgba(59, 130, 246, .035), 0 0 0 84px rgba(20, 184, 166, .025);
    }

@keyframes iboardLoginSweep {
    0%, 58% {
        transform: skewX(-18deg) translateX(-125%);
    }

    76%, 100% {
        transform: skewX(-18deg) translateX(125%);
    }
}

.iboard-login-brand {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 14px;
}

.iboard-login-mark {
    position: relative;
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
    border-radius: 18px;
    background: linear-gradient(145deg, #2563eb 0%, #0ea5e9 58%, #14b8a6 100%);
    box-shadow: 0 16px 34px rgba(37, 99, 235, .24), inset 0 1px 0 rgba(255, 255, 255, .42);
    overflow: hidden;
}

.iboard-login-mark__panel {
    position: absolute;
    left: 13px;
    top: 13px;
    width: 30px;
    height: 22px;
    border-radius: 7px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 10px 22px rgba(15, 23, 42, .18);
}

.iboard-login-mark__line {
    position: absolute;
    left: 18px;
    height: 3px;
    border-radius: 999px;
    background: #2563eb;
}

.iboard-login-mark__line--one {
    top: 20px;
    width: 18px;
}

.iboard-login-mark__line--two {
    top: 27px;
    width: 12px;
}

.iboard-login-brand-text {
    min-width: 0;
}

.iboard-login-company {
    font-size: 31px;
    font-weight: 950;
    line-height: 1;
    letter-spacing: -.04em;
    color: #0f172a;
}

.iboard-login-company-sub {
    margin-top: 5px;
    font-size: 12px;
    font-weight: 760;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.iboard-login-eyebrow {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    margin-top: 58px;
    padding: 7px 13px;
    border: 1px solid #cfe1ff;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.iboard-login-headline {
    position: relative;
    z-index: 2;
    width: min(640px, 100%);
    margin: 22px 0 0;
    color: #0f172a;
    font-size: clamp(35px, 4vw, 57px);
    font-weight: 950;
    line-height: 1.04;
    letter-spacing: -.055em;
}

.iboard-login-description {
    position: relative;
    z-index: 2;
    width: min(560px, 100%);
    margin: 20px 0 0;
    color: #475569;
    font-size: 16px;
    line-height: 1.72;
    font-weight: 530;
}

.iboard-login-feature-list {
    position: relative;
    z-index: 2;
    width: min(590px, 100%);
    display: grid;
    grid-template-columns: 1fr;
    gap: 11px;
    margin-top: 30px;
}

.iboard-login-feature {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 12px;
    align-items: center;
    min-height: 70px;
    padding: 12px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    background: rgba(255, 255, 255, .82);
    box-shadow: 0 12px 28px rgba(15, 23, 42, .055), inset 0 1px 0 rgba(255, 255, 255, .95);
    backdrop-filter: blur(10px);
}

.iboard-login-feature__icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: #ffffff;
    background: linear-gradient(145deg, #2563eb, #0ea5e9);
    box-shadow: 0 12px 22px rgba(37, 99, 235, .20);
}

.iboard-login-feature strong {
    display: block;
    color: #0f172a;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.25;
}

.iboard-login-feature span {
    display: block;
    margin-top: 3px;
    color: #64748b;
    font-size: 12px;
    line-height: 1.45;
    font-weight: 620;
}

.iboard-login-dashboard {
    position: absolute;
    right: 30px;
    bottom: 28px;
    width: 290px;
    height: 205px;
    border: 1px solid #dbe5f2;
    border-radius: 24px;
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    box-shadow: 0 24px 54px rgba(15, 23, 42, .13), inset 0 1px 0 rgba(255, 255, 255, .96);
    overflow: hidden;
}

.iboard-login-dashboard__top {
    height: 34px;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0 16px;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
}

    .iboard-login-dashboard__top span {
        width: 8px;
        height: 8px;
        border-radius: 999px;
        background: #cbd5e1;
    }

        .iboard-login-dashboard__top span:first-child {
            background: #60a5fa;
        }

        .iboard-login-dashboard__top span:nth-child(2) {
            background: #2dd4bf;
        }

        .iboard-login-dashboard__top span:nth-child(3) {
            background: #94a3b8;
        }

.iboard-login-dashboard__body {
    display: grid;
    grid-template-columns: 58px 1fr;
    height: calc(100% - 34px);
}

.iboard-login-dashboard__sidebar {
    padding: 16px 12px;
    border-right: 1px solid #e2e8f0;
    background: #f8fafc;
}

    .iboard-login-dashboard__sidebar span {
        display: block;
        height: 8px;
        margin-bottom: 13px;
        border-radius: 999px;
        background: #cbd5e1;
    }

        .iboard-login-dashboard__sidebar span:first-child {
            background: #2563eb;
        }

.iboard-login-dashboard__content {
    padding: 16px;
}

.iboard-login-dashboard__hero {
    height: 42px;
    border-radius: 14px;
    background: linear-gradient(135deg, #dbeafe, #ccfbf1);
}

.iboard-login-dashboard__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 12px;
}

    .iboard-login-dashboard__cards span {
        height: 34px;
        border-radius: 11px;
        background: #eef2f7;
    }

.iboard-login-dashboard__rows {
    margin-top: 12px;
}

    .iboard-login-dashboard__rows span {
        display: block;
        height: 7px;
        margin-bottom: 8px;
        border-radius: 999px;
        background: #e2e8f0;
    }

        .iboard-login-dashboard__rows span:nth-child(2) {
            width: 78%;
        }

        .iboard-login-dashboard__rows span:nth-child(3) {
            width: 58%;
        }

.iboard-login-card-wrap {
    width: 100%;
}

.iboard-login-card {
    width: 100%;
    margin: 0;
    padding: 30px;
    border: 1px solid #dce5f2;
    border-radius: 30px;
    background: #ffffff;
    box-shadow: 0 30px 80px rgba(15, 23, 42, .16), inset 0 1px 0 rgba(255, 255, 255, .95);
    color: #0f172a;
}

.iboard-login-card__top {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 28px;
}

.iboard-login-card__icon {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: linear-gradient(145deg, #eff6ff, #e0f2fe);
    color: #2563eb;
    font-size: 23px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9);
}

.iboard-login-card h1 {
    margin: 0;
    color: #0f172a;
    font-size: 28px;
    font-weight: 950;
    line-height: 1.12;
    letter-spacing: -.045em;
}

.iboard-login-card p {
    margin: 5px 0 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.45;
    font-weight: 560;
}

.iboard-login-form {
    width: 100%;
}

.iboard-login-field {
    margin-bottom: 16px;
}

    .iboard-login-field label {
        display: block;
        margin-bottom: 7px;
        color: #334155;
        font-size: 12px;
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: .06em;
    }

.iboard-login-input {
    position: relative;
}

    .iboard-login-input i {
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
        color: #64748b;
        font-size: 17px;
        pointer-events: none;
    }

    .iboard-login-input input {
        width: 100%;
        height: 52px;
        padding: 0 15px 0 46px;
        border: 1px solid #d8e2ef;
        border-radius: 16px;
        outline: none;
        background: #f8fafc;
        color: #0f172a;
        font-size: 15px;
        font-weight: 650;
        transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
    }

        .iboard-login-input input::placeholder {
            color: #94a3b8;
        }

        .iboard-login-input input:focus {
            border-color: #2563eb;
            background: #ffffff;
            box-shadow: 0 0 0 4px rgba(37, 99, 235, .13);
        }

.iboard-login-error {
    margin: 0 0 13px;
    color: #dc2626;
    font-size: 13px;
    font-weight: 750;
}

    .iboard-login-error:empty {
        display: none;
    }

.iboard-login-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 6px 0 20px;
}

.iboard-login-remember {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    color: #334155;
    font-size: 13px;
    font-weight: 780;
    cursor: pointer;
    user-select: none;
}

    .iboard-login-remember input[type="checkbox"] {
        position: absolute;
        opacity: 0;
        pointer-events: none;
    }

.iboard-login-check {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #cbd5e1;
    border-radius: 7px;
    background: #ffffff;
    color: #ffffff;
    font-size: 11px;
    transition: background .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.iboard-login-remember input[type="checkbox"]:checked + .iboard-login-check {
    border-color: #2563eb;
    background: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .13);
}

.iboard-login-submit {
    width: 100%;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 48%, #0891b2 100%);
    color: #ffffff;
    font-size: 15px;
    font-weight: 950;
    letter-spacing: .01em;
    box-shadow: 0 16px 32px rgba(37, 99, 235, .25);
    cursor: pointer;
    transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}

    .iboard-login-submit:hover,
    .iboard-login-submit:focus {
        transform: translateY(-1px);
        filter: brightness(1.04);
        box-shadow: 0 20px 40px rgba(37, 99, 235, .34);
    }

    .iboard-login-submit:active {
        transform: translateY(0);
        box-shadow: 0 10px 22px rgba(37, 99, 235, .24);
    }

.iboard-login-message {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin: 12px 0 18px;
    padding: 12px 14px;
    border-radius: 15px;
    font-size: 13px;
    font-weight: 820;
    line-height: 1.45;
    border: 1px solid transparent;
    transition: opacity .35s ease, transform .35s ease;
}

    .iboard-login-message i {
        width: 22px;
        height: 22px;
        flex: 0 0 22px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 999px;
        font-size: 14px;
    }

    .iboard-login-message span {
        display: block;
    }

.iboard-login-message--error {
    color: #991b1b;
    background: linear-gradient(180deg, #fff5f5, #fff1f2);
    border-color: #fecaca;
    box-shadow: 0 10px 22px rgba(220, 38, 38, .08);
}

    .iboard-login-message--error i {
        color: #ffffff;
        background: #dc2626;
    }

.iboard-login-message.is-hiding {
    opacity: 0;
    transform: translateY(-6px);
}

.iboard-login-twofactor-step {
    width: 100%;
}

.iboard-twofactor-card {
    position: relative;
    width: 100%;
    padding: 4px 0 0;
}

.iboard-twofactor-hero {
    text-align: center;
    margin-bottom: 22px;
}

.iboard-twofactor-shield {
    position: relative;
    width: 74px;
    height: 74px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 25px;
    background: radial-gradient(circle at 35% 20%, rgba(255, 255, 255, .9), transparent 38%), linear-gradient(145deg, #eff6ff 0%, #dbeafe 100%);
    color: #2563eb;
    font-size: 30px;
    box-shadow: 0 18px 34px rgba(37, 99, 235, .16), inset 0 1px 0 rgba(255, 255, 255, .85);
}

    .iboard-twofactor-shield:after {
        content: "";
        position: absolute;
        inset: -7px;
        border-radius: 30px;
        border: 1px solid rgba(37, 99, 235, .12);
    }

.iboard-twofactor-hero h1 {
    margin: 0;
    color: #0f172a;
    font-size: 29px;
    font-weight: 950;
    line-height: 1.12;
    letter-spacing: -.055em;
}

.iboard-twofactor-hero p {
    max-width: 330px;
    margin: 8px auto 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.55;
    font-weight: 620;
}

.iboard-twofactor-sent {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 58px;
    margin-bottom: 22px;
    padding: 12px 14px;
    border: 1px solid #dbeafe;
    border-radius: 17px;
    background: linear-gradient(135deg, #eff6ff, #f8fafc);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .75);
}

.iboard-twofactor-sent__icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    color: #2563eb;
    background: #ffffff;
    box-shadow: 0 10px 22px rgba(37, 99, 235, .10);
}

.iboard-twofactor-sent__text {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

    .iboard-twofactor-sent__text span {
        color: #64748b;
        font-size: 12px;
        font-weight: 760;
    }

    .iboard-twofactor-sent__text strong {
        color: #0f172a;
        font-size: 14px;
        font-weight: 900;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

.iboard-twofactor-field {
    position: relative;
    margin-bottom: 18px;
}

    .iboard-twofactor-field label {
        display: block;
        margin-bottom: 10px;
        color: #334155;
        font-size: 12px;
        font-weight: 950;
        text-transform: uppercase;
        letter-spacing: .06em;
    }

.iboard-twofactor-code-input {
    position: absolute;
    width: 1px;
    height: 1px;
    left: 50%;
    bottom: 0;
    opacity: 0;
    pointer-events: none;
}

.iboard-twofactor-code-boxes {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 9px;
}

    .iboard-twofactor-code-boxes span {
        height: 58px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid #d7e1ee;
        border-radius: 14px;
        background: linear-gradient(180deg, #ffffff, #f8fafc);
        color: #94a3b8;
        font-size: 22px;
        font-weight: 950;
        line-height: 1;
        box-shadow: 0 10px 20px rgba(15, 23, 42, .045);
        transition: border-color .16s ease, box-shadow .16s ease, color .16s ease, background .16s ease, transform .16s ease;
    }

        .iboard-twofactor-code-boxes span.is-filled {
            color: #0f172a;
            border-color: #bfdbfe;
            background: #ffffff;
        }

        .iboard-twofactor-code-boxes span.is-active,
        .iboard-twofactor-code-boxes.is-focus span.is-active {
            border-color: #2563eb;
            box-shadow: 0 0 0 4px rgba(37, 99, 235, .12), 0 14px 24px rgba(37, 99, 235, .10);
            transform: translateY(-1px);
        }

.iboard-twofactor-submit {
    width: 100%;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 48%, #0891b2 100%);
    color: #ffffff;
    font-size: 15px;
    font-weight: 950;
    letter-spacing: .01em;
    box-shadow: 0 18px 36px rgba(37, 99, 235, .28);
    cursor: pointer;
    transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}

    .iboard-twofactor-submit:hover,
    .iboard-twofactor-submit:focus {
        transform: translateY(-1px);
        filter: brightness(1.04);
        box-shadow: 0 22px 44px rgba(37, 99, 235, .36);
    }

    .iboard-twofactor-submit:active {
        transform: translateY(0);
        box-shadow: 0 12px 26px rgba(37, 99, 235, .24);
    }

.iboard-twofactor-divider {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 13px;
    margin: 20px 0 14px;
    color: #94a3b8;
}

    .iboard-twofactor-divider span {
        height: 1px;
        background: #e2e8f0;
    }

    .iboard-twofactor-divider em {
        font-style: normal;
        font-size: 13px;
        font-weight: 850;
        color: #94a3b8;
    }

.iboard-twofactor-resend {
    width: 100%;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 0;
    background: transparent;
    color: #2563eb;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
    transition: color .15s ease, transform .15s ease;
}

    .iboard-twofactor-resend:hover,
    .iboard-twofactor-resend:focus {
        color: #1d4ed8;
        transform: translateY(-1px);
    }

    .iboard-twofactor-resend:disabled {
        opacity: .55;
        cursor: not-allowed;
        transform: none;
    }

.iboard-login-resend-message {
    margin-top: 10px;
    min-height: 20px;
    font-size: 13px;
    line-height: 1.5;
    text-align: center;
    font-weight: 760;
}

    .iboard-login-resend-message.is-info {
        color: #64748b;
    }

    .iboard-login-resend-message.is-success {
        color: #15803d;
    }

    .iboard-login-resend-message.is-error {
        color: #b91c1c;
    }

.iboard-twofactor-help {
    margin: -2px 0 17px;
    color: #64748b;
    font-size: 12px;
    line-height: 1.45;
    font-weight: 650;
    text-align: center;
}

.iboard-twofactor-back {
    width: 100%;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1px solid #e2e8f0;
    border-radius: 15px;
    background: #ffffff;
    color: #2563eb;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
    transition: background .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
}

    .iboard-twofactor-back:hover,
    .iboard-twofactor-back:focus {
        border-color: #bfdbfe;
        background: #eff6ff;
        color: #1d4ed8;
        transform: translateY(-1px);
    }

.iboard-twofactor-validation {
    margin-top: 18px;
}

    .iboard-twofactor-validation:empty {
        display: none;
    }

    .iboard-twofactor-validation .validation-summary-valid {
        display: none;
    }

    .iboard-twofactor-validation .validation-summary-errors {
        position: relative;
        width: 100%;
        min-height: 52px;
        margin: 0;
        padding: 14px 16px 14px 50px;
        border: 1px solid #fecaca;
        border-radius: 16px;
        background: linear-gradient(180deg, #fff5f5, #fff1f2);
        color: #991b1b;
        font-size: 13px;
        font-weight: 850;
        line-height: 1.45;
        text-align: left;
        box-shadow: 0 12px 24px rgba(220, 38, 38, .08);
    }

        .iboard-twofactor-validation .validation-summary-errors:before {
            content: "!";
            position: absolute;
            left: 16px;
            top: 14px;
            width: 24px;
            height: 24px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 999px;
            background: #ef4444;
            color: #ffffff;
            font-size: 15px;
            font-weight: 950;
            line-height: 1;
        }

        .iboard-twofactor-validation .validation-summary-errors ul {
            list-style: none;
            margin: 0;
            padding: 0;
        }

        .iboard-twofactor-validation .validation-summary-errors li {
            margin: 0;
            padding: 0;
            border: 0;
            background: transparent;
            color: #991b1b;
            font-size: 13px;
            font-weight: 850;
            line-height: 1.45;
            box-shadow: none;
        }

        .iboard-twofactor-validation .validation-summary-errors h4,
        .iboard-twofactor-validation .validation-summary-errors p {
            margin: 0;
            color: inherit;
            font-size: inherit;
            font-weight: inherit;
        }

    .iboard-twofactor-validation .field-validation-error {
        display: block;
        margin-top: 8px;
        color: #991b1b;
        font-size: 13px;
        font-weight: 850;
    }

#TwoFactorCode {
    letter-spacing: 8px;
    font-size: 20px;
    font-weight: 850;
    text-align: center;
}

@media (max-width: 991.98px) {
    .iboard-login-shell {
        padding: 28px 18px;
    }

    .iboard-login-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .iboard-login-visual {
        min-height: auto;
        padding: 26px;
    }

    .iboard-login-eyebrow {
        margin-top: 36px;
    }

    .iboard-login-headline {
        font-size: 34px;
    }

    .iboard-login-description {
        font-size: 15px;
    }

    .iboard-login-dashboard {
        display: none;
    }

    .iboard-login-card-wrap {
        max-width: 520px;
        margin: 0 auto;
    }
}

@media (max-width: 575.98px) {
    .iboard-login-shell {
        align-items: flex-start;
        padding: 16px 12px;
    }

    .iboard-login-visual {
        padding: 20px;
        border-radius: 22px;
    }

    .iboard-login-mark {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
        border-radius: 15px;
    }

    .iboard-login-mark__panel {
        left: 11px;
        top: 12px;
        width: 26px;
        height: 19px;
    }

    .iboard-login-mark__line {
        left: 16px;
    }

    .iboard-login-mark__line--one {
        top: 18px;
        width: 15px;
    }

    .iboard-login-mark__line--two {
        top: 24px;
        width: 10px;
    }

    .iboard-login-company {
        font-size: 25px;
    }

    .iboard-login-company-sub {
        font-size: 10px;
    }

    .iboard-login-eyebrow {
        margin-top: 28px;
        font-size: 11px;
    }

    .iboard-login-headline {
        margin-top: 18px;
        font-size: 29px;
    }

    .iboard-login-description {
        margin-top: 14px;
        font-size: 14px;
    }

    .iboard-login-feature-list {
        margin-top: 20px;
    }

    .iboard-login-feature {
        grid-template-columns: 38px 1fr;
        min-height: 64px;
        padding: 11px 12px;
        border-radius: 16px;
    }

    .iboard-login-feature__icon {
        width: 38px;
        height: 38px;
        border-radius: 13px;
    }

    .iboard-login-card {
        padding: 22px;
        border-radius: 22px;
    }

    .iboard-login-card__top {
        margin-bottom: 22px;
    }

    .iboard-login-card__icon {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
        border-radius: 16px;
    }

    .iboard-login-card h1 {
        font-size: 24px;
    }

    .iboard-login-input input {
        height: 50px;
        border-radius: 14px;
    }

    .iboard-login-options {
        align-items: flex-start;
        flex-direction: column;
    }

    .iboard-login-submit {
        height: 52px;
        border-radius: 14px;
    }

    .iboard-twofactor-hero h1 {
        font-size: 25px;
    }

    .iboard-twofactor-shield {
        width: 64px;
        height: 64px;
        border-radius: 21px;
        font-size: 27px;
    }

    .iboard-twofactor-code-boxes {
        gap: 7px;
    }

        .iboard-twofactor-code-boxes span {
            height: 52px;
            border-radius: 12px;
            font-size: 20px;
        }

    .iboard-twofactor-submit {
        height: 52px;
        border-radius: 14px;
    }
}
