body {
    font-family: Arial, sans-serif;
    max-width: 600px;
    margin: 50px auto;
    padding: 20px;
    background-color: #f5f5f5;
}
.container {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
h1 {
    color: #25D366;
    text-align: center;
}
.form-group {
    margin-bottom: 20px;
}
label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}
input, textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
}
button {
    background-color: #25D366;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
}
button:hover {
    background-color: #128C7E;
}
.qr-container {
    text-align: center;
    margin: 20px 0;
}
.qr-code {
    max-width: 300px;
    border: 2px solid #25D366;
    border-radius: 10px;
}
.status {
    padding: 10px;
    border-radius: 5px;
    margin: 10px 0;
}
.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
.info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}
.hidden {
    display: none;
}
.sale-card {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
}
.sale-card.confirmed {
    border-left: 4px solid #28a745;
}
.sale-card.pending {
    border-left: 4px solid #ffc107;
}
.sale-card.rejected {
    border-left: 4px solid #dc3545;
}
.sale-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.sale-badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
}
.sale-badge.confirmed {
    background: #d4edda;
    color: #155724;
}
.sale-badge.pending {
    background: #fff3cd;
    color: #856404;
}
.sale-badge.rejected {
    background: #f8d7da;
    color: #721c24;
}
.sale-details {
    font-size: 14px;
    line-height: 1.6;
}
.sale-details strong {
    color: #495057;
}
.no-sales {
    text-align: center;
    color: #6c757d;
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 8px;
}
.product-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}
.product-table th,
.product-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #dee2e6;
}
.product-table th {
    background-color: #f8f9fa;
    font-weight: bold;
    color: #495057;
}
.product-table tr:hover {
    background-color: #f8f9fa;
}
.product-actions {
    display: flex;
    gap: 5px;
}
.btn-small {
    padding: 6px 12px;
    font-size: 14px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    color: white;
}
.btn-edit {
    background-color: #ffc107;
}
.btn-toggle {
    background-color: #17a2b8;
}
.btn-delete {
    background-color: #dc3545;
}
.btn-small:hover {
    opacity: 0.8;
}
.product-status {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
}
.product-status.active {
    background-color: #d4edda;
    color: #155724;
}
.product-status.inactive {
    background-color: #f8d7da;
    color: #721c24;
}
.product-form {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #dee2e6;
}
.no-products {
    text-align: center;
    color: #6c757d;
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-top: 15px;
}
.text-muted {
    color: #666;
}
.text-muted-small {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
}
.photo-preview {
    margin-top: 10px;
    display: none;
}
.photo-preview img {
    max-width: 200px;
    max-height: 200px;
    border-radius: 8px;
    border: 1px solid #ddd;
}
.button-group {
    display: flex;
    gap: 10px;
}
.button-group button {
    flex: 1;
}
.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.btn-secondary {
    background-color: #6c757d;
}
.btn-info {
    background-color: #17a2b8;
    padding: 8px 16px;
    font-size: 14px;
}
.margin-zero {
    margin: 0;
}

