.gb-login-shell {
    --gb-green: #255e49;
    --gb-cream: #fffdf0;
    --gb-orange: #f05a28;
    --gb-line: rgba(37, 94, 73, 0.78);
    --gb-mint: #69c4b8;
    position: relative;
    display: grid;
    min-height: min(760px, 82vh);
    place-items: center;
    overflow: hidden;
    margin: 0;
    padding: clamp(96px, 13vh, 180px) 24px;
    background: var(--gb-green);
    border-radius: 12px;
    color: #17271f;
    font-family: Arial, Helvetica, sans-serif;
}

.gb-login-shell *,
.gb-login-shell *::before,
.gb-login-shell *::after {
    box-sizing: border-box;
}

.gb-login-frame {
    position: absolute;
    width: min(370px, calc(100vw - 72px));
    height: 370px;
    transform: translate(34px, 48px);
    border: 1px solid var(--gb-orange);
    pointer-events: none;
}

.gb-login-card {
    position: relative;
    z-index: 1;
    width: min(370px, calc(100vw - 48px));
    min-height: 370px;
    background: var(--gb-cream);
    box-shadow: none;
}

.gb-login-close {
    position: absolute;
    top: 0;
    right: 0;
    width: 36px;
    height: 34px;
    transform: translate(0, 0);
    background: var(--gb-orange);
}

.gb-login-close::before,
.gb-login-close::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 23px;
    height: 1px;
    background: #fff8e8;
    transform-origin: center;
}

.gb-login-close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.gb-login-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.gb-login-content {
    padding: 38px 36px 30px;
}

.gb-login-content h1 {
    margin: 0 0 22px;
    color: var(--gb-orange);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 33px;
    font-style: italic;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.05;
}

.gb-login-copy {
    max-width: 228px;
    margin: 0;
    font-size: 10px;
    font-weight: 400;
    line-height: 1.55;
}

.gb-login-error {
    max-width: 260px;
    margin-top: 18px;
    color: var(--gb-orange);
    font-size: 10px;
    line-height: 1.4;
}

.gb-login-form {
    margin: 0;
}

.gb-login-field {
    position: relative;
    display: block;
    min-height: 45px;
    padding: 8px 70px 6px 36px;
    border-top: 1px solid var(--gb-line);
    cursor: text;
}

.gb-login-field:last-of-type {
    border-bottom: 1px solid var(--gb-line);
}

.gb-login-field span {
    display: block;
    margin-bottom: 2px;
    color: #4d7465;
    font-size: 8px;
    line-height: 1;
}

.gb-login-field input {
    display: block;
    width: 100%;
    min-height: 18px;
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #7a9088;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    letter-spacing: 0;
    line-height: 18px;
}

.gb-login-field input::placeholder {
    color: #a9b7b0;
    opacity: 1;
}

.gb-login-eye {
    position: absolute;
    right: 35px;
    top: 50%;
    width: 16px;
    height: 16px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    transform: translateY(-50%);
}

.gb-login-eye::before {
    content: "";
    position: absolute;
    inset: 3px 1px;
    border: 1px solid #477d69;
    border-radius: 50% / 60%;
}

.gb-login-eye::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #477d69;
    transform: translate(-50%, -50%);
}

.gb-login-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 34px 36px 0;
}

.gb-login-actions a {
    color: var(--gb-orange);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 14px;
    font-style: italic;
    line-height: 1;
    text-decoration: none;
}

.gb-login-actions button,
.gb-login-dashboard {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 86px;
    min-height: 24px;
    gap: 8px;
    margin: 0;
    padding: 4px 11px 4px 16px;
    border: 1px solid #3f8877;
    border-radius: 999px;
    background: var(--gb-mint);
    box-shadow: 0 5px 0 rgba(14, 33, 25, 0.16);
    color: #fff;
    cursor: pointer;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 10px;
    font-style: normal;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1;
    text-decoration: none;
}

.gb-login-actions button:hover,
.gb-login-actions button:focus-visible,
.gb-login-dashboard:hover,
.gb-login-dashboard:focus-visible {
    background: #5db7ab;
}

.gb-login-arrow {
    position: relative;
    width: 16px;
    height: 10px;
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-left: 0;
}

.gb-login-arrow::before,
.gb-login-arrow::after {
    content: "";
    position: absolute;
    right: -1px;
    width: 7px;
    height: 1px;
    background: rgba(255, 255, 255, 0.9);
    transform-origin: right center;
}

.gb-login-arrow::before {
    top: 4px;
    transform: rotate(45deg);
}

.gb-login-arrow::after {
    bottom: 4px;
    transform: rotate(-45deg);
}

.gb-login-card-compact {
    min-height: 250px;
}

.gb-login-card-compact .gb-login-actions {
    padding-top: 10px;
}

@media (max-width: 520px) {
    .gb-login-shell {
        min-height: 640px;
        padding: 88px 18px;
        border-radius: 0;
    }

    .gb-login-frame {
        width: min(330px, calc(100vw - 48px));
        height: 350px;
        transform: translate(18px, 34px);
    }

    .gb-login-card {
        width: min(330px, calc(100vw - 36px));
    }

    .gb-login-content,
    .gb-login-field,
    .gb-login-actions {
        padding-left: 28px;
        padding-right: 28px;
    }

    .gb-login-eye {
        right: 28px;
    }
}
