/* Greif+ atmosphere background: gradient with a halo (bottom-left) and a ring (top-right). Sizes follow the 1440px design. */
.greif-signin-background {
    position: relative;
    overflow: hidden;
    background: linear-gradient(98deg, #2e6f5a 0%, #00351e 62%, #00351e 100%);
}

.greif-signin-background.reverse {
    background: linear-gradient(265deg, #337761 0%, #00371e 100%);
}

.greif-signin-background::before,
.greif-signin-background::after {
    content: "";
    position: absolute;
    aspect-ratio: 1;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.greif-signin-background::before {
    left: 0;
    bottom: 0;
    width: clamp(280px, 50vw, 720px);
    background: rgba(120, 190, 33, 0.07);
    transform: translate(-36.1%, 37.9%);
}

.greif-signin-background::after {
    top: 0;
    right: 0;
    width: clamp(360px, 66vw, 950px);
    background: radial-gradient(circle closest-side, transparent 74.74%, rgba(255, 255, 255, 0.04) 74.74%);
    transform: translate(36.1%, -41.5%);
}

.greif-signin-background.compact::before {
    top: 496px;
    bottom: auto;
    left: -406px;
    width: 720px;
    transform: none;
}

.greif-signin-background.compact::after {
    box-sizing: border-box;
    width: 600px;
    border: 90px solid rgba(255, 255, 255, 0.035);
    background: none;
    transform: translate(337px, -330px);
}

.greif-signin-background.hide-left::before,
.greif-signin-background.hide-right::after {
    display: none;
}

.greif-signin-background > * {
    position: relative;
    z-index: 1;
}
