@charset "utf-8";
/* ==========================================
   WESTERN JUBILEE SECURE TICKET CHECKOUT
   ========================================== */

.wj-payment-card {
    box-sizing: border-box;
    width: 100%;
    max-width: 560px;
    margin: 30px auto;
    padding: 28px;
    background: #fffdf8;
    color: #302923;
    border-top: 5px solid #84382b;
    border-radius: 5px;
    box-shadow: 0 4px 18px rgba(48, 41, 35, 0.12);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5;
}

.wj-payment-card *,
.wj-payment-card *::before,
.wj-payment-card *::after {
    box-sizing: border-box;
}

.wj-payment-card h1,
.wj-payment-card h2,
.wj-payment-card h3 {
    color: #84382b;
    margin-top: 0;
    line-height: 1.25;
}

.wj-payment-card h1 {
    margin-bottom: 10px;
    font-size: 1.8rem;
}

.wj-payment-card h2 {
    margin-bottom: 14px;
    font-size: 1.35rem;
}

.wj-payment-card p {
    margin: 0 0 16px;
}

.wj-checkout-subtitle {
    color: #655b52;
    margin-bottom: 24px;
}

/* Event and order summary */

.wj-order-summary {
    margin: 20px 0;
    padding: 18px;
    background: #f4eee5;
    border: 1px solid #e4d8ca;
    border-radius: 4px;
}

.wj-order-summary h2,
.wj-order-summary h3 {
    margin-bottom: 12px;
}

.wj-order-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin: 8px 0;
}

.wj-order-row span:last-child {
    text-align: right;
}

.wj-order-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #d8c8b8;
    font-size: 1.2rem;
    font-weight: 700;
    color: #84382b;
}

#order-total {
    font-size: 1.35rem;
    font-weight: 700;
    color: #84382b;
}

/* Form fields */

.wj-payment-card .wj-form-group {
    margin: 0 0 18px;
}

.wj-payment-card label {
    display: block;
    margin-bottom: 7px;
    color: #302923;
    font-weight: 700;
}

.wj-payment-card input[type="text"],
.wj-payment-card input[type="email"],
.wj-payment-card input[type="tel"],
.wj-payment-card input[type="number"],
.wj-payment-card select {
    display: block;
    width: 100%;
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid #c9bdb0;
    border-radius: 4px;
    background: #ffffff;
    color: #302923;
    font: inherit;
}

.wj-payment-card input:focus,
.wj-payment-card select:focus {
    outline: 2px solid #84382b;
    outline-offset: 2px;
    border-color: #84382b;
}

/* Ticket quantity selector */

.wj-ticket-quantity {
    margin: 18px 0;
}

.wj-ticket-quantity label {
    display: block;
    margin-bottom: 7px;
    font-weight: 700;
}

.wj-ticket-quantity select,
#ticket-quantity {
    width: 100%;
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid #c9bdb0;
    border-radius: 4px;
    background: #ffffff;
    color: #302923;
    font: inherit;
}

/* Square secure card fields */

#card-container {
    display: block;
    width: 100%;
    min-height: 50px;
    margin: 8px 0 18px;
    padding: 12px;
    background: #ffffff;
    border: 1px solid #c9bdb0;
    border-radius: 4px;
}

/* Square renders its secure inputs inside an iframe.
   Style the surrounding container rather than trying
   to override the secure fields themselves. */

#card-container:focus-within {
    outline: 2px solid #84382b;
    outline-offset: 2px;
}

/* Pay button */

#card-button {
    display: block;
    width: 100%;
    min-height: 52px;
    margin-top: 20px;
    padding: 13px 20px;
    border: none;
    border-radius: 4px;
    background: #84382b;
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.2s ease,
                opacity 0.2s ease;
}

#card-button:hover:not(:disabled) {
    background: #64291f;
}

#card-button:focus-visible {
    outline: 3px solid #302923;
    outline-offset: 3px;
}

#card-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

#pay-button-label {
    display: inline;
}

/* Status and validation messages */

#payment-message {
    margin: 14px 0;
    padding: 12px 14px;
    border-radius: 4px;
    font-size: 0.95rem;
    overflow-wrap: anywhere;
}

#payment-message:empty {
    display: none;
}

#payment-message.error,
#payment-message[data-type="error"] {
    color: #8b1e1e;
    background: #fbeaea;
    border: 1px solid #e7baba;
}

#payment-message.success,
#payment-message[data-type="success"] {
    color: #205b35;
    background: #eaf5ed;
    border: 1px solid #b8d9c1;
}

/* Secure payment reassurance */

.wj-payment-security {
    margin-top: 16px;
    color: #655b52;
    font-size: 0.85rem;
    text-align: center;
}

.wj-payment-security p {
    margin-bottom: 5px;
}

/* Links */

.wj-payment-card a {
    color: #84382b;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.wj-payment-card a:hover {
    color: #64291f;
}

/* Small screens */

@media (max-width: 600px) {
    .wj-payment-card {
        width: 100%;
        margin: 16px auto;
        padding: 20px 16px;
        border-radius: 0;
    }

    .wj-payment-card h1 {
        font-size: 1.55rem;
    }

    .wj-payment-card h2 {
        font-size: 1.2rem;
    }

    .wj-order-summary {
        padding: 14px;
    }

    .wj-order-row {
        gap: 10px;
    }

    #card-button {
        min-height: 54px;
        font-size: 1rem;
    }
}

@media (max-width: 360px) {
    .wj-payment-card {
        padding: 16px 12px;
    }

    .wj-order-summary {
        padding: 12px;
    }
}/* CSS Document */

