/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Jul 08 2025 | 04:52:48 */
/* Target the main order details block to create the container */
    .woocommerce-order-details {
        background: linear-gradient(135deg, #f8fffe 0%, #f0f8f4 100%);
        border: 1px solid #e5f3e7;
        border-radius: 12px; /* Rounded corners for the whole block */
        padding: 30px; /* Padding for the container */
        margin-top: 2em;
        box-shadow: 0 4px 16px rgba(13, 59, 10, 0.06);
    }
    
    /* Remove default table styling to achieve a clean, custom look */
    .woocommerce-order-details .woocommerce-table--order-details {
        width: 100%;
        border: none;
        background: none;
        margin-bottom: 0;
    }

    .woocommerce-order-details .woocommerce-table--order-details th,
    .woocommerce-order-details .woocommerce-table--order-details td {
        border: none;
        padding: 0; /* Reset padding; we'll add it back specifically */
        background: transparent;
        box-shadow: none;
    }

    /* Hide the default table header ("Produkt", "Gesamt") */
    .woocommerce-order-details .woocommerce-table--order-details thead {
        display: none;
    }
    
    /* Add space between the "Buchungszeitraum" and the totals below it */
    .woocommerce-order-details .woocommerce-table--order-details tbody td {
        padding-bottom: 24px;
    }

    /*
    ==================================================================
    NEW: PRECISION STYLING FOR ORDER TOTALS (TFOOT) TO MATCH IMAGE
    ==================================================================
    
    
   /* Horizontally center the totals section slightly */
.woocommerce-order-details tfoot {
   
    padding: 0 4%;
    margin-top: 25px;
    padding-bottom: 35px;
}

.woocommerce-order-details tfoot th,
.woocommerce-order-details tfoot td {
    padding: 6px 0; /* Controls the vertical spacing between rows */
    vertical-align: middle; /* Aligns text vertically in the middle */
    font-size: 15px;
}

/* Style for the labels (Zwischensumme:, etc.) */
/* CHANGE THIS RULE */
.woocommerce-order-details tfoot th {
    text-align: left; /* <-- CHANGED FROM 'right' */
    font-weight: 500;
    color: #333;
    padding-right: 0; /* Remove the old padding */
}

/* AND CHANGE THIS RULE */
.woocommerce-order-details tfoot td {
    text-align: right; /* <-- CHANGED FROM 'left' */
    font-weight: 600;
    color: #0d3b0a;
}

/* --- SPECIAL STYLING FOR THE FINAL "Gesamt" (TOTAL) ROW --- */

/* Target the total row using its specific class for reliability */
.woocommerce-order-details tfoot tr.order_total th {
    color: #0d3b0a; /* Green color for the label */
    font-weight: 700;
    font-size: 1.3em; /* Make it larger */
    padding-top: 15px; /* Extra space above the final total */
}

.woocommerce-order-details tfoot tr.order_total td {
    font-weight: 700;
    font-size: 1.3em; /* Make it larger */
    padding-top: 15px;
    vertical-align: top; /* Align to the top to accommodate the tax line */
}

/* Style for the "includes tax" text to perfectly match the image */
.woocommerce-order-details tfoot .includes_tax {
    display: block; /* Puts it on a new line below the price */
    font-size: 0.6em; /* Makes it smaller relative to the total's font size */
    font-weight: 400; /* Regular weight */
    color: #666;
    margin-top: 4px;
    text-align: right; /* CHANGED: Align tax info with the right-aligned price */
}


