.gsc-processing-overlay {
    position: fixed;
    z-index: 100000;
    inset: 0;
    display: grid;
    padding: 24px;
    place-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
}

.gsc-processing-overlay.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.gsc-processing-overlay-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(6, 25, 48, 0.72);
    backdrop-filter: blur(2px);
}

.gsc-processing-overlay-panel {
    position: relative;
    z-index: 1;
    width: min(100%, 380px);
    padding: 34px 26px 28px;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
    text-align: center;
}

.gsc-processing-overlay-close {
    position: absolute;
    top: 8px;
    right: 10px;
    display: grid;
    width: 40px;
    height: 40px;
    padding: 0;
    place-items: center;
    border: 0;
    background: transparent;
    color: #68717b;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}

.gsc-processing-overlay-spinner {
    width: 58px;
    height: 58px;
    margin: 0 auto 22px;
    border: 6px solid #dfe9e3;
    border-top-color: var(--gsc-green);
    border-radius: 50%;
    animation:
        gsc-processing-overlay-spin
        850ms linear infinite;
}

.gsc-processing-overlay-panel h2 {
    margin: 0;
    color: #06285a;
    font-size: 25px;
    font-weight: 780;
    line-height: 1.15;
}

.gsc-processing-overlay-subtitle {
    margin: 10px 0 0;
    color: #606a74;
    font-size: 16px;
    line-height: 1.4;
}

.gsc-processing-overlay-message {
    min-height: 24px;
    margin: 25px 0 0;
    color: var(--gsc-green);
    font-size: 17px;
    font-weight: 750;
    line-height: 1.4;
}

.gsc-processing-overlay-footer {
    margin: 23px 0 0;
    color: #767e87;
    font-size: 13px;
    line-height: 1.45;
    white-space: pre-line;
}

@keyframes gsc-processing-overlay-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .gsc-processing-overlay,
    .gsc-processing-overlay-spinner {
        transition: none;
        animation-duration: 1600ms;
    }
}


.gsc-processing-overlay-action {
    width: 100%;
    min-height: 52px;
    margin-top: 26px;
    padding: 12px 18px;
    border: 0;
    border-radius: 10px;
    background: var(--gsc-green);
    color: #ffffff;
    font: inherit;
    font-size: 17px;
    font-weight: 750;
    cursor: pointer;
}

.gsc-processing-overlay-action:focus-visible {
    outline: 3px solid rgba(46, 125, 50, 0.28);
    outline-offset: 3px;
}
