.participant-login-page {
    background: #eaf7ff;
}

.participant-login-hero {
    align-items: center;
    background:
        linear-gradient(
            90deg,
            rgba(234, 247, 255, 0.18) 0%,
            rgba(234, 247, 255, 0.05) 46%,
            rgba(0, 139, 219, 0.06) 100%
        ),
        url("../images/home-banner.jpg") center center / cover no-repeat;
    display: grid;
    gap: 42px;
    grid-template-columns: minmax(340px, 590px) minmax(360px, 1fr);
    min-height: calc(100vh - 150px);
    overflow: hidden;
    padding: 64px 72px;
    position: relative;
}

.participant-login-hero::before {
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.52) 0%,
        rgba(255, 255, 255, 0.15) 42%,
        rgba(255, 255, 255, 0) 78%
    );
    content: "";
    inset: 0;
    position: absolute;
}

.participant-login-card,
.participant-login-visual {
    position: relative;
    z-index: 1;
}

.participant-login-card {
    background: rgba(255, 255, 255, 0.94);
    border-radius: 24px;
    box-shadow: 0 28px 70px rgba(14, 77, 137, 0.2);
    max-width: 500px;
    padding: 42px;
}

.participant-login-logo {
    display: block;
    height: auto;
    margin-bottom: 34px;
    max-width: 205px;
    width: 52%;
}

.participant-login-title {
    color: #005ba8;
    font-size: 46px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 0.98;
    margin: 0 0 18px;
}

.participant-login-title strong {
    color: #a8e61d;
    font-weight: 800;
}

.participant-login-copy {
    color: #667085;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.45;
    margin: 0 0 28px;
    max-width: 520px;
}

.participant-login-alert {
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 16px;
    padding: 13px 16px;
}

.participant-login-alert-success {
    background: #edfbd3;
    color: #175c16;
}

.participant-login-local-link {
    color: #005ba8;
    display: inline-block;
    font-weight: 800;
    margin-left: 8px;
    text-decoration: underline;
}

.participant-login-local-link-wrap {
    display: block;
    font-size: 13px;
    line-height: 1.45;
    margin-top: 8px;
    overflow-wrap: anywhere;
}

.participant-login-local-link-wrap span {
    color: #175c16;
    display: block;
    font-weight: 600;
    margin-top: 4px;
}

.participant-login-local-link-muted {
    color: #5a6b33;
    font-weight: 700;
}

.participant-login-local-link:hover,
.participant-login-local-link:focus {
    color: #004b91;
}

.participant-login-alert-error {
    background: #fff0f0;
    color: #9a1b1b;
}

.participant-login-form {
    display: grid;
    gap: 18px;
}

.participant-login-field {
    align-items: center;
    background: #fff;
    border: 1px solid #d4dbe8;
    border-radius: 8px;
    display: grid;
    gap: 18px;
    grid-template-columns: 30px 1fr;
    min-height: 58px;
    padding: 0 18px;
}

.participant-login-field i {
    color: #005ba8;
    font-size: 21px;
}

.participant-login-field input {
    border: 0;
    color: #172b4d;
    font-size: 15px;
    font-weight: 700;
    min-width: 0;
    outline: 0;
    width: 100%;
}

.participant-login-field input::placeholder {
    color: #7b8497;
}

.participant-login-field:focus-within {
    border-color: #0b83da;
    box-shadow: 0 0 0 4px rgba(11, 131, 218, 0.13);
}

.participant-login-button {
    align-items: center;
    background: #a8e61d;
    border: 0;
    border-radius: 8px;
    color: #005ba8;
    display: inline-flex;
    font-size: 17px;
    font-weight: 800;
    gap: 14px;
    justify-content: center;
    min-height: 58px;
    padding: 0 24px;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.participant-login-button:hover,
.participant-login-button:focus {
    background: #b9f22f;
    box-shadow: 0 16px 30px rgba(96, 153, 0, 0.22);
    color: #004b91;
    transform: translateY(-1px);
}

.participant-login-button:disabled {
    cursor: progress;
    opacity: 0.72;
    transform: none;
}

.participant-login-security {
    background: #e8f6fd;
    border-radius: 22px;
    color: #005ba8;
    margin-top: 24px;
    padding: 18px 20px;
}

.participant-login-security-item {
    align-items: center;
    display: grid;
    gap: 16px;
    grid-template-columns: 52px 1fr;
    padding: 14px 0;
}

.participant-login-security-item + .participant-login-security-item {
    border-top: 1px solid #c9e4f2;
}

.participant-login-security-icon {
    align-items: center;
    background: #d2efff;
    border-radius: 50%;
    color: #005ba8;
    display: flex;
    height: 52px;
    justify-content: center;
    width: 52px;
}

.participant-login-security-icon i {
    font-size: 21px;
}

.participant-login-security-item strong {
    color: #005ba8;
    display: block;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 4px;
}

.participant-login-security-item p {
    color: #596b87;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.45;
    margin: 0;
}

.participant-login-visual {
    align-self: stretch;
    min-height: 520px;
}

.participant-login-plane {
    color: #fff;
    filter: drop-shadow(0 9px 16px rgba(0, 91, 168, 0.24));
    font-size: 44px;
    left: 45%;
    position: absolute;
    top: 7%;
    transform: rotate(-18deg);
}

.participant-login-plane::after {
    border: 4px dashed rgba(255, 255, 255, 0.9);
    border-bottom: 0;
    border-left: 0;
    border-radius: 50%;
    content: "";
    height: 180px;
    position: absolute;
    right: 42px;
    top: 38px;
    transform: rotate(26deg);
    width: 330px;
}

.participant-login-pin {
    align-items: center;
    background: rgba(255, 255, 255, 0.66);
    border-radius: 999px;
    color: #25bff2;
    display: flex;
    font-size: 50px;
    height: 72px;
    justify-content: center;
    left: 22%;
    position: absolute;
    top: 20%;
    width: 72px;
}

.participant-login-signpost {
    bottom: 18%;
    display: grid;
    gap: 10px;
    position: absolute;
    right: 3%;
    transform: rotate(4deg);
}

.participant-login-signpost::before {
    background: #9b6537;
    border-radius: 999px;
    bottom: -80px;
    content: "";
    left: 50%;
    position: absolute;
    top: -16px;
    transform: translateX(-50%);
    width: 10px;
    z-index: -1;
}

.participant-login-signpost span {
    border-radius: 3px;
    box-shadow: 0 12px 18px rgba(74, 49, 24, 0.18);
    color: #044b8a;
    display: block;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0;
    min-width: 150px;
    padding: 10px 18px;
    text-align: center;
}

.participant-login-signpost span:nth-child(1) {
    background: #1b9ee5;
    transform: rotate(-7deg);
}

.participant-login-signpost span:nth-child(2) {
    background: #a8e61d;
    transform: rotate(5deg);
}

.participant-login-signpost span:nth-child(3) {
    background: #ff7d1f;
    color: #fff;
    transform: rotate(-3deg);
}

.participant-login-signpost span:nth-child(4) {
    background: #ffc33a;
    transform: rotate(6deg);
}

.participant-login-accent {
    height: 76px;
    position: absolute;
    width: 76px;
}

.participant-login-accent::before,
.participant-login-accent::after {
    background: #a8e61d;
    border-radius: 999px 999px 999px 10px;
    content: "";
    height: 15px;
    position: absolute;
    width: 48px;
}

.participant-login-accent::before {
    transform: rotate(-42deg);
}

.participant-login-accent::after {
    left: 24px;
    top: 27px;
    transform: rotate(-18deg);
}

.participant-login-accent-left {
    left: 7%;
    top: 43%;
}

.participant-login-accent-right {
    right: 0;
    top: 31%;
}

@media (max-width: 991px) {
    .participant-login-hero {
        gap: 28px;
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 42px 18px;
    }

    .participant-login-card {
        margin: 0 auto;
        width: min(100%, 620px);
    }

    .participant-login-visual {
        min-height: 310px;
    }

    .participant-login-plane {
        left: 56%;
        top: 5%;
    }

    .participant-login-pin {
        left: 18%;
        top: 12%;
    }

    .participant-login-signpost {
        bottom: 8%;
        right: 10%;
    }
}

@media (max-width: 575px) {
    .participant-login-hero {
        padding: 28px 14px;
    }

    .participant-login-card {
        border-radius: 18px;
        padding: 28px 22px;
    }

    .participant-login-logo {
        margin-bottom: 28px;
        max-width: 200px;
        width: 70%;
    }

    .participant-login-title {
        font-size: 42px;
    }

    .participant-login-copy {
        font-size: 19px;
    }

    .participant-login-field {
        gap: 12px;
        grid-template-columns: 24px 1fr;
        min-height: 60px;
        padding: 0 16px;
    }

    .participant-login-field input {
        font-size: 15px;
    }

    .participant-login-button {
        font-size: 17px;
        min-height: 60px;
    }

    .participant-login-security {
        padding: 12px 16px;
    }

    .participant-login-security-item {
        gap: 12px;
        grid-template-columns: 44px 1fr;
        padding: 12px 0;
    }

    .participant-login-security-icon {
        height: 44px;
        width: 44px;
    }

    .participant-login-security-item strong {
        font-size: 16px;
    }

    .participant-login-security-item p {
        font-size: 14px;
    }

    .participant-login-visual {
        min-height: 230px;
    }

    .participant-login-plane {
        font-size: 34px;
        left: 49%;
    }

    .participant-login-plane::after {
        height: 95px;
        width: 165px;
    }

    .participant-login-pin,
    .participant-login-accent {
        display: none;
    }

    .participant-login-signpost {
        right: 50%;
        transform: translateX(50%) rotate(4deg) scale(0.86);
    }
}
