.order-card.has-issued-ticket {
    border-color: #bdebd8;
    box-shadow: 0 12px 36px rgba(31, 157, 104, .09);
    scroll-margin-top: 100px;
}

.issued-ticket-panel {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, #f0fbf6, #f1f8ff);
    border: 1px solid #ccebdd;
    border-radius: 16px;
    padding: 15px;
}

.issued-ticket-panel > header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.issued-ticket-panel > header > span {
    width: 34px;
    height: 34px;
    border-radius: 11px;
    background: #1f9d68;
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 800;
}

.issued-ticket-panel header b,
.issued-ticket-panel header small,
.issued-ticket-row small,
.issued-ticket-row b {
    display: block;
}

.issued-ticket-panel header small {
    color: #657b72;
    font-size: 9px;
    margin-top: 3px;
}

.issued-ticket-row {
    display: grid;
    grid-template-columns: 1.25fr .7fr 1fr 1fr auto auto;
    gap: 12px;
    align-items: center;
    background: #fff;
    border: 1px solid #e0eee7;
    border-radius: 13px;
    padding: 13px;
    margin-top: 8px;
}

.issued-ticket-row small {
    color: #7b8790;
    font-size: 8px;
    margin-bottom: 4px;
}

.issued-ticket-row b {
    font-size: 10px;
}

.inline-ticket-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    padding: 10px 13px;
    background: linear-gradient(135deg, #141154, #29237f);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    white-space: nowrap;
}

.ticket-summary-card {
    grid-column: 1 / -1;
    background: #f7f7ff;
    border: 1px solid #e1e3f5;
    border-radius: 14px;
    padding: 14px;
}

.ticket-summary-card > header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 11px;
}

.ticket-summary-card > header small {
    color: #7b8194;
    font-size: 8px;
}

.ticket-summary-data {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.ticket-summary-data article {
    background: #fff;
    border: 1px solid #e9eaf4;
    border-radius: 11px;
    padding: 10px;
}

.ticket-summary-data small,
.ticket-summary-data b {
    display: block;
}

.ticket-summary-data small {
    color: #7b8194;
    font-size: 8px;
    margin-bottom: 5px;
}

.ticket-summary-data b {
    color: #17134f;
    font-size: 10px;
    line-height: 1.7;
}

.ticket-summary-card > p {
    margin: 10px 0 0;
    padding: 10px 12px;
    background: #f3f1ff;
    border-right: 3px solid #8f7cff;
    border-radius: 9px;
    color: #605d72;
    font-size: 10px;
    line-height: 1.8;
}

.ticket .ticket-summary-card {
    position: relative;
    z-index: 2;
    margin-top: 18px;
    background: rgba(255, 255, 255, .09);
    border-color: rgba(255, 255, 255, .14);
}

.ticket .ticket-summary-data {
    grid-template-columns: repeat(3, 1fr);
}

.ticket .ticket-summary-data article {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .12);
}

.ticket .ticket-summary-data small,
.ticket .ticket-summary-card > header small {
    color: #c9c7df;
}

.ticket .ticket-summary-data b,
.ticket .ticket-summary-card > p {
    color: #fff;
}

.ticket .ticket-summary-card > p {
    background: rgba(255, 255, 255, .08);
}

.ticket-summary-editor {
    border: 1px solid #dfe1f3;
    border-radius: 15px;
    padding: 14px;
    background: linear-gradient(135deg, #f8f8ff, #f0faff);
}

.ticket-summary-editor legend {
    padding: 0 8px;
    color: #302879;
    font-weight: 800;
}

.ticket-summary-editor > p {
    margin: 0 0 12px;
    color: #7b8194;
    font-size: 9px;
}

.ticket-summary-editor label,
.ticket-summary-editor .split {
    margin-bottom: 10px;
}

.customer-row > a.status {
    white-space: nowrap;
}

.issued-ticket-row .status.active {
    background: #e1f6ec;
    color: #16724a;
}

.issued-ticket-row .status.used {
    background: #e7edff;
    color: #325ac0;
}

.issued-ticket-row .status.refunded,
.issued-ticket-row .status.cancelled {
    background: #ffe8ec;
    color: #b9364b;
}

@media (max-width: 820px) {
    .issued-ticket-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .issued-ticket-row .status,
    .inline-ticket-download {
        width: 100%;
    }

    .ticket-summary-data,
    .ticket .ticket-summary-data {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 520px) {
    .ticket-summary-data,
    .ticket .ticket-summary-data {
        grid-template-columns: 1fr;
    }
}
