/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f6f9;
    color: #333;
    margin: 0;
    padding: 20px;
    text-align: center;
}

/* Receipt and Sales Containers */
.receipt-container, .sales-container {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: auto;
}

/* Company Info */
.company-info {
    font-size: 14px;
    color: #555;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
}

table, th, td {
    border: 1px solid #ddd;
}

th {
    background-color: #002D62;
    color: white;
    padding: 12px;
    text-transform: uppercase;
}

td {
    padding: 10px;
    text-align: center;
}

tr:nth-child(even) {
    background-color: #f2f2f2;
}

/* Buttons */
button, .btn {
    background-color: #002D62;
    color: white;
    padding: 10px 15px;
    margin: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    text-decoration: none;
}

button:hover, .btn:hover {
    background-color: #004B8D;
}

/* Forms */
form {
    margin-top: 20px;
}

input, select {
    width: 80%;
    padding: 10px;
    margin-top: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Footer */
footer {
    margin-top: 20px;
    font-size: 14px;
    color: #666;
}

/* Image Styling */
img {
    border-radius: 5px;
    border: 1px solid #ddd;
    max-width: 80px;
    max-height: 80px;
}

/* Links */
a {
    text-decoration: none;
    color: #002D62;
}

a:hover {
    text-decoration: underline;
}

/* Allow horizontal scrolling for the table container */
.table-container {
    overflow-x: auto;
  }
  
  /* Ensure the table takes the full width of its container */
  table {
    width: 100%;
    border-collapse: collapse;
  }
  
  /* Make images responsive */
  table img {
    max-width: 100%;
    height: auto;
  }
  
  /* Optional: adjust padding and font sizes on small screens */
  @media (max-width: 600px) {
    table {
      font-size: 14px;
    }
    table th, table td {
      padding: 8px;
    }
  }