/* Start custom CSS for shortcode, class: .elementor-element-2a396a4 *//* =========================================
   WooCommerce Order Tracking - Inline Layout
   ========================================= */

/* Main Form Container */
.woocommerce form.track_order {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 20px;
    align-items: end; /* Aligns the button with the input boxes, not the labels */
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

/* Center the introductory paragraph and make it span full width */
.woocommerce form.track_order > p:first-child {
    grid-column: 1 / -1;
    text-align: center;
    margin-bottom: 20px;
    color: #444444;
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Reset default WooCommerce paragraph margins inside the form */
.woocommerce form.track_order p.form-row {
    margin: 0;
    padding: 0;
    width: 100%;
}

/* Assign grid columns to standard WooCommerce fields */
.woocommerce form.track_order p.form-row-first {
    grid-column: 1 / 2;
}

.woocommerce form.track_order p.form-row-last {
    grid-column: 2 / 3;
}

.woocommerce form.track_order p.form-row:last-of-type {
    grid-column: 3 / 4;
}

/* Hide the empty clear div WooCommerce sometimes inserts */
.woocommerce form.track_order .clear {
    display: none;
}

/* Label Styling */
.woocommerce form.track_order label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #111111;
    font-size: 0.95rem;
}

/* Input Fields Styling */
.woocommerce form.track_order input.input-text {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #dddddd;
    border-radius: 4px;
    font-size: 1rem;
    background-color: #ffffff;
    color: #111111;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    height: 50px; /* Fixed height for perfect alignment */
}

.woocommerce form.track_order input.input-text:focus {
    outline: none;
    border-color: #111111;
    box-shadow: 0 0 0 2px rgba(17, 17, 17, 0.1);
}

/* Submit Button Styling */
.woocommerce form.track_order .button {
    background-color: #000000;
    color: #ffffff;
    padding: 0 35px;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease;
    height: 50px; /* Matches input height perfectly */
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.woocommerce form.track_order .button:hover {
    background-color: #333333;
}

/* =========================================
   Mobile Responsive Adjustments
   ========================================= */
@media (max-width: 768px) {
    .woocommerce form.track_order {
        grid-template-columns: 1fr; /* Stacks everything into a single column */
        gap: 15px;
        padding: 20px;
    }
    
    .woocommerce form.track_order p.form-row-first,
    .woocommerce form.track_order p.form-row-last,
    .woocommerce form.track_order p.form-row:last-of-type {
        grid-column: 1 / -1; /* Forces all elements to take up full width */
    }
    
    .woocommerce form.track_order .button {
        width: 100%;
        margin-top: 10px;
    }
}/* End custom CSS */