/* BPB Events Zone login page */

html.login-page {
    min-height: 100%;
}

body.login-page {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 320px;
    min-height: 100vh;
    margin: 0;
    padding: 40px 24px;
    overflow-x: hidden;
    color: #183443;
    background-color: #fbfaf7;
    background-image:
        radial-gradient(circle at 50% 38%, rgba(255, 255, 255, .82), rgba(255, 255, 255, 0) 62%),
        url("login-background-pattern.svg");
    background-size: 100% 100%, 720px 420px;
    background-position: center, 0 0;
    background-repeat: no-repeat, repeat;
    font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

body.login-page::before,
body.login-page::after {
    position: fixed;
    z-index: 0;
    display: block;
    width: 260px;
    height: 260px;
    border: 1px solid rgba(17, 125, 125, .06);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

body.login-page::before,
body.login-page::after {
    display: none;
}

body.login-page::before {
    top: -118px;
    left: -90px;
    box-shadow: 38px 40px 0 -22px rgba(17, 125, 125, .04), 84px 88px 0 -54px rgba(17, 125, 125, .08);
}

body.login-page::after {
    right: -118px;
    bottom: -132px;
    box-shadow: -38px -40px 0 -22px rgba(244, 180, 51, .05), -84px -88px 0 -54px rgba(244, 180, 51, .08);
}

body.login-page .splash,
body.login-page > .color-line,
body.login-page .color-line {
    display: none !important;
}

.login-shell {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    width: min(1080px, 100%);
    min-height: 560px;
    overflow: hidden;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 26px 70px rgba(22, 53, 61, .14), 0 4px 18px rgba(22, 53, 61, .08);
}

.login-showcase {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    padding: 34px 34px 26px;
    overflow: hidden;
    color: #fff;
    text-align: center;
    background:
        radial-gradient(circle at 75% 12%, rgba(91, 230, 214, .18), transparent 28%),
        linear-gradient(150deg, #139f9c 0%, #087f82 47%, #005f68 100%);
}

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

.login-showcase::before {
    top: -120px;
    right: -95px;
    width: 340px;
    height: 340px;
    box-shadow: -42px 36px 0 -28px rgba(255, 255, 255, .09), -88px 78px 0 -64px rgba(255, 255, 255, .1);
}

.login-showcase::after {
    bottom: 42px;
    left: -122px;
    width: 280px;
    height: 280px;
}

.login-showcase-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.login-brand-logo {
    display: block;
    width: 104px;
    height: 104px;
    margin: 0 auto 13px;
    object-fit: contain;
    border: 0;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 8px 20px rgba(0, 61, 69, .2);
}

.login-showcase h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(25px, 2.7vw, 32px);
    font-weight: 800;
    letter-spacing: .035em;
    line-height: 1.14;
}

.login-brand-rule {
    display: block;
    width: 62px;
    height: 4px;
    margin: 13px auto 12px;
    border-radius: 10px;
    background: #f7c13e;
}

.login-showcase-title,
.login-showcase-location {
    margin: 0;
    color: rgba(255, 255, 255, .96);
}

.login-showcase-title {
    font-size: 18px;
    font-weight: 600;
}

.login-showcase-location {
    margin-top: 7px;
    font-size: 13px;
    letter-spacing: .02em;
}

.login-showcase-location span {
    display: inline-block;
    padding: 0 5px;
    color: #f7c13e;
}

.login-feature-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    margin-top: auto;
    padding-top: 34px;
}

.login-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 72px;
    padding: 11px 5px 9px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 13px;
    color: #fff;
    background: rgba(255, 255, 255, .095);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .09);
}

.login-feature i {
    min-height: 27px;
    color: #fff;
    font-size: 24px;
    line-height: 27px;
}

.login-feature span {
    margin-top: 5px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

.login-showcase-art {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    height: 112px;
    opacity: .9;
    background:
        linear-gradient(175deg, transparent 0 18%, rgba(0, 71, 78, .22) 19% 21%, transparent 22% 100%),
        radial-gradient(ellipse at 50% 132%, rgba(1, 65, 73, .88) 0 52%, transparent 53%),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, .045) 0 2px, transparent 2px 42px),
        linear-gradient(180deg, transparent, rgba(0, 47, 58, .72));
}

.login-showcase-art::before,
.login-showcase-art::after {
    position: absolute;
    right: 16%;
    bottom: 0;
    left: 16%;
    height: 90px;
    border-top: 1px solid rgba(255, 255, 255, .16);
    border-radius: 50% 50% 0 0;
    content: "";
}

.login-showcase-art::after {
    right: 29%;
    left: 29%;
    height: 57px;
    border-color: rgba(255, 255, 255, .12);
}

.login-form-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 42px 50px 32px;
    background: #fff;
}

.login-form-header h2 {
    margin: 0;
    color: #0b5962;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -.025em;
    line-height: 1.2;
}

.login-form-header h2 span {
    display: inline-block;
    margin-left: 4px;
    font-size: 28px;
    transform: translateY(-1px);
}

.login-form-header p {
    margin: 8px 0 0;
    color: #7b858e;
    font-size: 15px;
}

.login-form {
    width: 100%;
    margin-top: 23px;
}

.login-field {
    margin-bottom: 16px;
}

.login-field > label {
    display: block;
    margin: 0 0 6px;
    color: #0b5962;
    font-size: 14px;
    font-weight: 700;
}

.login-input-wrap {
    display: flex;
    align-items: stretch;
    position: relative;
    width: 100%;
    height: 48px;
    overflow: hidden;
    border: 1px solid #d8e0e3;
    border-radius: 11px;
    background: #fff;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.login-input-wrap::before,
.login-input-wrap::after {
    position: absolute;
    z-index: 0;
    display: none;
    border-radius: 11px;
    content: "";
    pointer-events: none;
}

.login-input-wrap::before {
    inset: 0;
    opacity: 0;
    background: linear-gradient(105deg, #15918e, #f4b72c, #a4144b, #15918e);
    background-size: 300% 100%;
    transition: opacity .2s ease;
}

.login-input-wrap::after {
    inset: 2px;
    background: #fff;
}

.login-input-wrap > * {
    position: relative;
    z-index: 1;
}

.login-input-wrap:focus-within {
    border: 2px solid #15918e;
    box-shadow: 0 0 0 3px rgba(21, 145, 142, .16);
    animation: loginInputBorderColor 2.8s ease-in-out infinite, loginInputGlow 2.8s ease-in-out infinite;
}

.login-input-wrap:focus-within::before {
    display: none;
}

@keyframes loginInputBorderColor {
    0%, 100% { border-color: #15918e; }
    50% { border-color: #f4b72c; }
    75% { border-color: #a4144b; }
}

@keyframes loginInputBorderFlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes loginInputGlow {
    0%, 100% {
        box-shadow: 0 0 0 3px rgba(21, 145, 142, .16), 0 0 0 rgba(21, 145, 142, 0);
    }
    50% {
        box-shadow: 0 0 0 4px rgba(244, 183, 44, .2), 0 0 16px rgba(21, 145, 142, .2);
    }
}

.login-input-icon {
    display: grid;
    flex: 0 0 49px;
    place-items: center;
    border-right: 1px solid #e5eaeb;
    color: #17646c;
    background: #f7fbfb;
    font-size: 20px;
}

.login-input-wrap input {
    flex: 1 1 auto;
    min-width: 0;
    height: 100%;
    padding: 0 15px;
    border: 0 !important;
    outline: 0 !important;
    color: #344650;
    background: transparent !important;
    box-shadow: none !important;
    font-size: 14px;
}

.login-input-wrap input::placeholder {
    color: #8d969d;
    opacity: 1;
}

.login-password-toggle {
    display: grid;
    flex: 0 0 48px;
    place-items: center;
    padding: 0;
    border: 0;
    color: #87949b;
    background: transparent;
    font-size: 19px;
    cursor: pointer;
}

.login-password-toggle:hover,
.login-password-toggle:focus {
    color: #17646c;
    outline: 0;
}

.login-remember {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin: 2px 0 20px;
    color: #135d64;
    cursor: pointer;
}

.login-check-input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    clip-path: inset(50%);
}

.login-check-box {
    position: relative;
    display: block;
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    border: 1px solid #d3dfe1;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 2px 5px rgba(27, 74, 78, .08);
}

.login-check-input:checked + .login-check-box {
    border-color: #38a74d;
    background: #38a74d;
}

.login-check-input:checked + .login-check-box::after {
    position: absolute;
    top: 4px;
    left: 8px;
    width: 6px;
    height: 11px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    content: "";
    transform: rotate(45deg);
}

.login-check-input:focus-visible + .login-check-box {
    outline: 3px solid rgba(21, 145, 142, .2);
    outline-offset: 2px;
}

.login-remember strong,
.login-remember small {
    display: block;
}

.login-remember strong {
    margin-top: 1px;
    font-size: 14px;
    line-height: 1.25;
}

.login-remember small {
    margin-top: 4px;
    color: #77828a;
    font-size: 11px;
    font-weight: 600;
}

.login-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: 100%;
    min-height: 50px;
    padding: 12px 18px;
    border: 0;
    border-radius: 11px;
    color: #fff;
    background: #a4144b;
    box-shadow: 0 9px 18px rgba(164, 20, 75, .18);
    font-size: 16px;
    font-weight: 700;
    transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.login-submit:hover,
.login-submit:focus {
    color: #fff;
    background: #8d103f;
    outline: 0;
    box-shadow: 0 11px 22px rgba(164, 20, 75, .25);
    transform: translateY(-1px);
}

.login-submit:active {
    transform: translateY(0);
}

.login-submit:disabled {
    opacity: .72;
    cursor: wait;
    transform: none;
}

.login-submit i {
    font-size: 19px;
}

.login-footer {
    margin-top: 21px;
    padding-top: 18px;
    border-top: 1px solid #e6ebec;
    color: #7c858e;
    font-size: 13px;
    line-height: 1.8;
    text-align: center;
}

.login-footer strong {
    color: #66727b;
    font-weight: 700;
}

.login-footer .portal {
    color: #0c938f;
    font-family: inherit;
    font-weight: 700;
}

.login-footer a {
    color: #0c938f;
    font-weight: 700;
    text-decoration: none;
}

.login-footer a:hover,
.login-footer a:focus {
    color: #08726f;
    text-decoration: underline;
}

.login-footer a i {
    margin-right: 5px;
}

@media (prefers-reduced-motion: reduce) {
    .login-input-wrap:focus-within::before {
        animation: none;
    }

    .login-input-wrap:focus-within {
        animation: none;
    }
}

@media (max-width: 980px) {
    body.login-page {
        padding: 24px 16px;
    }

    .login-shell {
        min-height: 0;
    }

    .login-showcase,
    .login-form-panel {
        padding-right: 34px;
        padding-left: 34px;
    }

    .login-feature-grid {
        gap: 7px;
    }

    .login-feature span {
        font-size: 10px;
    }

    .login-form-panel {
        padding-top: 42px;
        padding-bottom: 35px;
    }
}

@media (max-width: 760px) {
    body.login-page {
        align-items: flex-start;
        padding: 18px 12px;
    }

    .login-shell {
        grid-template-columns: 1fr;
        border-radius: 20px;
    }

    .login-showcase {
        min-height: 390px;
        padding: 30px 20px 25px;
    }

    .login-brand-logo {
        width: 102px;
        height: 102px;
    }

    .login-showcase-title {
        font-size: 18px;
    }

    .login-showcase-location {
        font-size: 13px;
    }

    .login-feature-grid {
        gap: 7px;
        padding-top: 32px;
    }

    .login-feature {
        min-height: 70px;
        padding-right: 2px;
        padding-left: 2px;
    }

    .login-feature i {
        font-size: 23px;
    }

    .login-feature span {
        font-size: 9px;
    }

    .login-form-panel {
        padding: 36px 24px 30px;
    }
}

@media (max-width: 430px) {
    body.login-page {
        padding: 10px;
    }

    .login-showcase {
        min-height: 365px;
    }

    .login-showcase h1 {
        font-size: 25px;
    }

    .login-showcase-location span {
        padding: 0 2px;
    }

    .login-feature-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        row-gap: 8px;
    }

    .login-form-header h2 {
        font-size: 27px;
    }

    .login-form-header p {
        font-size: 14px;
    }
}
