* { box-sizing: border-box; margin: 0; padding: 0; } body { font-family: Arial, sans-serif; line-height: 1.6; padding: 20px; background-color: #f5f5f5; } .container { max-width: 1200px; margin: 0 auto; background-color: white; padding: 20px; border-radius: 8px; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); } h1 { color: #333; margin-bottom: 20px; text-align: center; } h2 { color: #444; margin-bottom: 15px; } .section { margin-bottom: 30px; padding: 20px; background-color: #fff; border-radius: 4px; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); } .controls { margin-bottom: 15px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; } select, button { padding: 8px 12px; border: 1px solid #ddd; border-radius: 4px; background-color: white; } button { background-color: #007bff; color: white; border: none; cursor: pointer; transition: background-color 0.2s; } button:hover { background-color: #0056b3; } .orders-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 15px; } .order-card { padding: 15px; border: 1px solid #ddd; border-radius: 4px; background-color: white; } .order-card h3 { margin-bottom: 10px; color: #333; } .order-card p { margin-bottom: 5px; color: #666; } .label-options { margin-top: 10px; padding: 10px; background-color: #f8f9fa; border-radius: 4px; } @media (max-width: 768px) { .controls { flex-direction: column; align-items: stretch; } select, button { width: 100%; } } /* Transaction Page Styles */ .transaction-form { max-width: 800px; margin: 0 auto; } .transaction-form .form-group { margin-bottom: 1.5rem; } .transaction-form label { display: block; margin-bottom: 0.5rem; font-weight: 500; } .transaction-form .form-control { width: 100%; padding: 0.5rem; border: 1px solid #ddd; border-radius: 4px; } .transaction-form .btn-add { margin-left: 0.5rem; padding: 0.25rem 0.5rem; font-size: 0.875rem; } .transaction-form .items-section { margin-top: 2rem; padding: 1rem; border: 1px solid #ddd; border-radius: 4px; } .transaction-list { margin-top: 2rem; } .transaction-card { padding: 1rem; margin-bottom: 1rem; border: 1px solid #ddd; border-radius: 4px; background-color: white; } .transaction-card h3 { margin-bottom: 0.5rem; color: #333; } .transaction-card p { margin-bottom: 0.25rem; color: #666; } /* Modal Styles */ .modal-content { border-radius: 8px; } .modal-header { border-bottom: 1px solid #dee2e6; padding: 1rem; } .modal-body { padding: 1.5rem; } .modal-footer { border-top: 1px solid #dee2e6; padding: 1rem; } /* Dark Mode Support */ body.dark-mode { background-color: #1a1a1a; color: #ffffff; } body.dark-mode .container { background-color: #2d2d2d; } body.dark-mode .transaction-card { background-color: #2d2d2d; border-color: #404040; } body.dark-mode .transaction-card h3 { color: #ffffff; } body.dark-mode .transaction-card p { color: #b3b3b3; } body.dark-mode .modal-content { background-color: #2d2d2d; color: #ffffff; } body.dark-mode .modal-header, body.dark-mode .modal-footer { border-color: #404040; } body.dark-mode .form-control { background-color: #404040; border-color: #505050; color: #ffffff; } body.dark-mode .form-control:focus { background-color: #404040; border-color: #007bff; color: #ffffff; }