.gp-maintenance-card {
    max-width: 560px;
}

.gp-maintenance-page {
    overflow-y: auto;
}

.gp-maintenance-page .gp-card-body {
    padding-bottom: 2.25rem;
}

.gp-maintenance-page .gp-logo-area {
    margin-bottom: 1.25rem;
}

.gp-maintenance-page .gp-logo-area img {
    height: 72px;
}

.gp-maintenance-page .gp-input,
.gp-maintenance-page .gp-btn-primary,
.gp-maintenance-link {
    min-height: 44px;
}

.gp-input--plain {
    padding-left: .875rem;
}

/* Wide layout: client request and workshop validation */
.gp-maintenance-page {
    overflow-x: hidden;
}

.gp-mnt-stage {
    max-width: 960px;
    position: relative;
    width: 100%;
    z-index: 1;
}

.gp-mnt-card {
    max-width: 960px;
}

.gp-mnt-gear {
    color: var(--gp-primary);
    opacity: 0;
    pointer-events: none;
    position: absolute;
    z-index: 0;
}

.gp-mnt-gear--lg {
    animation: gp-mnt-gear-in .8s ease-out .4s forwards, gp-spin 28s linear infinite;
    height: 220px;
    left: -90px;
    top: -80px;
    width: 220px;
}

.gp-mnt-gear--md {
    animation: gp-mnt-gear-in .8s ease-out .6s forwards, gp-mnt-spin-reverse 20s linear infinite;
    bottom: -60px;
    height: 160px;
    right: -70px;
    width: 160px;
}

.gp-mnt-gear--sm {
    animation: gp-mnt-gear-in .8s ease-out .8s forwards, gp-spin 12s linear infinite;
    bottom: 80px;
    height: 90px;
    right: -100px;
    width: 90px;
}

.gp-mnt-card .gp-card-body > * {
    animation: gp-mnt-rise .5s ease-out both;
}

.gp-mnt-card .gp-card-body > :nth-child(1) { animation-delay: .15s; }
.gp-mnt-card .gp-card-body > :nth-child(2) { animation-delay: .25s; }
.gp-mnt-card .gp-card-body > :nth-child(3) { animation-delay: .35s; }
.gp-mnt-card .gp-card-body > :nth-child(4) { animation-delay: .45s; }
.gp-mnt-card .gp-card-body > :nth-child(5) { animation-delay: .55s; }
.gp-mnt-card .gp-card-body > :nth-child(n+6) { animation-delay: .65s; }

.gp-mnt-header-icon svg {
    animation: gp-mnt-wiggle .9s ease-in-out .7s both;
}

@keyframes gp-mnt-gear-in {
    to { opacity: .14; }
}

@keyframes gp-mnt-spin-reverse {
    to { transform: rotate(-360deg); }
}

@keyframes gp-mnt-rise {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes gp-mnt-wiggle {
    0%, 100% { transform: rotate(0); }
    25% { transform: rotate(-18deg); }
    50% { transform: rotate(12deg); }
    75% { transform: rotate(-6deg); }
}

@media (prefers-reduced-motion: reduce) {
    .gp-mnt-gear {
        animation: none;
        opacity: .14;
    }
}

.gp-mnt-card .gp-card-body {
    padding: 2rem 2.5rem 1.75rem;
}

.gp-mnt-card .gp-logo-area {
    margin-bottom: 1.5rem;
}

.gp-mnt-deco {
    color: var(--gp-primary);
    height: 88px;
    opacity: .12;
    pointer-events: none;
    position: absolute;
    right: 1.75rem;
    top: 1.5rem;
    width: 88px;
}

.gp-mnt-header {
    align-items: center;
    display: flex;
    gap: 1.25rem;
    margin-bottom: 1.75rem;
}

.gp-mnt-header-icon {
    align-items: center;
    background: var(--gp-primary-subtle);
    border-radius: 50%;
    color: var(--gp-primary-dark);
    display: inline-flex;
    flex-shrink: 0;
    height: 64px;
    justify-content: center;
    width: 64px;
}

.gp-mnt-header-icon svg {
    height: 30px;
    width: 30px;
}

.gp-mnt-card .gp-form-title {
    font-size: 1.75rem;
}

.gp-mnt-card .gp-form-subtitle {
    color: var(--gp-gray-600);
    font-size: .9375rem;
}

.gp-mnt-grid {
    display: grid;
    gap: 0 1.5rem;
    grid-template-columns: 1fr 1fr;
}

.gp-mnt-label {
    align-items: center;
    color: var(--gp-gray-900);
    display: flex;
    font-size: .9375rem;
    font-weight: 700;
    gap: .5rem;
    margin-bottom: .5rem;
}

.gp-mnt-label svg {
    color: var(--gp-primary-dark);
    height: 22px;
    width: 22px;
}

.gp-mnt-card .gp-input {
    font-size: 1rem;
    min-height: 52px;
}

.gp-mnt-plate-badge {
    align-items: center;
    background: #003399;
    border-radius: 4px;
    color: var(--gp-white);
    display: flex;
    flex-direction: column;
    font-size: .6875rem;
    font-weight: 700;
    height: 36px;
    justify-content: flex-end;
    left: .625rem;
    line-height: 1;
    padding-bottom: 3px;
    pointer-events: none;
    position: absolute;
    width: 24px;
    z-index: 1;
}

.gp-mnt-plate-badge svg {
    fill: #ffcc00;
    height: 14px;
    margin-bottom: 2px;
    width: 16px;
}

.gp-mnt-card .gp-mnt-plate-input {
    padding-left: 3.25rem;
    text-transform: uppercase;
}

.gp-mnt-card .gp-mnt-plate-input::placeholder {
    text-transform: none;
}

.gp-mnt-help {
    color: var(--gp-gray-500);
    font-size: .8125rem;
    margin: .5rem 0 0;
}

.gp-mnt-consent {
    margin-top: 1rem;
}

.gp-mnt-consent-label {
    align-items: flex-start;
    color: var(--gp-gray-700, #3d4c5c);
    display: flex;
    font-size: .875rem;
    gap: .75rem;
    line-height: 1.45;
    margin: 0;
}

.gp-mnt-consent-label input {
    flex: 0 0 auto;
    height: 1.125rem;
    margin-top: .15rem;
    width: 1.125rem;
}

.gp-mnt-btn {
    font-size: 1rem;
    gap: .75rem;
    margin-top: .5rem;
    min-height: 52px;
}

.gp-mnt-btn svg,
.gp-mnt-features svg {
    height: 20px;
    width: 20px;
}

.gp-mnt-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
    margin: 1.5rem 0 0;
    padding: 0;
}

.gp-mnt-features li {
    align-items: center;
    color: var(--gp-gray-600);
    display: flex;
    font-size: .8125rem;
    gap: .5rem;
    padding: .25rem 1.75rem;
}

.gp-mnt-features li + li {
    border-left: 1px solid var(--gp-gray-200);
}

.gp-mnt-features svg {
    color: var(--gp-primary-dark);
}

.gp-voucher {
    background:
        linear-gradient(135deg, rgba(38, 168, 158, .1), transparent 45%),
        var(--gp-white);
    border: 1px solid rgba(38, 168, 158, .28);
    border-radius: var(--gp-radius-lg);
    box-shadow: var(--gp-shadow-md);
    overflow: hidden;
    padding: 1.5rem;
    position: relative;
    text-align: center;
}

.gp-voucher::after {
    border: 26px solid rgba(38, 168, 158, .06);
    border-radius: 50%;
    content: "";
    height: 130px;
    position: absolute;
    right: -55px;
    top: -55px;
    width: 130px;
}

.gp-voucher-status {
    align-items: center;
    background: rgba(16, 185, 129, .12);
    border-radius: 999px;
    color: #047857;
    display: inline-flex;
    font-size: .75rem;
    font-weight: 700;
    gap: .375rem;
    letter-spacing: .08em;
    padding: .4rem .75rem;
    text-transform: uppercase;
}

.gp-voucher-status svg,
.gp-voucher-copy svg {
    height: 18px;
    width: 18px;
}

.gp-voucher-eyebrow {
    color: var(--gp-gray-600);
    font-size: .8125rem;
    font-weight: 600;
    letter-spacing: .08em;
    margin: 1rem 0 .5rem;
    text-transform: uppercase;
}

.gp-voucher-code-row {
    align-items: center;
    display: flex;
    gap: .75rem;
    justify-content: center;
}

.gp-voucher-code {
    color: var(--gp-gray-900);
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
    font-size: clamp(1.3rem, 3vw, 2rem);
    font-weight: 700;
    letter-spacing: .06em;
    overflow-wrap: anywhere;
}

.gp-voucher-copy {
    align-items: center;
    background: var(--gp-white);
    border: 1px solid var(--gp-gray-300);
    border-radius: var(--gp-radius);
    color: var(--gp-gray-700);
    cursor: pointer;
    display: inline-flex;
    flex-shrink: 0;
    font: inherit;
    font-size: .8125rem;
    font-weight: 600;
    gap: .375rem;
    padding: .5rem .75rem;
}

.gp-voucher-copy:hover,
.gp-voucher-copy.is-copied {
    border-color: var(--gp-primary);
    color: var(--gp-primary-dark);
}

.gp-voucher-copy:focus-visible {
    box-shadow: var(--gp-shadow-focus);
    outline: none;
}

.gp-voucher-copy-feedback {
    color: var(--gp-primary-dark);
    font-size: .75rem;
    min-height: 1.125rem;
    margin: .375rem 0 0;
}

.gp-voucher-details {
    border-bottom: 1px solid var(--gp-gray-200);
    border-top: 1px solid var(--gp-gray-200);
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, 1fr);
    margin: 1rem 0;
    padding: 1rem 0;
}

.gp-voucher-details dt {
    color: var(--gp-gray-500);
    font-size: .6875rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.gp-voucher-details dd {
    color: var(--gp-gray-900);
    font-size: .9375rem;
    font-weight: 700;
    margin: .25rem 0 0;
}

.gp-voucher-terms {
    background: var(--gp-gray-50);
    border-radius: var(--gp-radius);
    padding: 1rem 1.25rem;
    text-align: left;
}

.gp-voucher-terms h2 {
    color: var(--gp-gray-900);
    font-size: .875rem;
    margin: 0 0 .5rem;
}

.gp-voucher-terms ul {
    color: var(--gp-gray-600);
    font-size: .8125rem;
    line-height: 1.6;
    margin: 0;
    padding-left: 1.25rem;
}

.gp-maintenance-alert {
    border: 1px solid var(--gp-gray-200);
    border-radius: var(--gp-radius);
    color: var(--gp-gray-700);
    font-size: .875rem;
    line-height: 1.5;
    margin-bottom: 1.25rem;
    padding: .875rem 1rem;
}

.gp-maintenance-alert--success {
    background: rgba(16, 185, 129, .08);
    border-color: rgba(16, 185, 129, .25);
    color: #047857;
}

.gp-maintenance-alert--error {
    background: var(--gp-danger-bg);
    border-color: rgba(239, 68, 68, .25);
    color: #b91c1c;
}

.gp-maintenance-alert--wait {
    background: var(--gp-primary-subtle);
    border-color: rgba(15, 118, 110, .22);
    color: var(--gp-primary-darker);
}

.gp-maintenance-summary {
    background: var(--gp-gray-50);
    border: 1px solid var(--gp-gray-200);
    border-radius: var(--gp-radius);
    margin-bottom: 1.25rem;
    padding: 1rem;
}

.gp-maintenance-summary dl {
    display: grid;
    gap: .75rem;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    margin: 0;
}

.gp-maintenance-summary dt {
    color: var(--gp-gray-500);
    font-size: .75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.gp-maintenance-summary dd {
    color: var(--gp-gray-900);
    font-size: .875rem;
    font-weight: 600;
    margin: .125rem 0 0;
}

.gp-maintenance-links {
    display: flex;
    gap: .75rem;
    justify-content: center;
    margin-top: 1rem;
}

.gp-maintenance-link {
    align-items: center;
    color: var(--gp-primary-dark);
    display: inline-flex;
    font-size: .8125rem;
    font-weight: 600;
    padding: .5rem;
    text-decoration: none;
}

.gp-maintenance-link:hover {
    color: var(--gp-primary-darker);
    text-decoration: underline;
}

.gp-maintenance-link:focus-visible {
    border-radius: var(--gp-radius-sm);
    box-shadow: var(--gp-shadow-focus);
    outline: none;
}

@media (max-width: 767px) {
    .gp-mnt-card .gp-card-body {
        padding: 1.75rem 1.25rem 1.5rem;
    }

    .gp-mnt-grid {
        grid-template-columns: 1fr;
    }

    .gp-mnt-header {
        align-items: flex-start;
        gap: .875rem;
    }

    .gp-mnt-header-icon {
        height: 48px;
        width: 48px;
    }

    .gp-mnt-header-icon svg {
        height: 24px;
        width: 24px;
    }

    .gp-mnt-card .gp-form-title {
        font-size: 1.375rem;
    }

    .gp-mnt-deco {
        display: none;
    }

    .gp-mnt-features li {
        padding: .25rem .875rem;
    }

    .gp-voucher-code-row {
        align-items: stretch;
        flex-direction: column;
    }

    .gp-voucher-code {
        font-size: .95rem;
        letter-spacing: .02em;
        white-space: nowrap;
    }

    .gp-voucher-copy {
        justify-content: center;
    }

    .gp-voucher-details {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .gp-maintenance-links,
    .gp-mnt-features {
        align-items: stretch;
        flex-direction: column;
        text-align: center;
    }

    .gp-mnt-features li {
        justify-content: center;
    }

    .gp-mnt-features li + li {
        border-left: 0;
    }
}
