.elementor-958 .elementor-element.elementor-element-486c1f6{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--padding-top:50px;--padding-bottom:50px;--padding-left:50px;--padding-right:50px;}/* Start custom CSS *//* --- 1. ORDER DETAILS (SUMMARY) STYLING --- */

.tc-container {
    padding: 30px;
    background-color: #08090A; /* Assuming a dark background */
    border: 1px solid rgba(252, 248, 239, 0.1);
    border-radius: 8px;
    font-family: 'Hanken Grotesk', sans-serif;
    color: white;
    max-width: 900px; /* Increased max-width to accommodate the Tickets table */
    margin: 20px auto;
}

/* Style for the inner wrapper containing all detail lines */
#order_details {
    margin: 0 0 40px 0; /* Add bottom margin to separate summary from table */
    padding: 0;
}

/* Target all paragraphs within the section to remove default margins */
#order_details p {
    margin: 0;
    padding: 0;
}

/* Style for each individual order detail line */
#order_details label {
    /* Removing <br> tags will allow Flex to properly align elements */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0 !important;
    margin: 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
    font-size: 16px;
    line-height: 1.2;
}

/* Ensure Fees doesn't get a border if it follows Subtotal in the same P tag */
#order_details #order_fees {
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}
/* If Subtotal and Fees are the last two labels in the first <p>, remove the <p> bottom margin */
#order_details p:first-child {
    margin-bottom: 0;
}


/* Style the detail labels (Order, Date, Status, Subtotal, Fees) */
.order_details_title {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
}

/* --- HIGHLIGHT THE TOTAL --- */

#order_details #order_total {
    padding-bottom: 0;
    margin-top: 15px;
}

#order_details #order_total .order_details_title,
#order_details #order_total {
    font-size: 22px;
    font-weight: 700;
    color: #FCF8EF !important;
}


/* --- 2. TICKETS TABLE STYLING --- */

#order_details h2 {
    font-size: 30px;
    font-weight: 500;
    margin-bottom: 25px;
    border-bottom: 2px solid #FCF8EF;
    padding-bottom: 10px;
    width: 100%;
    line-height: 35px;
    letter-spacing: 0px;
}

table.order-details {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

/* Style table headers */
table.order-details th {
    background-color: #FCF8EF; /* Highlight background */
    color: #08090A; /* Dark text on light background */
    font-size: 16px;
    font-weight: 600;
    padding: 12px 15px;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: none;
}

/* Style table rows */
table.order-details tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background-color: transparent; /* Default background */
}

/* Alternating row color for readability */
table.order-details tr.alternate,
table.order-details tbody tr:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.05); /* Very subtle dark shade */
}

/* Style table data cells */
table.order-details td {
    padding: 15px;
    font-size: 15px;
    color: white;
    vertical-align: middle;
    border: none;
}

/* Style links (Event Name, Download Ticket) */
table.order-details td a {
    color: #FCF8EF; /* Use accent color for links */
    text-decoration: none;
    transition: color 0.2s;
}

table.order-details td a:hover {
    color: #ffffff; /* Brighter on hover */
    text-decoration: underline;
}

/* Ensure the "Ticket" column (Download link) is right-aligned */
table.order-details td[data-column="Ticket"] {
    text-align: right;
}

/* --- MOBILE STYLING (For better readability on small screens) --- */

@media (max-width: 600px) {
    table.order-details {
        display: block;
        width: 100%;
    }

    table.order-details thead {
        display: none; /* Hide original headers on mobile */
    }

    table.order-details tbody, table.order-details tr {
        display: block;
    }
    
    table.order-details tr {
        margin-bottom: 20px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 5px;
        padding: 10px;
    }

    table.order-details td {
        display: flex;
        justify-content: space-between;
        text-align: right;
        padding: 8px 10px;
        border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
    }
    
    /* Display the column name before the data on mobile */
    table.order-details td:before {
        content: attr(data-column);
        font-weight: 600;
        color: rgba(255, 255, 255, 0.7);
        text-align: left;
        padding-right: 10px;
        flex-grow: 1;
    }
    
    /* Remove the dashed line on the last data row */
    table.order-details td:last-child {
        border-bottom: none;
    }

    /* Override the mobile right-alignment for links */
    table.order-details td[data-column="Ticket"] {
        text-align: right;
    }
}

div#order_details p br {
    display: none;
}

table.order-details td a {
    font-size: 15px;
}/* End custom CSS */