﻿/* Styles for wwwroot/css/view-order.css */

.order-details-container {
    padding: 2rem;
    color: #fff;
}

.order-details-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 2rem;
}

    .order-details-header h1 {
        flex-grow: 1;
        text-align: center;
        font-size: 2.5rem;
        font-weight: bold;
        margin: 0;
        /* Adjust to keep it centered even with the back button */
        padding-right: 100px; /* Width of the back button + margin */
    }

.back-btn {
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    min-width: 100px;
}

.order-details-body {
    max-width: 900px;
    margin: 0 auto;
}

.customer-info-section,
.order-info-section {
    margin-bottom: 2.5rem;
}

    .customer-info-section h2,
    .order-info-section h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
        border-bottom: 1px solid #444;
        padding-bottom: 0.5rem;
    }

    .customer-info-section p {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .order-info-section .table {
        width: 100%;
        border-collapse: collapse;
        background-color: #000;
        color: #fff;
        border: 1px solid #555;
        margin-bottom: 1rem;
    }

        .order-info-section .table th,
        .order-info-section .table td {
            border: 1px solid #555;
            padding: 0.75rem 1rem;
            text-align: left;
        }

        .order-info-section .table thead th {
            font-weight: bold;
            background-color: #1a1a1a;
        }

        /* For the empty rows in the mockup */
        .order-info-section .table tbody tr:first-child td {
            height: 40px;
        }

.order-total {
    text-align: left;
    font-size: 1.2rem;
}
