
 /* Wrap table in a responsive container */
.table-responsive {
    width: 100%;
    overflow: hidden;
}

/* Ensure table takes full width */
table {
    width: 100%;
    border-collapse: collapse;
}

table.parcel-tracker-table {
    margin-bottom: 6%;
}

/* Table header styling */
table thead tr {
    background-color: #000;
    color: #fff;
}

table thead th {
    border: 1px solid #ccc;
}

/* Center align table body content */
table tbody td {
    text-align: center;
    padding: 8px;
    border: 1px solid #ddd;
    /* width: auto; */
}

/* Responsive Form Styling */
#parcel-tracker-form {
    display: flex;
    /* flex-wrap: wrap; */
    gap: 10px;
    margin-bottom: 5%;
    margin-top: 5%;
}

/* Input fields */
input[type="text"] {
    width: 90%;
    margin: auto 2% !important;
}
select[name="company_name"] {
    width: 100%;
    margin: auto 2% !important;
}

/* Submit button */
button[type="submit"] {
    background-color: #0F6BC3;
    color: #fff;
    border: none;
    cursor: pointer;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .table-responsive {
        overflow-x: auto;
        display: block;
    }

    table {
        display: block;
        width: 100%;
        overflow-x: auto;
        white-space: nowrap; /* Prevent table from breaking */
    }

    #parcel-tracker-form {
        display: block;
        text-align: center;
    }

    input[type="text"], select[name="company_name"] {
        width: 80% !important;
        margin: 5px auto !important;
        display: block;
    }
}
