/* Resale page — inherits .ljpc-booking-form, .ljpc-field, .ljpc-submit-btn from shortcode-booking-form.css */
.ljpc-resale h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.ljpc-resale p {
    margin-bottom: 1rem;
}

/* Messages */
.ljpc-resale__message {
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 4px;
}

.ljpc-resale__message--success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.ljpc-resale__message--error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Active resale listings */
.ljpc-resale__active {
    margin-bottom: 2rem;
}

.ljpc-resale__active-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.ljpc-resale__active-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1em 1.25em;
    background: #f9f9fb;
    border: 1px solid #ededf0;
    border-radius: 6px;
}

.ljpc-resale__active-info {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.ljpc-resale__active-detail {
    font-size: 0.85em;
    color: #666;
}

.ljpc-resale__active-status {
    font-size: 0.75em;
    font-weight: 600;
    display: inline-block;
    width: fit-content;
    padding: 0.15em 0.5em;
    border-radius: 3px;
    margin-top: 0.25em;
}

.ljpc-resale__active-status--listed {
    background: #fff3cd;
    color: #856404;
}

.ljpc-resale__active-status--claimed {
    background: #cce5ff;
    color: #004085;
}

.ljpc-resale__cancel-btn {
    flex-shrink: 0;
    padding: 0.4em 1em;
    font-size: 0.85em;
    border: 1px solid #dc3545;
    background: #fff;
    color: #dc3545;
    border-radius: 4px;
    cursor: pointer;
}

.ljpc-resale__cancel-btn:hover {
    background: #dc3545;
    color: #fff;
}

.ljpc-resale__cancel-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Ticket cards */
.ljpc-resale__ticket-list {
    display: flex;
    flex-direction: column;
    gap: 0.75em;
    margin-bottom: 1.5em;
}

.ljpc-resale__ticket-card {
    display: flex;
    align-items: flex-start;
    gap: 0.75em;
    padding: 1em 1.25em;
    background: #f9f9fb;
    border: 1px solid #ededf0;
    border-radius: 6px;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
}

.ljpc-resale__ticket-card:hover {
    border-color: #1a0d91;
    background: #f0eeff;
}

.ljpc-resale__ticket-card:has(.ljpc-resale__ticket-checkbox:checked) {
    border-color: #1a0d91;
    background: #e8e6f8;
}

.ljpc-resale__ticket-checkbox {
    margin-top: 0.2em;
    width: 18px;
    height: 18px;
    accent-color: #1a0d91;
    flex-shrink: 0;
}

.ljpc-resale__ticket-info {
    display: flex;
    flex-direction: column;
    gap: 0.15em;
}

.ljpc-resale__ticket-name {
    font-size: 1em;
}

.ljpc-resale__ticket-detail {
    font-size: 0.85em;
    color: #666;
}

/* Fee summary */
.ljpc-resale__fee-summary {
    padding: 1em 1.25em;
    background: #f9f9fb;
    border: 1px solid #ededf0;
    border-radius: 6px;
    margin-bottom: 1.5em;
}

.ljpc-resale__fee-summary p {
    margin: 0 0 0.5em;
}

.ljpc-resale__fee-summary p:last-child {
    margin-bottom: 0;
}

.ljpc-resale__fee-explanation {
    font-size: 0.85em;
    color: #666;
    font-style: italic;
}

.ljpc-resale__fee-note {
    font-size: 0.85em;
    color: #555;
}
