:root {
    --pass-bg: #f4f7fc;
    --pass-surface: #ffffff;
    --pass-surface-2: #eef3fb;
    --pass-border: #dbe4f1;
    --pass-text: #0f172a;
    --pass-muted: #64748b;
    --pass-shadow: 0 24px 70px rgba(15, 23, 42, .11);
    --pass-brand: #7c3aed;
    --pass-brand-2: #06b6d4;
}

html[data-theme="dark"] {
    --pass-bg: #08111f;
    --pass-surface: #111c2e;
    --pass-surface-2: #162338;
    --pass-border: #263650;
    --pass-text: #f8fafc;
    --pass-muted: #9fb0c8;
    --pass-shadow: 0 28px 80px rgba(0, 0, 0, .35);
}

html.jg-modal-open {
    overflow: hidden;
}

body.jg-pass-body {
    background: var(--pass-bg) !important;
    color: var(--pass-text);
}

.jg-pass-page {
    min-height: 70vh;
    padding: 34px 0 64px;
    background:
        radial-gradient(circle at 12% 7%, rgba(124, 58, 237, .12), transparent 30%),
        radial-gradient(circle at 88% 11%, rgba(6, 182, 212, .1), transparent 27%),
        var(--pass-bg);
}

.jg-pass-page .container {
    max-width: 1240px;
}

.jg-pass-alert {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 16px;
    border: 1px solid;
    border-radius: 16px;
    padding: 14px 18px;
    box-shadow: var(--pass-shadow);
}

.jg-pass-alert > i {
    font-size: 22px;
}

.jg-pass-alert div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.jg-pass-alert strong {
    color: var(--pass-text);
}

.jg-pass-alert span {
    color: var(--pass-muted);
    font-size: 13px;
}

.jg-pass-alert.success {
    border-color: rgba(16, 185, 129, .35);
    background: color-mix(in srgb, var(--pass-surface) 90%, #10b981 10%);
}

.jg-pass-alert.success > i {
    color: #10b981;
}

.jg-pass-alert.error {
    border-color: rgba(239, 68, 68, .35);
    background: color-mix(in srgb, var(--pass-surface) 90%, #ef4444 10%);
}

.jg-pass-alert.error > i {
    color: #ef4444;
}

.jg-pass-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr);
    align-items: center;
    min-height: 390px;
    overflow: hidden;
    border: 1px solid rgba(124, 58, 237, .28);
    border-radius: 28px;
    padding: 44px 48px;
    background:
        linear-gradient(115deg, rgba(124, 58, 237, .12), transparent 45%),
        linear-gradient(145deg, var(--pass-surface), var(--pass-surface-2));
    box-shadow: var(--pass-shadow);
}

.jg-pass-hero:before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(124, 58, 237, .04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(124, 58, 237, .04) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: linear-gradient(90deg, #000, transparent 82%);
}

.jg-pass-hero-copy {
    position: relative;
    z-index: 2;
    max-width: 660px;
}

.jg-pass-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    border: 1px solid rgba(124, 58, 237, .24);
    border-radius: 999px;
    padding: 8px 13px;
    background: rgba(124, 58, 237, .09);
    color: #8b5cf6;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .35px;
}

.jg-pass-hero h1 {
    margin: 20px 0 14px;
    color: var(--pass-text);
    font-size: clamp(42px, 6vw, 70px);
    font-weight: 950;
    line-height: .98;
    letter-spacing: -3px;
}

.jg-pass-hero h1 span {
    background: linear-gradient(115deg, var(--pass-brand), var(--pass-brand-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.jg-pass-hero-copy > p {
    max-width: 650px;
    margin: 0;
    color: var(--pass-muted);
    font-size: 16px;
    line-height: 1.7;
}

.jg-pass-hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.jg-pass-hero-points span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--pass-border);
    border-radius: 11px;
    padding: 9px 12px;
    background: color-mix(in srgb, var(--pass-surface) 88%, transparent);
    color: var(--pass-text);
    font-size: 12px;
    font-weight: 850;
}

.jg-pass-hero-points i {
    color: #8b5cf6;
}

.jg-pass-hero-card {
    position: relative;
    z-index: 2;
    justify-self: end;
    width: min(100%, 390px);
    aspect-ratio: 1.6 / 1;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 24px;
    padding: 27px;
    background:
        radial-gradient(circle at 74% 24%, rgba(255,255,255,.22), transparent 24%),
        linear-gradient(135deg, #5b21b6, #7c3aed 48%, #0891b2);
    color: #fff;
    box-shadow: 0 32px 70px rgba(91, 33, 182, .36);
    transform: perspective(1000px) rotateY(-7deg) rotateX(3deg);
}

.jg-pass-hero-card:after {
    content: "";
    position: absolute;
    inset: -70% -30%;
    background: linear-gradient(110deg, transparent 36%, rgba(255,255,255,.2) 47%, transparent 57%);
    transform: translateX(-40%);
    animation: pass-card-shine 5.5s ease-in-out infinite;
}

@keyframes pass-card-shine {
    0%, 48% { transform: translateX(-48%); }
    78%, 100% { transform: translateX(48%); }
}

.jg-pass-card-top,
.jg-pass-card-bottom {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 900;
    letter-spacing: 1px;
}

.jg-pass-card-top {
    font-size: 13px;
}

.jg-pass-chip {
    position: relative;
    z-index: 2;
    display: grid;
    width: 48px;
    height: 39px;
    margin-top: 35px;
    place-items: center;
    border-radius: 9px;
    background: linear-gradient(135deg, #fde68a, #f59e0b);
    color: #5b21b6;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.45);
}

.jg-pass-hero-card > strong {
    position: absolute;
    z-index: 2;
    right: 27px;
    bottom: 54px;
    font-size: 42px;
    font-weight: 950;
    letter-spacing: -2px;
}

.jg-pass-card-bottom {
    position: absolute;
    right: 27px;
    bottom: 24px;
    left: 27px;
    font-size: 10px;
}

.jg-pass-orbit {
    position: absolute;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 50%;
}

.orbit-one {
    width: 240px;
    height: 240px;
    right: -60px;
    top: -100px;
}

.orbit-two {
    width: 150px;
    height: 150px;
    left: -55px;
    bottom: -70px;
}

.jg-pass-account-bar {
    display: grid;
    grid-template-columns: 1.4fr .8fr .7fr auto;
    align-items: center;
    gap: 14px;
    margin-top: 18px;
    border: 1px solid var(--pass-border);
    border-radius: 18px;
    padding: 13px;
    background: var(--pass-surface);
    box-shadow: 0 14px 38px rgba(15, 23, 42, .08);
}

.jg-pass-account-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.jg-pass-avatar {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 13px;
    background: linear-gradient(135deg, var(--pass-brand), var(--pass-brand-2));
    color: #fff;
}

.jg-pass-account-user div,
.jg-pass-account-stat {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.jg-pass-account-bar small {
    color: var(--pass-muted);
    font-size: 11px;
    font-weight: 750;
}

.jg-pass-account-bar strong {
    color: var(--pass-text);
    font-size: 14px;
}

.jg-pass-account-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    border-radius: 12px;
    padding: 0 18px;
    background: var(--pass-surface-2);
    color: var(--pass-text);
    font-size: 12px;
    font-weight: 900;
    text-decoration: none !important;
}

.jg-pass-account-link:hover {
    background: linear-gradient(135deg, var(--pass-brand), var(--pass-brand-2));
    color: #fff;
    transform: translateY(-2px);
}

.jg-pass-active-section,
.jg-pass-plans-section,
.jg-pass-history {
    margin-top: 42px;
}

.jg-pass-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.jg-pass-section-heading > div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.jg-pass-section-heading span {
    color: #8b5cf6;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .55px;
}

.jg-pass-section-heading h2 {
    margin: 0;
    color: var(--pass-text);
    font-size: 27px;
    font-weight: 950;
    letter-spacing: -.7px;
}

.jg-pass-section-heading > b,
.jg-pass-section-heading > p {
    margin: 0;
    color: var(--pass-muted);
    font-size: 12px;
    font-weight: 750;
}

.jg-pass-section-heading > b i {
    margin-right: 6px;
    color: #10b981;
}

.jg-pass-active-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.jg-pass-active-card {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 15px;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--pass-primary) 36%, var(--pass-border));
    border-radius: 18px;
    padding: 17px;
    background:
        linear-gradient(120deg, color-mix(in srgb, var(--pass-primary) 10%, var(--pass-surface)), var(--pass-surface));
    box-shadow: 0 16px 42px rgba(15, 23, 42, .08);
}

.jg-pass-active-icon,
.jg-pass-plan-icon {
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--pass-primary), var(--pass-secondary));
    color: #fff;
    box-shadow: 0 12px 28px color-mix(in srgb, var(--pass-primary) 26%, transparent);
}

.jg-pass-active-icon {
    width: 55px;
    height: 55px;
    border-radius: 16px;
    font-size: 20px;
}

.jg-pass-active-copy small,
.jg-pass-plan-head small {
    color: var(--pass-muted);
    font-size: 10px;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.jg-pass-active-copy h3 {
    margin: 3px 0;
    color: var(--pass-text);
    font-size: 18px;
    font-weight: 950;
}

.jg-pass-active-copy p {
    margin: 0;
    color: var(--pass-muted);
    font-size: 11px;
}

.jg-pass-progress {
    height: 6px;
    overflow: hidden;
    margin-top: 9px;
    border-radius: 999px;
    background: var(--pass-surface-2);
}

.jg-pass-progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--pass-primary), var(--pass-secondary));
}

.jg-pass-active-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    padding: 8px 10px;
    background: rgba(16, 185, 129, .12);
    color: #10b981 !important;
    font-size: 11px !important;
}

.jg-pass-plan-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 16px;
}

.jg-pass-plan-card {
    position: relative;
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--pass-border);
    border-radius: 22px;
    padding: 24px;
    background: var(--pass-surface);
    box-shadow: 0 16px 50px rgba(15, 23, 42, .08);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.jg-pass-plan-card:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--pass-primary), var(--pass-secondary));
}

.jg-pass-plan-card:hover {
    border-color: color-mix(in srgb, var(--pass-primary) 55%, var(--pass-border));
    box-shadow: 0 28px 70px color-mix(in srgb, var(--pass-primary) 15%, transparent);
    transform: translateY(-7px);
}

.jg-pass-plan-card.featured {
    border-color: color-mix(in srgb, var(--pass-primary) 48%, var(--pass-border));
    background:
        radial-gradient(circle at 100% 0, color-mix(in srgb, var(--pass-secondary) 12%, transparent), transparent 34%),
        var(--pass-surface);
}

.jg-pass-popular {
    position: absolute;
    top: 13px;
    right: -33px;
    width: 120px;
    padding: 6px 0;
    background: linear-gradient(135deg, var(--pass-primary), var(--pass-secondary));
    color: #fff;
    font-size: 9px;
    font-weight: 950;
    text-align: center;
    transform: rotate(38deg);
}

.jg-pass-plan-head {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;
}

.jg-pass-plan-icon {
    width: 52px;
    height: 52px;
    border-radius: 15px;
    font-size: 19px;
}

.jg-pass-plan-head h3 {
    margin: 3px 0 0;
    color: var(--pass-text);
    font-size: 20px;
    font-weight: 950;
}

.jg-pass-plan-head > b {
    border: 1px solid color-mix(in srgb, var(--pass-primary) 30%, var(--pass-border));
    border-radius: 999px;
    padding: 7px 9px;
    background: color-mix(in srgb, var(--pass-primary) 9%, transparent);
    color: var(--pass-primary);
    font-size: 9px;
    font-weight: 950;
}

.jg-pass-plan-desc {
    min-height: 42px;
    margin: 18px 0 14px;
    color: var(--pass-muted);
    font-size: 13px;
    line-height: 1.55;
}

.jg-pass-plan-price {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    border-bottom: 1px solid var(--pass-border);
    padding-bottom: 18px;
}

.jg-pass-plan-price strong {
    color: var(--pass-text);
    font-size: 36px;
    font-weight: 950;
    line-height: 1;
    letter-spacing: -1.5px;
}

.jg-pass-plan-price sup {
    margin-left: 4px;
    color: var(--pass-primary);
    font-size: 13px;
    letter-spacing: 0;
}

.jg-pass-plan-price span {
    margin-bottom: 3px;
    color: var(--pass-muted);
    font-size: 11px;
}

.jg-pass-benefits {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 11px;
    padding: 18px 0;
}

.jg-pass-benefits > div {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: var(--pass-muted);
    font-size: 12px;
    line-height: 1.35;
}

.jg-pass-benefits i {
    margin-top: 2px;
    color: var(--pass-primary);
}

.jg-pass-benefits b {
    margin-left: 4px;
    color: var(--pass-text);
}

.jg-pass-plan-button {
    display: inline-flex;
    width: 100%;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 13px;
    background: linear-gradient(135deg, var(--pass-primary), var(--pass-secondary));
    color: #fff !important;
    box-shadow: 0 14px 30px color-mix(in srgb, var(--pass-primary) 25%, transparent);
    font-size: 13px;
    font-weight: 950;
    text-decoration: none !important;
    cursor: pointer;
    transition: transform .2s ease, filter .2s ease;
}

.jg-pass-plan-button:hover {
    filter: brightness(1.08);
    transform: translateY(-2px);
}

.jg-pass-plan-button.owned {
    background: rgba(16, 185, 129, .12);
    color: #10b981 !important;
    box-shadow: none;
    cursor: default;
}

.jg-pass-how {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    margin-top: 42px;
    border: 1px solid var(--pass-border);
    border-radius: 20px;
    background: var(--pass-border);
    box-shadow: 0 18px 48px rgba(15, 23, 42, .07);
}

.jg-pass-how > div {
    position: relative;
    min-height: 170px;
    padding: 24px;
    background: var(--pass-surface);
}

.jg-pass-how > div > span {
    position: absolute;
    top: 15px;
    right: 17px;
    color: var(--pass-border);
    font-size: 40px;
    font-weight: 950;
}

.jg-pass-how i {
    color: #8b5cf6;
    font-size: 24px;
}

.jg-pass-how h3 {
    margin: 22px 0 7px;
    color: var(--pass-text);
    font-size: 15px;
    font-weight: 950;
}

.jg-pass-how p {
    margin: 0;
    color: var(--pass-muted);
    font-size: 12px;
    line-height: 1.5;
}

.jg-pass-history-list {
    overflow: hidden;
    border: 1px solid var(--pass-border);
    border-radius: 18px;
    background: var(--pass-surface);
}

.jg-pass-history-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 14px;
    padding: 14px 17px;
    border-bottom: 1px solid var(--pass-border);
}

.jg-pass-history-row:last-child {
    border-bottom: 0;
}

.jg-pass-history-icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 12px;
    background: color-mix(in srgb, var(--pass-primary) 13%, var(--pass-surface-2));
    color: var(--pass-primary);
}

.jg-pass-history-row > div {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.jg-pass-history-row strong,
.jg-pass-history-row > b {
    color: var(--pass-text);
    font-size: 13px;
}

.jg-pass-history-row small {
    overflow: hidden;
    color: var(--pass-muted);
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.jg-pass-history-status {
    border-radius: 999px;
    padding: 7px 9px;
    background: var(--pass-surface-2);
    color: var(--pass-muted);
    font-size: 10px;
    font-weight: 900;
}

.jg-pass-history-status.success {
    background: rgba(16, 185, 129, .12);
    color: #10b981;
}

.jg-pass-empty {
    border: 1px dashed var(--pass-border);
    border-radius: 22px;
    padding: 48px 24px;
    background: var(--pass-surface);
    text-align: center;
}

.jg-pass-empty i {
    color: #8b5cf6;
    font-size: 30px;
}

.jg-pass-empty h3 {
    margin: 15px 0 7px;
    color: var(--pass-text);
}

.jg-pass-empty p {
    margin: 0;
    color: var(--pass-muted);
}

.jg-pass-modal[hidden] {
    display: none;
}

.jg-pass-modal {
    position: fixed;
    z-index: 99999;
    inset: 0;
    display: grid;
    padding: 20px;
    place-items: center;
}

.jg-pass-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, .78);
    backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity .18s ease;
}

.jg-pass-modal-dialog {
    position: relative;
    z-index: 2;
    width: min(100%, 470px);
    border: 1px solid rgba(124, 58, 237, .35);
    border-radius: 24px;
    padding: 30px;
    background: var(--pass-surface);
    box-shadow: 0 40px 110px rgba(0, 0, 0, .42);
    opacity: 0;
    text-align: center;
    transform: translateY(18px) scale(.96);
    transition: opacity .18s ease, transform .18s ease;
}

.jg-pass-modal.is-open .jg-pass-modal-backdrop,
.jg-pass-modal.is-open .jg-pass-modal-dialog {
    opacity: 1;
}

.jg-pass-modal.is-open .jg-pass-modal-dialog {
    transform: translateY(0) scale(1);
}

.jg-pass-modal-x {
    position: absolute;
    top: 14px;
    right: 14px;
    display: grid;
    width: 36px;
    height: 36px;
    border: 1px solid var(--pass-border);
    border-radius: 10px;
    place-items: center;
    background: var(--pass-surface-2);
    color: var(--pass-muted);
}

.jg-pass-modal-icon {
    display: grid;
    width: 66px;
    height: 66px;
    margin: 0 auto 14px;
    place-items: center;
    border-radius: 19px;
    background: linear-gradient(135deg, var(--pass-brand), var(--pass-brand-2));
    color: #fff;
    box-shadow: 0 18px 42px rgba(124, 58, 237, .28);
    font-size: 25px;
}

.jg-pass-modal-dialog > small {
    color: #8b5cf6;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .6px;
}

.jg-pass-modal-dialog h2 {
    margin: 8px 0 10px;
    color: var(--pass-text);
    font-size: 24px;
    font-weight: 950;
}

.jg-pass-modal-dialog > p {
    margin: 0;
    color: var(--pass-muted);
    font-size: 13px;
    line-height: 1.6;
}

.jg-pass-modal-balance {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 20px 0;
    border: 1px solid var(--pass-border);
    border-radius: 13px;
    padding: 12px 14px;
    background: var(--pass-surface-2);
}

.jg-pass-modal-balance span {
    color: var(--pass-muted);
    font-size: 11px;
    font-weight: 800;
}

.jg-pass-modal-balance strong {
    color: var(--pass-text);
}

.jg-pass-modal-dialog form {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 9px;
}

.jg-pass-modal-cancel,
.jg-pass-modal-confirm {
    min-height: 48px;
    border: 0;
    border-radius: 13px;
    font-size: 12px;
    font-weight: 950;
}

.jg-pass-modal-cancel {
    background: var(--pass-surface-2);
    color: var(--pass-text);
}

.jg-pass-modal-confirm {
    background: linear-gradient(135deg, var(--pass-brand), var(--pass-brand-2));
    color: #fff;
}

.jg-pass-modal-confirm:disabled {
    cursor: wait;
    opacity: .75;
}

@media (max-width: 980px) {
    .jg-pass-hero {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .jg-pass-hero-card {
        justify-self: center;
    }

    .jg-pass-plan-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .jg-pass-how {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .jg-pass-page {
        padding: 18px 0 42px;
    }

    .jg-pass-hero {
        min-height: 0;
        border-radius: 20px;
        padding: 28px 20px;
    }

    .jg-pass-hero h1 {
        margin-top: 16px;
        font-size: 44px;
        letter-spacing: -2px;
    }

    .jg-pass-hero-copy > p {
        font-size: 13px;
    }

    .jg-pass-hero-card {
        width: min(100%, 330px);
        transform: none;
    }

    .jg-pass-account-bar {
        grid-template-columns: 1fr 1fr;
    }

    .jg-pass-account-user,
    .jg-pass-account-link {
        grid-column: 1 / -1;
    }

    .jg-pass-active-grid,
    .jg-pass-plan-grid {
        grid-template-columns: 1fr;
    }

    .jg-pass-section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 9px;
    }

    .jg-pass-active-card {
        grid-template-columns: auto 1fr;
    }

    .jg-pass-active-status {
        grid-column: 1 / -1;
        justify-self: flex-start;
    }

    .jg-pass-how {
        grid-template-columns: 1fr;
    }

    .jg-pass-how > div {
        min-height: 135px;
    }

    .jg-pass-history-row {
        grid-template-columns: auto 1fr auto;
    }

    .jg-pass-history-status {
        grid-column: 2 / -1;
        justify-self: flex-start;
    }
}

@media (max-width: 420px) {
    .jg-pass-hero-card {
        padding: 20px;
    }

    .jg-pass-hero-card > strong {
        right: 20px;
        bottom: 44px;
        font-size: 34px;
    }

    .jg-pass-card-bottom {
        right: 20px;
        bottom: 18px;
        left: 20px;
    }

    .jg-pass-plan-card {
        padding: 20px;
    }

    .jg-pass-modal-dialog {
        padding: 26px 18px 20px;
    }

    .jg-pass-modal-dialog form {
        grid-template-columns: 1fr;
    }
}
