/* Styles for the Thank You page ticket display */
.les-thankyou-tickets {
    margin-top: 2em;
    padding-top: 2em;
    border-top: 2px solid #eee;
}

.les-thankyou-tickets h2 {
    margin-top: 0;
}

.les-ticket-item {
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #f9f9f9;
}

.les-ticket-item h3 {
    margin-top: 0;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.les-ticket-details {
    display: flex;
    align-items: center;
    gap: 20px;
}

.les-ticket-details img {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
}

.les-ticket-details div {
    font-size: 0.9em;
    line-height: 1.6;
}

.les-ticket-actions {
    margin-top: 1em;
}
.les-ticket-actions .button .dashicons {
    margin-right: 6px;
    vertical-align: text-bottom;
}



/* ============================= */

/* ============================= */
/* === Professional On-Screen Ticket === */
/* ============================= */

#les-printable-ticket {
    border: 1px solid #ddd;
    border-radius: 8px;
    margin: 1em 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    background: #fff;
    box-shadow: 0 3px 6px rgba(0,0,0,0.05);
}
.les-ticket-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    text-align: center;
}
.les-ticket-header h2 {
    margin: 0 0 5px 0;
    font-size: 1.8em;
}
.les-ticket-header p {
    margin: 0;
    font-size: 1.1em;
    color: #555;
}
.les-ticket-body {
    display: flex;
    padding: 20px;
    border-bottom: 2px dashed #ddd;
}
.les-ticket-main {
    flex-grow: 1;
}
.les-ticket-main .ticket-section {
    margin-bottom: 15px;
}
.les-ticket-main .ticket-label {
    display: block;
    font-size: 0.8em;
    font-weight: bold;
    text-transform: uppercase;
    color: #777;
    margin-bottom: 2px;
}
.les-ticket-main .ticket-value {
    font-size: 1.3em;
    font-weight: 500;
}
.les-ticket-main .ticket-seats-list {
    margin: 5px 0 0 0;
    padding-left: 20px;
    font-size: 1em;
}
.les-ticket-main .ticket-seats-list li {
    margin-bottom: 5px;
}
.les-ticket-qr {
    flex-shrink: 0;
    margin-left: 20px;
    text-align: center;
}
.les-ticket-qr img {
    width: 150px !important;
    height: 150px !important;
    display: block;
}
.les-ticket-qr p {
    font-size: 0.8em;
    margin-top: 5px;
    color: #777;
}
.les-ticket-footer {
    padding: 15px 20px;
    font-size: 0.8em;
    color: #777;
    background: #fcfcfc;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}
.les-ticket-main .ticket-seats-list .les-ticket-variation-info {
    
    margin-left: 10px;
    
    color: #555;
    font-weight: normal;
}
#les-print-only-container {
    display: none;
}
/* ==========================================================================
   Event Details Header (NEW)
   ========================================================================== */

/* The main container for the event title, date, and venue */
.les-event-details {
    width: 100%;
    flex-basis: 100%;
    padding: 15px 20px;
    margin-bottom: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #f9f9f9;
}

/* Event Title */
.les-event-details h2 {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 1.8em;
    font-weight: 600;
    color: #1d2327;
    line-height: 1.2;
}

/* Container for the meta info (date and venue) */
.les-event-meta {
    display: flex;
    flex-wrap: wrap; 
    gap: 8px 20px; 
    font-size: 1em;
    color: #50575e;
}

/* Individual meta items (date and venue spans) */
.les-event-meta > span { /* Use direct child selector for specificity */
    display: inline-flex;
    align-items: flex-start; /* Align icon to the TOP of the text block */
}

/* Dashicons used for date and location icons */
.les-event-meta .dashicons {
    margin-right: 8px;
    font-size: 1.2em;
    line-height: 1;
    color: #787c82;
    margin-top: 3px; /* Nudge icon down slightly for perfect visual alignment */
}

/* NEW: Wrapper for the venue name and address text */
.les-venue-text-wrapper {
    display: flex;
    flex-direction: column;
}

/* NEW: Style for just the main venue name */
.les-venue-name {
    font-weight: 600; /* Make the main name slightly bolder */
    color: #1d2327;
}

/* Styles for the extra venue details (address, phone, website) on the ticket AND shortcode */
.les-ticket-venue-detail {
    display: block; 
    font-size: 0.9em; /* Slightly smaller than the main text */
    color: #555;
    margin-top: 4px;
    font-weight: normal; 
    line-height: 1.4;
}

/* Make the venue website link look like a standard link */
.les-ticket-venue-detail a {
    color: #1a0dab;
    text-decoration: none;
}

.les-ticket-venue-detail a:hover {
    text-decoration: underline;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .les-event-details h2 {
        font-size: 1.5em;
    }

    .les-event-meta {
        flex-direction: column;
        align-items: flex-start; 
        gap: 12px;
    }
}